1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-02-21 19:48:53 +02:00

Use floating tag for helm images (#4236)

Co-authored-by: Pavel Busko <pavel.busko@sap.com>
This commit is contained in:
Philipp Stehle 2023-03-01 09:26:26 +01:00 committed by GitHub
parent bb0da58cf9
commit cc3bc76943
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -598,7 +598,7 @@ func helmExecuteMetadata() config.StepData {
},
},
Containers: []config.Container{
{Image: "dtzar/helm-kubectl:3.8.0", WorkingDir: "/config", Options: []config.Option{{Name: "-u", Value: "0"}}},
{Image: "dtzar/helm-kubectl:3", WorkingDir: "/config", Options: []config.Option{{Name: "-u", Value: "0"}}},
},
Outputs: config.StepOutputs{
Resources: []config.StepResources{

View File

@ -666,7 +666,7 @@ func kubernetesDeployMetadata() config.StepData {
},
},
Containers: []config.Container{
{Image: "dtzar/helm-kubectl:3.9.0", WorkingDir: "/config", Options: []config.Option{{Name: "-u", Value: "0"}}, Conditions: []config.Condition{{ConditionRef: "strings-equal", Params: []config.Param{{Name: "deployTool", Value: "helm3"}}}}},
{Image: "dtzar/helm-kubectl:3", WorkingDir: "/config", Options: []config.Option{{Name: "-u", Value: "0"}}, Conditions: []config.Condition{{ConditionRef: "strings-equal", Params: []config.Param{{Name: "deployTool", Value: "helm3"}}}}},
{Image: "dtzar/helm-kubectl:2.17.0", WorkingDir: "/config", Options: []config.Option{{Name: "-u", Value: "0"}}, Conditions: []config.Condition{{ConditionRef: "strings-equal", Params: []config.Param{{Name: "deployTool", Value: "helm"}}}}},
{Image: "dtzar/helm-kubectl:2.17.0", WorkingDir: "/config", Options: []config.Option{{Name: "-u", Value: "0"}}, Conditions: []config.Condition{{ConditionRef: "strings-equal", Params: []config.Param{{Name: "deployTool", Value: "kubectl"}}}}},
},

View File

@ -337,7 +337,7 @@ spec:
- STAGES
- STEPS
containers:
- image: dtzar/helm-kubectl:3.8.0
- image: dtzar/helm-kubectl:3
workingDir: /config
options:
- name: -u

View File

@ -522,7 +522,7 @@ spec:
- STAGES
- STEPS
containers:
- image: dtzar/helm-kubectl:3.9.0
- image: dtzar/helm-kubectl:3
workingDir: /config
options:
- name: -u