Skip to content

Commit

Permalink
Remove certs volume from pod spec YAML
Browse files Browse the repository at this point in the history
  • Loading branch information
grkvlt committed Jan 8, 2017
1 parent 2f36f64 commit 1ab492a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions kubernetes/resources/kubernetes/kube-dns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -125,7 +122,4 @@ spec:
- name: kubeconfig
hostPath:
path: "/etc/kubernetes/kubeconfig"
- name: certs
hostPath:
path: "/etc/kubernetes/certs"
dnsPolicy: Default
6 changes: 0 additions & 6 deletions kubernetes/resources/kubernetes/kubernetes-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -52,9 +49,6 @@ spec:
- name: kubeconfig
hostPath:
path: "/etc/kubernetes/kubeconfig"
- name: certs
hostPath:
path: "/etc/kubernetes/certs"
---
kind: Service
apiVersion: v1
Expand Down

0 comments on commit 1ab492a

Please sign in to comment.