Skip to content

Commit 3ef987e

Browse files
committed
fix saving systems to secret
1 parent f534b80 commit 3ef987e

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

deployments/charts/atp3-python-runner/templates/configmap.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,5 @@ kind: ConfigMap
33
metadata:
44
name: {{ include "atp3-python-runner.fullname" . }}-cm
55
data:
6-
atpEnvgeneConfiguration: |
7-
{{ toJson .Values.ATP_ENVGENE_CONFIGURATION | nindent 4 }}
86
testParams: |
97
{{ toJson .Values.TEST_PARAMS | nindent 4 }}

deployments/charts/atp3-python-runner/templates/job.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ spec:
6969
value: "{{ .Values.MONITORING_ENABLED }}"
7070
- name: ATP_ENVGENE_CONFIGURATION
7171
valueFrom:
72-
configMapKeyRef:
73-
name: {{ include "atp3-python-runner.fullname" . }}-cm
72+
secretKeyRef:
73+
name: {{ include "atp3-python-runner.fullname" . }}-secret
7474
key: atpEnvgeneConfiguration
7575
- name: TEST_PARAMS
7676
valueFrom:

deployments/charts/atp3-python-runner/templates/secret.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ type: Opaque
66
data:
77
atpTestsGitToken: {{ default "" .Values.ATP_TESTS_GIT_TOKEN | b64enc }}
88
atpStorageUsername: {{ default "" .Values.ATP_STORAGE_USERNAME | b64enc }}
9-
atpStoragePassword: {{ default "" .Values.ATP_STORAGE_PASSWORD | b64enc }}
9+
atpStoragePassword: {{ default "" .Values.ATP_STORAGE_PASSWORD | b64enc }}
10+
atpEnvgeneConfiguration: {{ toJson .Values.ATP_ENVGENE_CONFIGURATION | b64enc }}

0 commit comments

Comments
 (0)