From 1ab492aa970c8ad621d55508e53ca30d4c57194f Mon Sep 17 00:00:00 2001 From: Andrew Donald Kennedy Date: Fri, 25 Nov 2016 22:21:53 +0000 Subject: [PATCH] Remove certs volume from pod spec YAML --- kubernetes/resources/kubernetes/kube-dns.yaml | 6 ------ kubernetes/resources/kubernetes/kubernetes-dashboard.yaml | 6 ------ 2 files changed, 12 deletions(-) diff --git a/kubernetes/resources/kubernetes/kube-dns.yaml b/kubernetes/resources/kubernetes/kube-dns.yaml index 3c41e1fe..484bfe55 100644 --- a/kubernetes/resources/kubernetes/kube-dns.yaml +++ b/kubernetes/resources/kubernetes/kube-dns.yaml @@ -76,9 +76,6 @@ spec: - mountPath: "/etc/kubernetes/kubeconfig" name: kubeconfig readOnly: true - - mountPath: "/etc/kubernetes/certs" - name: certs - readOnly: true args: - --domain=${config['template.substitutions']['dns_service_domain']}.local. - --dns-port=10053 @@ -125,7 +122,4 @@ spec: - name: kubeconfig hostPath: path: "/etc/kubernetes/kubeconfig" - - name: certs - hostPath: - path: "/etc/kubernetes/certs" dnsPolicy: Default diff --git a/kubernetes/resources/kubernetes/kubernetes-dashboard.yaml b/kubernetes/resources/kubernetes/kubernetes-dashboard.yaml index 9b5db6cf..5d7f9fcd 100644 --- a/kubernetes/resources/kubernetes/kubernetes-dashboard.yaml +++ b/kubernetes/resources/kubernetes/kubernetes-dashboard.yaml @@ -36,9 +36,6 @@ spec: - mountPath: "/etc/kubernetes/kubeconfig" name: kubeconfig readOnly: true - - mountPath: "/etc/kubernetes/certs" - name: certs - readOnly: true env: - name: KUBECONFIG value: "/etc/kubernetes/kubeconfig" @@ -52,9 +49,6 @@ spec: - name: kubeconfig hostPath: path: "/etc/kubernetes/kubeconfig" - - name: certs - hostPath: - path: "/etc/kubernetes/certs" --- kind: Service apiVersion: v1