From 7648d8718b4c9da2f7fab97d0a76b2be5b61ec33 Mon Sep 17 00:00:00 2001 From: Prateek Singh Date: Thu, 27 Jul 2023 15:34:12 +0530 Subject: [PATCH] Added flag in the default value Signed-off-by: Prateek Singh --- install/kubernetes/templates/_container_tetragon.tpl | 2 ++ install/kubernetes/values.yaml | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/install/kubernetes/templates/_container_tetragon.tpl b/install/kubernetes/templates/_container_tetragon.tpl index 15cebb8b96e..138205ea5a8 100644 --- a/install/kubernetes/templates/_container_tetragon.tpl +++ b/install/kubernetes/templates/_container_tetragon.tpl @@ -82,5 +82,7 @@ - name: {{ include "container.tetragon.name" . }}-operator image: "{{ if .Values.tetragonOperator.image.override }}{{ .Values.tetragonOperator.image.override }}{{ else }}{{ .Values.tetragonOperator.image.repository }}{{ .Values.tetragonOperator.image.suffix }}:{{ .Values.tetragonOperator.image.tag }}{{ end }}" imagePullPolicy: {{ .Values.imagePullPolicy }} + args: + - "--skip-tetragon-pod-crd={{ .Values.tetragonOperator.skipTetragonPodCRD }}" {{- end }} {{- end -}} diff --git a/install/kubernetes/values.yaml b/install/kubernetes/values.yaml index 4b137ab081f..ffb91bc8cf2 100644 --- a/install/kubernetes/values.yaml +++ b/install/kubernetes/values.yaml @@ -154,7 +154,7 @@ tetragonPod: image: override: ~ repository: quay.io/cilium/tetragon-operator - tag: v0.0.1 + tag: v0.8.3 tetragonOperator: # -- Enable the tetragon-operator component (required). enabled: true @@ -165,6 +165,7 @@ tetragonOperator: tag: v0.10.0 # tetragon-operator image-digest suffix: "" + skipTetragonPodCRD: false export: # "stdout". "" to disable. mode: "stdout"