mirror of https://github.com/kubernetes/kops.git
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:
parent
e4f7842851
commit
5a5508aa37
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue