Skip to content

Commit

Permalink
helm: Remove deprecated tetragon.skipCRDCreation value
Browse files Browse the repository at this point in the history
[ upstream commit: 4697850 ]

The patch makes the following changes:
1. Remove deprecated "tetragon.skipCRDCreation" from the operator config map and set "false" as the static value in "skip-crd-creation"
2. Rename "tetragon.skipCRDCreation" to "tetragonOperator.skipCRDCreation" in the upgrade notes for Tetragon 1.2.0

Signed-off-by: Oleh Neichev <[email protected]>
  • Loading branch information
BonySmoke authored and lambdanis committed Sep 13, 2024
1 parent b3b06fb commit 9bb43fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contrib/upgrade-notes/v1.2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ tetragon:
- --retries
- "5"
```
* Deprecated `tetragon.skipCRDCreation` Helm value is removed. Use `crds.installMethod=none` instead.
* Deprecated `tetragonOperator.skipCRDCreation` Helm value is removed. Use `crds.installMethod=none` instead.

* `tetragon.ociHookSetup` Helm value is deprecated. Use `tetragon.rthooks` instead.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
{{- include "tetragon-operator.labels" . | nindent 4 }}
data:
{{- if eq .Values.crds.installMethod "operator" }}
skip-crd-creation: {{ .Values.tetragonOperator.skipCRDCreation | quote }}
skip-crd-creation: "false"
{{- else }}
skip-crd-creation: "true"
{{- end }}
Expand Down

0 comments on commit 9bb43fa

Please sign in to comment.