Fix network coherence & firewall
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adrien Reslinger 2021-02-16 00:47:08 +01:00
parent 8bbd3fa11c
commit 39c5ef5e82
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
5 changed files with 44 additions and 21 deletions

View file

@ -96,21 +96,17 @@ apiServer:
readOnly: false
pathType: DirectoryOrCreate
- name: "audit-policies"
hostPath: "/etc/kubernetes/policies"
mountPath: "/etc/kubernetes/policies"
hostPath: "/etc/kubernetes/policies/audit-policy.yaml"
mountPath: "/etc/kubernetes/policies/audit-policy.yaml"
readOnly: false
pathType: DirectoryOrCreate
pathType: File
{% if lb_kubemaster is defined %}
certSANs:
- "{{ lb_kubemaster }}"
{% endif %}
{% if kubernetes_network == "flannel" or kubernetes_network == "calico" %}
networking:
{% if kubernetes_network == "flannel" %}
podSubnet: "10.244.0.0/16"
{% elif kubernetes_network == "calico" %}
podSubnet: "192.168.0.0/16"
{% endif %}
podSubnet: "{{ kubernetes_pods_network }}"
{% endif %}
---
apiVersion: kubeproxy.config.k8s.io/v1alpha1