mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-02-07 13:42:23 +02:00
kubernetesDeploy: add resourceRef (custom/localHelmChartPath) (#3977)
This commit is contained in:
parent
5b581efc31
commit
5e305eca40
@ -261,13 +261,18 @@ func kubernetesDeployMetadata() config.StepData {
|
|||||||
Default: os.Getenv("PIPER_appTemplate"),
|
Default: os.Getenv("PIPER_appTemplate"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "chartPath",
|
Name: "chartPath",
|
||||||
ResourceRef: []config.ResourceReference{},
|
ResourceRef: []config.ResourceReference{
|
||||||
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
|
{
|
||||||
Type: "string",
|
Name: "commonPipelineEnvironment",
|
||||||
Mandatory: false,
|
Param: "custom/localHelmChartPath",
|
||||||
Aliases: []config.Alias{{Name: "helmChartPath"}},
|
},
|
||||||
Default: os.Getenv("PIPER_chartPath"),
|
},
|
||||||
|
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
|
||||||
|
Type: "string",
|
||||||
|
Mandatory: false,
|
||||||
|
Aliases: []config.Alias{{Name: "helmChartPath"}},
|
||||||
|
Default: os.Getenv("PIPER_chartPath"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "containerRegistryPassword",
|
Name: "containerRegistryPassword",
|
||||||
|
@ -138,6 +138,9 @@ spec:
|
|||||||
- PARAMETERS
|
- PARAMETERS
|
||||||
- STAGES
|
- STAGES
|
||||||
- STEPS
|
- STEPS
|
||||||
|
resourceRef:
|
||||||
|
- name: commonPipelineEnvironment
|
||||||
|
param: custom/localHelmChartPath
|
||||||
- name: containerRegistryPassword
|
- name: containerRegistryPassword
|
||||||
description: Password for container registry access - typically provided by the CI/CD environment.
|
description: Password for container registry access - typically provided by the CI/CD environment.
|
||||||
type: string
|
type: string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user