Skip to content

Commit

Permalink
helm: Remove deprecated option containerRuntime.integration
Browse files Browse the repository at this point in the history
Relates: #24161
Signed-off-by: Tam Mach <tam.mach@cilium.io>
  • Loading branch information
sayboras committed Apr 13, 2024
1 parent 926adfb commit dafdba4
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 46 deletions.
8 changes: 0 additions & 8 deletions Documentation/helm-values.rst

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Documentation/network/kubernetes/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,7 @@ If you want to use CRIO, use the instructions below.
.. parsed-literal::
helm install cilium |CHART_RELEASE| \\
--namespace kube-system \\
--set containerRuntime.integration=crio
--namespace kube-system
Since CRI-O does not automatically detect that a new CNI plugin has been
installed, you will need to restart the CRI-O daemon for it to pick up the
Expand Down
3 changes: 1 addition & 2 deletions Documentation/network/kubernetes/kata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ Deploy Cilium release via Helm:
.. parsed-literal::
helm install cilium |CHART_RELEASE| \\
--namespace kube-system \\
--set containerRuntime.integration=containerd
--namespace kube-system
.. warning::

Expand Down
1 change: 1 addition & 0 deletions Documentation/operations/upgrade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ Helm Options
``enable-remote-node-identity=false`` make sure to update them.
* The clustermesh-apiserver ``podSecurityContext`` and ``securityContext`` settings now
default to drop all capabilities and run as non-root user.
* Deprecated Helm option ``containerRuntime.integration`` is removed. If you are using cri-o, please check :ref:`crio-instructions`.

Added Metrics
~~~~~~~~~~~~~
Expand Down
2 changes: 0 additions & 2 deletions install/kubernetes/cilium/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 4 additions & 8 deletions install/kubernetes/cilium/templates/cilium-agent/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,7 @@ spec:
- mountPath: /host/proc/sys/kernel
name: host-proc-sys-kernel
{{- end}}
{{- /* CRI-O already mounts the BPF filesystem */ -}}
{{- if and .Values.bpf.autoMount.enabled (not (eq .Values.containerRuntime.integration "crio")) }}
{{- if .Values.bpf.autoMount.enabled }}
- name: bpf-maps
mountPath: /sys/fs/bpf
{{- if .Values.securityContext.privileged }}
Expand Down Expand Up @@ -582,8 +581,7 @@ spec:
terminationMessagePolicy: FallbackToLogsOnError
securityContext:
privileged: true
{{- /* CRI-O already mounts the BPF filesystem */ -}}
{{- if and .Values.bpf.autoMount.enabled (not (eq .Values.containerRuntime.integration "crio")) }}
{{- if and .Values.bpf.autoMount.enabled }}
volumeMounts:
- name: bpf-maps
mountPath: /sys/fs/bpf
Expand Down Expand Up @@ -664,8 +662,7 @@ spec:
- ALL
{{- end}}
volumeMounts:
{{- /* CRI-O already mounts the BPF filesystem */ -}}
{{- if and .Values.bpf.autoMount.enabled (not (eq .Values.containerRuntime.integration "crio")) }}
{{- if .Values.bpf.autoMount.enabled}}
- name: bpf-maps
mountPath: /sys/fs/bpf
{{- end }}
Expand Down Expand Up @@ -791,8 +788,7 @@ spec:
hostPath:
path: {{ .Values.daemon.runPath }}
type: DirectoryOrCreate
{{- /* CRI-O already mounts the BPF filesystem */ -}}
{{- if and .Values.bpf.autoMount.enabled (not (eq .Values.containerRuntime.integration "crio")) }}
{{- if .Values.bpf.autoMount.enabled }}
# To keep state between restarts / upgrades for bpf maps
- name: bpf-maps
hostPath:
Expand Down
8 changes: 0 additions & 8 deletions install/kubernetes/cilium/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1346,14 +1346,6 @@
"conntrackGCMaxInterval": {
"type": "string"
},
"containerRuntime": {
"properties": {
"integration": {
"type": "string"
}
},
"type": "object"
},
"crdWaitTimeout": {
"type": "string"
},
Expand Down
8 changes: 0 additions & 8 deletions install/kubernetes/cilium/values.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions install/kubernetes/cilium/values.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -621,14 +621,6 @@ conntrackGCInterval: ""
# and has no effect when 'conntrackGCInterval' is set. This can be set to more frequently
# clean up unused identities created from ToFQDN policies.
conntrackGCMaxInterval: ""
# -- Configure container runtime specific integration.
# Deprecated in favor of bpf.autoMount.enabled. To be removed in 1.15.
containerRuntime:
# -- Enables specific integrations for container runtimes.
# Supported values:
# - crio
# - none
integration: none
# -- (string) Configure timeout in which Cilium will exit if CRDs are not available
# @default -- `"5m"`
crdWaitTimeout: ""
Expand Down

0 comments on commit dafdba4

Please sign in to comment.