Add Cilium.EnablePolicy back into templates

This may have dropped out when we bumped Cilium to 1.6
It is possible to set this value in the cluster spec, but it isn't used anywhere
This commit is contained in:
Ole Markus With 2020-01-19 13:06:15 +01:00
parent e4f7842851
commit 5a5508aa37
4 changed files with 11 additions and 3 deletions

View File

@ -354,6 +354,10 @@ spec:
key: custom-cni-conf
name: cilium-config
optional: true
{{ with .Networking.Cilium.EnablePolicy }}
- name: CILIUM_ENABLE_POLICY
value: {{ . }}
{{ end }}
{{ with .Networking.Cilium }}
image: "docker.io/cilium/cilium:{{ .Version }}"
imagePullPolicy: IfNotPresent

View File

@ -354,6 +354,10 @@ spec:
key: custom-cni-conf
name: cilium-config
optional: true
{{ with .Networking.Cilium.EnablePolicy }}
- name: CILIUM_ENABLE_POLICY
value: {{ . }}
{{ end }}
{{ with .Networking.Cilium }}
image: "docker.io/cilium/cilium:{{ .Version }}"
imagePullPolicy: IfNotPresent

View File

@ -1162,7 +1162,7 @@ func (b *BootstrapChannelBuilder) buildAddons() *channelsapi.Addons {
if b.cluster.Spec.Networking.Cilium != nil {
key := "networking.cilium.io"
version := "1.6.4-kops.1"
version := "1.6.4-kops.2"
{
id := "k8s-1.7"

View File

@ -119,7 +119,7 @@ spec:
name: networking.cilium.io
selector:
role.kubernetes.io/networking: "1"
version: 1.6.4-kops.1
version: 1.6.4-kops.2
- id: k8s-1.12
kubernetesVersion: '>=1.12.0'
manifest: networking.cilium.io/k8s-1.12.yaml
@ -127,4 +127,4 @@ spec:
name: networking.cilium.io
selector:
role.kubernetes.io/networking: "1"
version: 1.6.4-kops.1
version: 1.6.4-kops.2