[CORD-2978] Using multistructlog in xossh
Change-Id: I04351b89b75d72e75df7e0c049cf9bb8fe9e2f6b
diff --git a/xos-tools/xossh/templates/deployment.yaml b/xos-tools/xossh/templates/deployment.yaml
index 635e408..242e302 100644
--- a/xos-tools/xossh/templates/deployment.yaml
+++ b/xos-tools/xossh/templates/deployment.yaml
@@ -39,11 +39,11 @@
- name: {{ .Chart.Name }}
args:
- "-u"
- - "{{ .Values.serviceConfig.accessor.username }}"
+ - "{{ .Values.xosshConfig.accessor.username }}"
- "-p"
- - "{{ .Values.serviceConfig.accessor.password }}"
+ - "{{ .Values.xosshConfig.accessor.password }}"
- "-S"
- - "{{ .Values.serviceConfig.accessor.endpoint }}"
+ - "{{ .Values.xosshConfig.accessor.endpoint }}"
stdin: true
tty: true
image: "{{ .Values.pull_docker_registry }}{{ .Values.image.repository }}:{{ .Values.image.tag }}"
@@ -54,6 +54,9 @@
- name: certchain-volume
mountPath: /usr/local/share/ca-certificates/local_certs.crt
subPath: config/ca_cert_chain.pem
+ - name: xossh-config
+ mountPath: /opt/xos/config.yml
+ subPath: config.yml
volumes:
- name: certchain-volume
configMap:
@@ -61,6 +64,12 @@
items:
- key: chain
path: config/ca_cert_chain.pem
+ - name: xossh-config
+ configMap:
+ name: xossh
+ items:
+ - key: xosshConfig
+ path: config.yml
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}