mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-01-30 05:59:39 +02:00
feat(helmExecute): allow reading specific credentials from cpe (#3647)
This commit is contained in:
parent
a1e2d8e8f3
commit
a466b60aaf
@ -218,6 +218,11 @@ func helmExecuteMetadata() config.StepData {
|
||||
{
|
||||
Name: "targetRepositoryURL",
|
||||
ResourceRef: []config.ResourceReference{
|
||||
{
|
||||
Name: "commonPipelineEnvironment",
|
||||
Param: "custom/helmRepositoryURL",
|
||||
},
|
||||
|
||||
{
|
||||
Name: "commonPipelineEnvironment",
|
||||
Param: "custom/repositoryUrl",
|
||||
@ -241,6 +246,11 @@ func helmExecuteMetadata() config.StepData {
|
||||
{
|
||||
Name: "targetRepositoryUser",
|
||||
ResourceRef: []config.ResourceReference{
|
||||
{
|
||||
Name: "commonPipelineEnvironment",
|
||||
Param: "custom/helmRepositoryUsername",
|
||||
},
|
||||
|
||||
{
|
||||
Name: "commonPipelineEnvironment",
|
||||
Param: "custom/repositoryUsername",
|
||||
@ -255,6 +265,11 @@ func helmExecuteMetadata() config.StepData {
|
||||
{
|
||||
Name: "targetRepositoryPassword",
|
||||
ResourceRef: []config.ResourceReference{
|
||||
{
|
||||
Name: "commonPipelineEnvironment",
|
||||
Param: "custom/helmRepositoryPassword",
|
||||
},
|
||||
|
||||
{
|
||||
Name: "commonPipelineEnvironment",
|
||||
Param: "custom/repositoryPassword",
|
||||
|
@ -63,6 +63,8 @@ spec:
|
||||
- STAGES
|
||||
- STEPS
|
||||
resourceRef:
|
||||
- name: commonPipelineEnvironment
|
||||
param: custom/helmRepositoryURL
|
||||
- name: commonPipelineEnvironment
|
||||
param: custom/repositoryUrl
|
||||
- name: targetRepositoryName
|
||||
@ -85,6 +87,8 @@ spec:
|
||||
- STEPS
|
||||
secret: true
|
||||
resourceRef:
|
||||
- name: commonPipelineEnvironment
|
||||
param: custom/helmRepositoryUsername
|
||||
- name: commonPipelineEnvironment
|
||||
param: custom/repositoryUsername
|
||||
- name: targetRepositoryPassword
|
||||
@ -96,6 +100,8 @@ spec:
|
||||
- STEPS
|
||||
secret: true
|
||||
resourceRef:
|
||||
- name: commonPipelineEnvironment
|
||||
param: custom/helmRepositoryPassword
|
||||
- name: commonPipelineEnvironment
|
||||
param: custom/repositoryPassword
|
||||
- name: helmDeployWaitSeconds
|
||||
|
Loading…
x
Reference in New Issue
Block a user