Skip to content

Commit

Permalink
feat(base-cluster/tetragon): don't set image if value empty
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinWolff committed Aug 1, 2024
1 parent 29982d6 commit 9d56467
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/base-cluster/templates/tetragon/tetragon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ spec:
namespace: monitoring
{{- end }}
values:
{{- if .Values.global.imageRegistry }}
export:
stdout:
image:
repository: {{ .Values.global.imageRegistry }}
{{- end }}
securityContext:
capabilities:
drop:
Expand All @@ -31,8 +33,10 @@ spec:
tetragonOperator:
enabled: false
tetragon:
{{- if .Values.global.imageRegistry }}
image:
repository: {{ .Values.global.imageRegistry }}
{{- end }}
enableProcessCred: true
enableProcessNs: true
{{- if .Values.monitoring.prometheus.enabled }}
Expand Down

0 comments on commit 9d56467

Please sign in to comment.