Skip to content

Commit

Permalink
helm: Added extra labels for the Tetragon Operator Deployment and Pods
Browse files Browse the repository at this point in the history
Signed-off-by: Philip Schmid <philip.schmid@isovalent.com>
  • Loading branch information
PhilipSchmid committed Nov 30, 2023
1 parent 03e83f7 commit ae2a75f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions install/kubernetes/templates/operator_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ metadata:
{{- end }}
labels:
{{- include "tetragon-operator.labels" . | nindent 4 }}
{{- with .Values.tetragonOperator.extraLabels }}
{{- toYaml . | nindent 4 }}
{{- end }}
name: {{ .Release.Name }}-operator
namespace: {{ .Release.Namespace }}
spec:
Expand All @@ -22,6 +25,9 @@ spec:
{{- end }}
labels:
{{- include "tetragon-operator.labels" . | nindent 8 }}
{{- with .Values.tetragonOperator.extraPodLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
containers:
- name: {{ .Release.Name }}-operator
Expand Down
7 changes: 4 additions & 3 deletions install/kubernetes/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,10 @@ tetragonOperator:
annotations: {}
# -- Annotations for the Tetragon Operator Deployment Pods.
podAnnotations: {}
annotations: {}
# -- Annotations for the Tetragon Operator Deployment Pods
podAnnotations: {}
# -- Extra labels to be added on the Tetragon Operator Deployment.
extraLabels: {}
# -- Extra labels to be added on the Tetragon Operator Deployment Pods.
extraPodLabels: {}
# -- priorityClassName for the Tetragon Operator Deployment Pods.
priorityClassName: ""
# -- tetragon-operator service account.
Expand Down

0 comments on commit ae2a75f

Please sign in to comment.