Skip to content

Commit

Permalink
Upgrade to cilium v1.12.2 (#2376)
Browse files Browse the repository at this point in the history
Signed-off-by: Waleed Malik <ahmedwaleedmalik@gmail.com>

Signed-off-by: Waleed Malik <ahmedwaleedmalik@gmail.com>
Co-authored-by: Waleed Malik <ahmedwaleedmalik@gmail.com>
  • Loading branch information
kubermatic-bot and ahmedwaleedmalik authored Sep 26, 2022
1 parent cbcaca7 commit fe29980
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
20 changes: 14 additions & 6 deletions addons/cni-cilium/cilium.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,10 @@ data:
cluster-name: default
peer-service: "hubble-peer.kube-system.svc.cluster.local:443"
listen-address: :4245
dial-timeout:
retry-timeout:
sort-buffer-len-max:
sort-buffer-drain-timeout:
dial-timeout:
retry-timeout:
sort-buffer-len-max:
sort-buffer-drain-timeout:
tls-client-cert-file: /var/lib/hubble-relay/tls/client.crt
tls-client-key-file: /var/lib/hubble-relay/tls/client.key
tls-hubble-server-ca-files: /var/lib/hubble-relay/tls/hubble-server-ca.crt
Expand Down Expand Up @@ -885,6 +885,7 @@ spec:
- SETUID
drop:
- ALL
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
# Unprivileged containers need to mount /proc/sys/net from the host
# to have write access
Expand Down Expand Up @@ -950,6 +951,7 @@ spec:
mountPath: /hostproc
- name: cni-path
mountPath: /hostbin
terminationMessagePolicy: FallbackToLogsOnError
securityContext:
seLinuxOptions:
level: 's0'
Expand Down Expand Up @@ -989,6 +991,7 @@ spec:
mountPath: /hostproc
- name: cni-path
mountPath: /hostbin
terminationMessagePolicy: FallbackToLogsOnError
securityContext:
seLinuxOptions:
level: 's0'
Expand Down Expand Up @@ -1017,6 +1020,7 @@ spec:
- /bin/bash
- -c
- --
terminationMessagePolicy: FallbackToLogsOnError
securityContext:
privileged: true
volumeMounts:
Expand Down Expand Up @@ -1047,6 +1051,7 @@ spec:
- name: KUBERNETES_SERVICE_PORT
value: "{{ .Config.APIEndpoint.Port }}"
{{ end }}
terminationMessagePolicy: FallbackToLogsOnError
securityContext:
seLinuxOptions:
level: 's0'
Expand Down Expand Up @@ -1256,6 +1261,7 @@ spec:
- name: cilium-config-path
mountPath: /tmp/cilium/config-map
readOnly: true
terminationMessagePolicy: FallbackToLogsOnError
hostNetwork: true
restartPolicy: Always
priorityClassName: system-cluster-critical
Expand Down Expand Up @@ -1328,8 +1334,9 @@ spec:
- name: tls
mountPath: /var/lib/hubble-relay/tls
readOnly: true
terminationMessagePolicy: FallbackToLogsOnError
restartPolicy: Always
priorityClassName:
priorityClassName:
serviceAccount: "hubble-relay"
serviceAccountName: "hubble-relay"
automountServiceAccountToken: false
Expand Down Expand Up @@ -1388,7 +1395,7 @@ spec:
fsGroup: 1001
runAsGroup: 1001
runAsUser: 1001
priorityClassName:
priorityClassName:
serviceAccount: "hubble-ui"
serviceAccountName: "hubble-ui"
containers:
Expand Down Expand Up @@ -1416,6 +1423,7 @@ spec:
- name: grpc
containerPort: 8090
volumeMounts:
terminationMessagePolicy: FallbackToLogsOnError
nodeSelector:
kubernetes.io/os: linux
volumes:
Expand Down
10 changes: 5 additions & 5 deletions pkg/templates/images/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,18 +370,18 @@ func optionalResources() map[Resource]map[string]string {
WeaveNetCNINPC: {"*": "docker.io/weaveworks/weave-npc:2.8.1"},

// Cilium
Cilium: {"*": "quay.io/cilium/cilium:v1.12.0@sha256:079baa4fa1b9fe638f96084f4e0297c84dd4fb215d29d2321dcbe54273f63ade"},
CiliumOperator: {"*": "quay.io/cilium/operator-generic:v1.12.0@sha256:bb2a42eda766e5d4a87ee8a5433f089db81b72dd04acf6b59fcbb445a95f9410"},
Cilium: {"*": "quay.io/cilium/cilium:v1.12.2@sha256:986f8b04cfdb35cf714701e58e35da0ee63da2b8a048ab596ccb49de58d5ba36"},
CiliumOperator: {"*": "quay.io/cilium/operator-generic:v1.12.2@sha256:00508f78dae5412161fa40ee30069c2802aef20f7bdd20e91423103ba8c0df6e"},

// Calico VXLAN
CalicoVXLANCNI: {"*": "quay.io/calico/cni:v3.23.3"},
CalicoVXLANController: {"*": "quay.io/calico/kube-controllers:v3.23.3"},
CalicoVXLANNode: {"*": "quay.io/calico/node:v3.23.3"},

// Hubble
HubbleRelay: {"*": "quay.io/cilium/hubble-relay:v1.12.0@sha256:ca8033ea8a3112d838f958862fa76c8d895e3c8d0f5590de849b91745af5ac4d"},
HubbleUI: {"*": "quay.io/cilium/hubble-ui:v0.9.0@sha256:0ef04e9a29212925da6bdfd0ba5b581765e41a01f1cc30563cef9b30b457fea0"},
HubbleUIBackend: {"*": "quay.io/cilium/hubble-ui-backend:v0.9.0@sha256:000df6b76719f607a9edefb9af94dfd1811a6f1b6a8a9c537cba90bf12df474b"},
HubbleRelay: {"*": "quay.io/cilium/hubble-relay:v1.12.2@sha256:6f3496c28f23542f2645d614c0a9e79e3b0ae2732080da794db41c33e4379e5c"},
HubbleUI: {"*": "quay.io/cilium/hubble-ui:v0.9.2@sha256:d3596efc94a41c6b772b9afe6fe47c17417658956e04c3e2a28d293f2670663e"},
HubbleUIBackend: {"*": "quay.io/cilium/hubble-ui-backend:v0.9.2@sha256:a3ac4d5b87889c9f7cc6323e86d3126b0d382933bd64f44382a92778b0cde5d7"},
CiliumCertGen: {"*": "quay.io/cilium/certgen:v0.1.8@sha256:4a456552a5f192992a6edcec2febb1c54870d665173a33dc7d876129b199ddbd"},

// Cluster-autoscaler addon
Expand Down

0 comments on commit fe29980

Please sign in to comment.