Browse Source

Merge pull request #594 from adidenko/fix-calico-policy-controller

Fix policy controller
pull/360/head
Bogdan Dobrelya 8 years ago
committed by GitHub
parent
commit
5821f9748a
2 changed files with 12 additions and 10 deletions
  1. 5
      roles/kubernetes-apps/ansible/defaults/main.yml
  2. 17
      roles/kubernetes-apps/ansible/templates/calico-policy-controller.yml.j2

5
roles/kubernetes-apps/ansible/defaults/main.yml

@ -9,4 +9,7 @@ kubedns_image_tag: "{{ kubedns_version }}"
kubednsmasq_image_repo: "gcr.io/google_containers/kube-dnsmasq-amd64"
kubednsmasq_image_tag: "{{ kubednsmasq_version }}"
exechealthz_image_repo: "gcr.io/google_containers/exechealthz-amd64"
exechealthz_image_tag: "{{ exechealthz_version }}"
exechealthz_image_tag: "{{ exechealthz_version }}"
# SSL
etcd_cert_dir: "/etc/ssl/etcd/ssl"

17
roles/kubernetes-apps/ansible/templates/calico-policy-controller.yml.j2

@ -44,12 +44,11 @@ spec:
# This removes the need for KubeDNS to resolve the Service.
- name: CONFIGURE_ETC_HOSTS
value: "true"
volumeMounts:
- mountPath: {{ etcd_cert_dir }}
name: etcd-certs
readOnly: true
volumes:
- hostPath:
path: {{ etcd_cert_dir }}
name: etcd-certs
volumeMounts:
- mountPath: {{ etcd_cert_dir }}
name: etcd-certs
readOnly: true
volumes:
- hostPath:
path: {{ etcd_cert_dir }}
name: etcd-certs
Loading…
Cancel
Save