Skip to content
Snippets Groups Projects
Commit 202246c9 authored by Andrea Michelotti's avatar Andrea Michelotti
Browse files

refactor epics main config map

parent de2a2c03
No related branches found
No related tags found
No related merge requests found
...@@ -51,10 +51,18 @@ spec: ...@@ -51,10 +51,18 @@ spec:
stdin: {{ .Values.image.stdinOpen }} stdin: {{ .Values.image.stdinOpen }}
tty: {{ .Values.image.tty }} tty: {{ .Values.image.tty }}
{{- if .Values.configCA.existingConfigMap}} {{- if .Values.epicsConfiguration.name }}
envFrom: envFrom:
- configMapRef: - configMapRef:
name: {{ .Values.configCA.existingConfigMap }} name: {{ .Values.epicsConfiguration.name }}
{{- end }}
env:
{{- if .Values.epicsConfiguration.gateway }}
- name: EPICS_CA_ADDR_LIST
value: {{ .Values.epicsConfiguration.gateway | quote }}
- name: EPICS_CA_AUTO_ADDR_LIST
value: "NO"
{{- end }} {{- end }}
ports: ports:
- name: http - name: http
......
...@@ -78,11 +78,6 @@ tolerations: [] ...@@ -78,11 +78,6 @@ tolerations: []
affinity: {} affinity: {}
configCA:
existingConfigMap: "" # name of existing configMap that set CA parameters
address_list: ""
max_array_bytes: "10000000"
dataVolume: dataVolume:
claim: ## an existing claim or empty will create a new one claim: ## an existing claim or empty will create a new one
size: 50Gi ## size of the claim size: 50Gi ## size of the claim
...@@ -94,4 +89,8 @@ gitRepoConfig: ...@@ -94,4 +89,8 @@ gitRepoConfig:
path: "." path: "."
exec: "" ## start script (if any) to execute exec: "" ## start script (if any) to execute
## in a python console from jupyter_server.auth import passwd; passwd() ## in a python console from jupyter_server.auth import passwd; passwd()
hashedpass: "argon2:$argon2id$v=19$m=10240,t=10,p=8$yZEhXIv+GjgLRKsPbRRCnA$81V1v2J9EQlYdcQ3uKQMzUrfrVQAcYXOOP++op6rtoo" hashedpass: "argon2:$argon2id$v=19$m=10240,t=10,p=8$yZEhXIv+GjgLRKsPbRRCnA$81V1v2J9EQlYdcQ3uKQMzUrfrVQAcYXOOP++op6rtoo"
\ No newline at end of file
epicsConfiguration:
name: ## load the epicsConfigurationMap
gateway: ## if defined EPICS_CA_ADDR_LIST is overridden
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment