Merge pull request #143 from vadorovsky/cilium-1.10.4

cilium: Update to 1.10.4
pull/145/head
Michal Rostecki 2021-09-09 00:57:30 +02:00 committed by GitHub
commit 8e4234f309
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 45 additions and 51 deletions

View File

@ -8,8 +8,8 @@
- {{- toYaml . | nindent 8 }} - {{- toYaml . | nindent 8 }}
- {{- end }} - {{- end }}
spec: spec:
serviceAccount: clustermesh-apiserver-generate-certs serviceAccount: {{ .Values.serviceAccounts.clustermeshcertgen.name | quote }}
serviceAccountName: clustermesh-apiserver-generate-certs serviceAccountName: {{ .Values.serviceAccounts.clustermeshcertgen.name | quote }}
containers: containers:
- name: certgen - name: certgen
- image: {{ .Values.certgen.image.repository }}:{{ .Values.certgen.image.tag }} - image: {{ .Values.certgen.image.repository }}:{{ .Values.certgen.image.tag }}

View File

@ -1,6 +1,6 @@
--- charts-original/templates/_helpers.tpl --- charts-original/templates/_helpers.tpl
+++ charts/templates/_helpers.tpl +++ charts/templates/_helpers.tpl
@@ -122,3 +122,11 @@ @@ -126,3 +126,11 @@
tls.crt: {{ $cert.Cert | b64enc }} tls.crt: {{ $cert.Cert | b64enc }}
tls.key: {{ $cert.Key | b64enc }} tls.key: {{ $cert.Key | b64enc }}
{{- end }} {{- end }}

View File

@ -8,8 +8,8 @@
- {{- toYaml . | nindent 8 }} - {{- toYaml . | nindent 8 }}
- {{- end }} - {{- end }}
spec: spec:
serviceAccount: hubble-generate-certs serviceAccount: {{ .Values.serviceAccounts.hubblecertgen.name | quote }}
serviceAccountName: hubble-generate-certs serviceAccountName: {{ .Values.serviceAccounts.hubblecertgen.name | quote }}
containers: containers:
- name: certgen - name: certgen
- image: {{ .Values.certgen.image.repository }}:{{ .Values.certgen.image.tag }} - image: {{ .Values.certgen.image.repository }}:{{ .Values.certgen.image.tag }}

View File

@ -1,6 +1,6 @@
--- charts-original/templates/cilium-agent-daemonset.yaml --- charts-original/templates/cilium-agent-daemonset.yaml
+++ charts/templates/cilium-agent-daemonset.yaml +++ charts/templates/cilium-agent-daemonset.yaml
@@ -56,9 +56,6 @@ @@ -75,9 +75,6 @@
{{- if .Values.keepDeprecatedLabels }} {{- if .Values.keepDeprecatedLabels }}
kubernetes.io/cluster-service: "true" kubernetes.io/cluster-service: "true"
{{- end }} {{- end }}
@ -10,7 +10,7 @@
spec: spec:
{{- if .Values.affinity }} {{- if .Values.affinity }}
affinity: affinity:
@@ -196,7 +193,7 @@ @@ -223,7 +220,7 @@
{{- with .Values.extraEnv }} {{- with .Values.extraEnv }}
{{ toYaml . | trim | indent 8 }} {{ toYaml . | trim | indent 8 }}
{{- end }} {{- end }}
@ -19,7 +19,7 @@
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- if .Values.cni.install }} {{- if .Values.cni.install }}
lifecycle: lifecycle:
@@ -314,7 +311,7 @@ @@ -358,7 +355,7 @@
{{- range $type := .Values.monitor.eventTypes }} {{- range $type := .Values.monitor.eventTypes }}
- --type={{ $type }} - --type={{ $type }}
{{- end }} {{- end }}
@ -28,7 +28,7 @@
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
volumeMounts: volumeMounts:
- mountPath: /var/run/cilium - mountPath: /var/run/cilium
@@ -334,8 +331,10 @@ @@ -406,8 +403,10 @@
{{- if and .Values.nodeinit.enabled (not (eq .Values.nodeinit.bootstrapFile "")) }} {{- if and .Values.nodeinit.enabled (not (eq .Values.nodeinit.bootstrapFile "")) }}
- name: wait-for-node-init - name: wait-for-node-init
command: ['sh', '-c', 'until stat {{ .Values.nodeinit.bootstrapFile }} > /dev/null 2>&1; do echo "Waiting on node-init to run..."; sleep 1; done'] command: ['sh', '-c', 'until stat {{ .Values.nodeinit.bootstrapFile }} > /dev/null 2>&1; do echo "Waiting on node-init to run..."; sleep 1; done']
@ -40,7 +40,7 @@
volumeMounts: volumeMounts:
- mountPath: {{ .Values.nodeinit.bootstrapFile }} - mountPath: {{ .Values.nodeinit.bootstrapFile }}
name: cilium-bootstrap-file name: cilium-bootstrap-file
@@ -372,7 +371,7 @@ @@ -438,7 +437,7 @@
{{- if .Values.extraEnv }} {{- if .Values.extraEnv }}
{{ toYaml .Values.extraEnv | indent 8 }} {{ toYaml .Values.extraEnv | indent 8 }}
{{- end }} {{- end }}

View File

@ -1,6 +1,6 @@
--- charts-original/templates/cilium-etcd-operator-deployment.yaml --- charts-original/templates/cilium-etcd-operator-deployment.yaml
+++ charts/templates/cilium-etcd-operator-deployment.yaml +++ charts/templates/cilium-etcd-operator-deployment.yaml
@@ -26,9 +26,6 @@ @@ -46,9 +46,6 @@
labels: labels:
io.cilium/app: etcd-operator io.cilium/app: etcd-operator
name: cilium-etcd-operator name: cilium-etcd-operator
@ -10,7 +10,7 @@
spec: spec:
{{- if .Values.etcd.affinity }} {{- if .Values.etcd.affinity }}
affinity: affinity:
@@ -67,7 +64,7 @@ @@ -90,7 +87,7 @@
value: "revision" value: "revision"
- name: CILIUM_ETCD_META_ETCD_AUTO_COMPACTION_RETENTION - name: CILIUM_ETCD_META_ETCD_AUTO_COMPACTION_RETENTION
value: "25000" value: "25000"

View File

@ -1,6 +1,6 @@
--- charts-original/templates/cilium-nodeinit-daemonset.yaml --- charts-original/templates/cilium-nodeinit-daemonset.yaml
+++ charts/templates/cilium-nodeinit-daemonset.yaml +++ charts/templates/cilium-nodeinit-daemonset.yaml
@@ -18,9 +18,6 @@ @@ -38,9 +38,6 @@
{{- end }} {{- end }}
labels: labels:
app: cilium-node-init app: cilium-node-init
@ -10,7 +10,7 @@
spec: spec:
{{- with .Values.tolerations }} {{- with .Values.tolerations }}
tolerations: tolerations:
@@ -37,7 +34,7 @@ @@ -57,7 +54,7 @@
{{- end }} {{- end }}
containers: containers:
- name: node-init - name: node-init

View File

@ -1,6 +1,6 @@
--- charts-original/templates/cilium-operator-deployment.yaml --- charts-original/templates/cilium-operator-deployment.yaml
+++ charts/templates/cilium-operator-deployment.yaml +++ charts/templates/cilium-operator-deployment.yaml
@@ -41,9 +41,6 @@ @@ -56,9 +56,6 @@
labels: labels:
io.cilium/app: operator io.cilium/app: operator
name: cilium-operator name: cilium-operator
@ -8,17 +8,20 @@
- {{- toYaml . | nindent 8 }} - {{- toYaml . | nindent 8 }}
-{{- end }} -{{- end }}
spec: spec:
{{- if or (ge .Capabilities.KubeVersion.Minor "14") (gt .Capabilities.KubeVersion.Major "1") }}
# In HA mode, cilium-operator pods must not be scheduled on the same # In HA mode, cilium-operator pods must not be scheduled on the same
@@ -139,11 +136,11 @@ # node as they will clash with each other.
@@ -171,13 +168,13 @@
value: {{ $value }} value: {{ $value }}
{{- end }} {{- end }}
{{- if .Values.eni }} {{- if .Values.eni.enabled }}
- image: "{{ .Values.operator.image.repository }}-aws{{ .Values.operator.image.suffix }}:{{ .Values.operator.image.tag }}{{ if .Values.operator.image.useDigest }}@{{ .Values.operator.image.awsDigest }}{{ end }}" - image: "{{ .Values.operator.image.repository }}-aws{{ .Values.operator.image.suffix }}:{{ .Values.operator.image.tag }}{{ if .Values.operator.image.useDigest }}@{{ .Values.operator.image.awsDigest }}{{ end }}"
+ image: {{ template "system_default_registry" . }}{{ .Values.operator.image.repository }}-aws:{{ .Values.operator.image.tag }} + image: {{ template "system_default_registry" . }}{{ .Values.operator.image.repository }}-aws:{{ .Values.operator.image.tag }}
{{- else if .Values.azure.enabled }} {{- else if .Values.azure.enabled }}
- image: "{{ .Values.operator.image.repository }}-azure{{ .Values.operator.image.suffix }}:{{ .Values.operator.image.tag }}{{ if .Values.operator.image.useDigest }}@{{ .Values.operator.image.azureDigest }}{{ end }}" - image: "{{ .Values.operator.image.repository }}-azure{{ .Values.operator.image.suffix }}:{{ .Values.operator.image.tag }}{{ if .Values.operator.image.useDigest }}@{{ .Values.operator.image.azureDigest }}{{ end }}"
+ image: {{ template "system_default_registry" . }}{{ .Values.operator.image.repository }}-azure:{{ .Values.operator.image.tag }} + image: {{ template "system_default_registry" . }}{{ .Values.operator.image.repository }}-azure:{{ .Values.operator.image.tag }}
{{- else if .Values.alibabacloud.enabled }}
- image: "{{ .Values.operator.image.repository }}-alibabacloud{{ .Values.operator.image.suffix }}:{{ .Values.operator.image.tag }}{{ if .Values.operator.image.useDigest }}@{{ .Values.operator.image.alibabacloudDigest }}{{ end }}"
+ image: {{ template "system_default_registry" . }}{{ .Values.operator.image.repository }}-alibabacloud:{{ .Values.operator.image.tag }}
{{- else }} {{- else }}
- image: "{{ .Values.operator.image.repository }}-generic{{ .Values.operator.image.suffix }}:{{ .Values.operator.image.tag }}{{ if .Values.operator.image.useDigest }}@{{ .Values.operator.image.genericDigest }}{{ end }}" - image: "{{ .Values.operator.image.repository }}-generic{{ .Values.operator.image.suffix }}:{{ .Values.operator.image.tag }}{{ if .Values.operator.image.useDigest }}@{{ .Values.operator.image.genericDigest }}{{ end }}"
+ image: {{ template "system_default_registry" . }}{{ .Values.operator.image.repository }}-generic:{{ .Values.operator.image.tag }} + image: {{ template "system_default_registry" . }}{{ .Values.operator.image.repository }}-generic:{{ .Values.operator.image.tag }}

View File

@ -10,8 +10,8 @@
spec: spec:
{{- with .Values.imagePullSecrets }} {{- with .Values.imagePullSecrets }}
imagePullSecrets: {{- toYaml . | nindent 8 }} imagePullSecrets: {{- toYaml . | nindent 8 }}
@@ -33,7 +30,7 @@ @@ -34,7 +31,7 @@
serviceAccount: clustermesh-apiserver serviceAccountName: {{ .Values.serviceAccounts.clustermeshApiserver.name | quote }}
initContainers: initContainers:
- name: etcd-init - name: etcd-init
- image: {{ .Values.clustermesh.apiserver.etcd.image.repository }}:{{ .Values.clustermesh.apiserver.etcd.image.tag }} - image: {{ .Values.clustermesh.apiserver.etcd.image.repository }}:{{ .Values.clustermesh.apiserver.etcd.image.tag }}
@ -19,7 +19,7 @@
imagePullPolicy: {{ .Values.clustermesh.apiserver.etcd.image.pullPolicy }} imagePullPolicy: {{ .Values.clustermesh.apiserver.etcd.image.pullPolicy }}
env: env:
- name: ETCDCTL_API - name: ETCDCTL_API
@@ -70,7 +67,7 @@ @@ -71,7 +68,7 @@
name: etcd-data-dir name: etcd-data-dir
containers: containers:
- name: etcd - name: etcd
@ -28,7 +28,7 @@
imagePullPolicy: {{ .Values.clustermesh.apiserver.etcd.image.pullPolicy }} imagePullPolicy: {{ .Values.clustermesh.apiserver.etcd.image.pullPolicy }}
env: env:
- name: ETCDCTL_API - name: ETCDCTL_API
@@ -99,7 +96,7 @@ @@ -100,7 +97,7 @@
- mountPath: /var/run/etcd - mountPath: /var/run/etcd
name: etcd-data-dir name: etcd-data-dir
- name: "apiserver" - name: "apiserver"

View File

@ -10,7 +10,7 @@
spec: spec:
{{- if .Values.hubble.ui.securityContext.enabled }} {{- if .Values.hubble.ui.securityContext.enabled }}
securityContext: securityContext:
@@ -43,7 +40,7 @@ @@ -47,7 +44,7 @@
{{- end }} {{- end }}
containers: containers:
- name: frontend - name: frontend
@ -19,7 +19,7 @@
imagePullPolicy: {{ .Values.hubble.ui.frontend.image.pullPolicy }} imagePullPolicy: {{ .Values.hubble.ui.frontend.image.pullPolicy }}
ports: ports:
- containerPort: 8080 - containerPort: 8080
@@ -51,7 +48,7 @@ @@ -55,7 +52,7 @@
resources: resources:
{{- toYaml .Values.hubble.ui.frontend.resources | trim | nindent 12 }} {{- toYaml .Values.hubble.ui.frontend.resources | trim | nindent 12 }}
- name: backend - name: backend
@ -28,7 +28,7 @@
imagePullPolicy: {{ .Values.hubble.ui.backend.image.pullPolicy }} imagePullPolicy: {{ .Values.hubble.ui.backend.image.pullPolicy }}
env: env:
- name: EVENTS_SERVER_PORT - name: EVENTS_SERVER_PORT
@@ -64,7 +61,7 @@ @@ -68,7 +65,7 @@
resources: resources:
{{- toYaml .Values.hubble.ui.backend.resources | trim | nindent 12 }} {{- toYaml .Values.hubble.ui.backend.resources | trim | nindent 12 }}
- name: proxy - name: proxy

View File

@ -1,6 +1,6 @@
--- charts-original/values.yaml --- charts-original/values.yaml
+++ charts/values.yaml +++ charts/values.yaml
@@ -564,7 +564,8 @@ @@ -658,7 +658,8 @@
# -- Node labels for pod assignment # -- Node labels for pod assignment
# ref: https://kubernetes.io/docs/user-guide/node-selection/ # ref: https://kubernetes.io/docs/user-guide/node-selection/
@ -10,7 +10,7 @@
# -- Annotations to be added to hubble-relay pods # -- Annotations to be added to hubble-relay pods
podAnnotations: {} podAnnotations: {}
@@ -690,7 +691,8 @@ @@ -789,7 +790,8 @@
# -- Node labels for pod assignment # -- Node labels for pod assignment
# ref: https://kubernetes.io/docs/user-guide/node-selection/ # ref: https://kubernetes.io/docs/user-guide/node-selection/
@ -20,17 +20,17 @@
# -- Node tolerations for pod assignment on nodes with taints # -- Node tolerations for pod assignment on nodes with taints
# ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
@@ -1006,7 +1008,8 @@ @@ -1145,7 +1147,8 @@
# -- Node labels for cilium-etcd-operator pod assignment # -- Node labels for cilium-etcd-operator pod assignment
# ref: https://kubernetes.io/docs/user-guide/node-selection/ # ref: https://kubernetes.io/docs/user-guide/node-selection/
#
- nodeSelector: {} - nodeSelector: {}
+ nodeSelector: + nodeSelector:
+ kubernetes.io/os: linux + kubernetes.io/os: linux
# -- Annotations to be added to cilium-etcd-operator pods # -- Annotations to be added to cilium-etcd-operator pods
podAnnotations: {} podAnnotations: {}
@@ -1151,7 +1154,8 @@ @@ -1288,7 +1291,8 @@
# -- Node labels for cilium-operator pod assignment # -- Node labels for cilium-operator pod assignment
# ref: https://kubernetes.io/docs/user-guide/node-selection/ # ref: https://kubernetes.io/docs/user-guide/node-selection/
# #
@ -40,7 +40,7 @@
# -- Annotations to be added to cilium-operator pods # -- Annotations to be added to cilium-operator pods
podAnnotations: {} podAnnotations: {}
@@ -1246,7 +1250,8 @@ @@ -1394,7 +1398,8 @@
# -- Node labels for nodeinit pod assignment # -- Node labels for nodeinit pod assignment
# ref: https://kubernetes.io/docs/user-guide/node-selection/ # ref: https://kubernetes.io/docs/user-guide/node-selection/
# #
@ -48,18 +48,9 @@
+ nodeSelector: + nodeSelector:
+ kubernetes.io/os: linux + kubernetes.io/os: linux
# -- Annotations to be added to node-init pods # -- Annotations to be added to node-init pods.
podAnnotations: {} podAnnotations: {}
@@ -1325,6 +1330,8 @@ @@ -1488,7 +1493,8 @@
- effect: NoSchedule
key: node-role.kubernetes.io/master
- effect: NoSchedule
+ key: node-role.kubernetes.io/control-plane
+ - effect: NoSchedule
key: node.cloudprovider.kubernetes.io/uninitialized
value: "true"
- key: CriticalAddonsOnly
@@ -1337,7 +1344,8 @@
# -- Node labels for preflight pod assignment # -- Node labels for preflight pod assignment
# ref: https://kubernetes.io/docs/user-guide/node-selection/ # ref: https://kubernetes.io/docs/user-guide/node-selection/
# #
@ -69,7 +60,7 @@
# -- Annotations to be added to preflight pods # -- Annotations to be added to preflight pods
podAnnotations: {} podAnnotations: {}
@@ -1424,7 +1432,8 @@ @@ -1576,7 +1582,8 @@
# -- Node labels for pod assignment # -- Node labels for pod assignment
# ref: https://kubernetes.io/docs/user-guide/node-selection/ # ref: https://kubernetes.io/docs/user-guide/node-selection/

View File

@ -1,5 +1,5 @@
url: https://helm.cilium.io/cilium-1.9.8.tgz url: https://helm.cilium.io/cilium-1.10.4.tgz
packageVersion: 08 packageVersion: 01
releaseCandidateVersion: 00 releaseCandidateVersion: 00
# This package is meant to be consumed as a subchart of another package, # This package is meant to be consumed as a subchart of another package,
# not directly. # not directly.

View File

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
name: rke2-cilium name: rke2-cilium
description: eBPF-based Networking, Security, and Observability description: eBPF-based Networking, Security, and Observability
version: 1.9.8 version: 1.10.4
kubeVersion: '>= 1.12.0-0' kubeVersion: '>= 1.12.0-0'
home: https://cilium.io/ home: https://cilium.io/
keywords: keywords:

View File

@ -6,11 +6,11 @@ cilium:
imagePullSecrets: [] imagePullSecrets: []
image: image:
repository: rancher/mirrored-cilium-cilium repository: rancher/mirrored-cilium-cilium
tag: v1.9.8 tag: v1.10.4
operator: operator:
image: image:
repository: rancher/mirrored-cilium-operator repository: rancher/mirrored-cilium-operator
tag: v1.9.8 tag: v1.10.4
nodeinit: nodeinit:
image: image:
repository: rancher/mirrored-cilium-startup-script repository: rancher/mirrored-cilium-startup-script
@ -20,7 +20,7 @@ cilium:
enabled: false enabled: false
image: image:
repository: rancher/mirrored-cilium-cilium repository: rancher/mirrored-cilium-cilium
tag: v1.9.8 tag: v1.10.4
# #
# Enable Azure integration. # Enable Azure integration.
@ -50,7 +50,7 @@ cilium:
#egressMasqueradeInterfaces: eth0 #egressMasqueradeInterfaces: eth0
ipv6: ipv6:
# -- Enable dual stack # -- Enable dual stack
enabled: false enabled: false
global: global:

View File

@ -1,3 +1,3 @@
url: local url: local
packageVersion: 09 packageVersion: 01
releaseCandidateVersion: 00 releaseCandidateVersion: 00