File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
deploy-templates/templates/external-secrets Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ {{- if and .Values.externalSecrets.enabled .Values.externalSecrets.manageEDPInstallSecrets }}
2
+ {{- $secretStore := include "edp-install.secretStoreName" . }}
3
+ {{- $awsSecretName := .Values.externalSecrets.manageEDPInstallSecretsName }}
4
+ apiVersion : external-secrets.io/v1beta1
5
+ kind : ExternalSecret
6
+ metadata :
7
+ name : ci-awx
8
+ spec :
9
+ target :
10
+ template :
11
+ metadata :
12
+ labels :
13
+ app.edp.epam.com/secret-type : awx
14
+ refreshInterval : 1h
15
+ secretStoreRef :
16
+ kind : SecretStore
17
+ name : {{ $secretStore }}
18
+ data :
19
+ - secretKey : username
20
+ remoteRef :
21
+ key : {{ $awsSecretName }}
22
+ property : ci-awx.username
23
+ - secretKey : password
24
+ remoteRef :
25
+ key : {{ $awsSecretName }}
26
+ property : ci-awx.password
27
+ - secretKey : url
28
+ remoteRef :
29
+ key : {{ $awsSecretName }}
30
+ property : ci-awx.url
31
+ {{- end }}
You can’t perform that action at this time.
0 commit comments