diff --git a/addons/cni-cilium/cilium.yaml b/addons/cni-cilium/cilium.yaml index 5c694c1d9..d4b2c399c 100644 --- a/addons/cni-cilium/cilium.yaml +++ b/addons/cni-cilium/cilium.yaml @@ -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 @@ -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 @@ -950,6 +951,7 @@ spec: mountPath: /hostproc - name: cni-path mountPath: /hostbin + terminationMessagePolicy: FallbackToLogsOnError securityContext: seLinuxOptions: level: 's0' @@ -989,6 +991,7 @@ spec: mountPath: /hostproc - name: cni-path mountPath: /hostbin + terminationMessagePolicy: FallbackToLogsOnError securityContext: seLinuxOptions: level: 's0' @@ -1017,6 +1020,7 @@ spec: - /bin/bash - -c - -- + terminationMessagePolicy: FallbackToLogsOnError securityContext: privileged: true volumeMounts: @@ -1047,6 +1051,7 @@ spec: - name: KUBERNETES_SERVICE_PORT value: "{{ .Config.APIEndpoint.Port }}" {{ end }} + terminationMessagePolicy: FallbackToLogsOnError securityContext: seLinuxOptions: level: 's0' @@ -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 @@ -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 @@ -1388,7 +1395,7 @@ spec: fsGroup: 1001 runAsGroup: 1001 runAsUser: 1001 - priorityClassName: + priorityClassName: serviceAccount: "hubble-ui" serviceAccountName: "hubble-ui" containers: @@ -1416,6 +1423,7 @@ spec: - name: grpc containerPort: 8090 volumeMounts: + terminationMessagePolicy: FallbackToLogsOnError nodeSelector: kubernetes.io/os: linux volumes: diff --git a/pkg/templates/images/images.go b/pkg/templates/images/images.go index 1c239e786..550165b1a 100644 --- a/pkg/templates/images/images.go +++ b/pkg/templates/images/images.go @@ -370,8 +370,8 @@ 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"}, @@ -379,9 +379,9 @@ func optionalResources() map[Resource]map[string]string { 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