From 4b7026e95b93f2077f18d0681d55bbac022b5396 Mon Sep 17 00:00:00 2001 From: Keren Joseph Date: Tue, 12 Sep 2017 10:13:15 +0300 Subject: Revert "moving certs and keys to k8s secrets" This reverts commit 59ffd500ea34c201fbb3edc39e64655fa8381be0. Tested locally and does not work. DmaaP fails to come up causing many other pods to crash loop. failed to start container "dmaap": Error response from daemon: {"message":"invalid header field value "oci runtime error: container_linux.go:247:starting container process caused "process_linux.go:359: container init caused "rootfs_linux.go:53: mounting "/var/lib/kubelet/pods/9ae222e0-98a9-11e7-badd-02cfc855c3b9 /volumes/kubernetes.io~secret/mykey" to rootfs "/var/lib/docker/aufs/mnt /b92c56185f3371cb1f091679780d40797dd2c6124cd00cb8fe68da2b247363a8" at "/var/lib/docker/aufs/mnt/.../appl/dmaapMR1/etc/keyfile" caused "not a directory"""n""} Issue-ID: OOM-293 Change-Id: I348ffa14718bd6e89e99f2859cf6612c10370559 Signed-off-by: Mandeep Khinda --- kubernetes/mso/templates/mso-deployment.yaml | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'kubernetes/mso') diff --git a/kubernetes/mso/templates/mso-deployment.yaml b/kubernetes/mso/templates/mso-deployment.yaml index 9414990201..0f3034f4cc 100644 --- a/kubernetes/mso/templates/mso-deployment.yaml +++ b/kubernetes/mso/templates/mso-deployment.yaml @@ -49,10 +49,6 @@ spec: volumeMounts: - mountPath: /shared name: mso - - mountPath: /shared/aai.crt - name: mso-aai-crt - - mountPath: /shared/encryption.key - name: mso-key - mountPath: /docker-files name: mso-docker-files env: @@ -76,11 +72,5 @@ spec: - name: mso-docker-files hostPath: path: /dockerdata-nfs/{{ .Values.nsPrefix }}/mso/docker-files - - name: mso-aai-crt - secret: - secretName: secret-{{ .Values.nsPrefix }}-mso - - name: mso-key - secret: - secretName: secret-{{ .Values.nsPrefix }}-mso imagePullSecrets: - name: "{{ .Values.nsPrefix }}-docker-registry-key" -- cgit 1.2.3-korg