fix(chart): #873 operator watch namespace (#899)

This commit is contained in:
Luigi Operoso 2023-09-05 11:56:56 +02:00 committed by GitHub
parent 01a3990d66
commit 1b6e944ae6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -55,7 +55,13 @@ spec:
periodSeconds: 10
env:
- name: WATCH_NAMESPACE
{{- if .Values.jenkins.enabled }}
value: {{ .Values.jenkins.namespace }}
{{- else }}
valueFrom:
fieldRef:
fieldPath: metadata.namespace
{{- end }}
- name: POD_NAME
valueFrom:
fieldRef: