File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,6 +138,14 @@ spec:
138138 - name : CODER_NAMESPACES
139139 value : {{ join "," .Values.namespaces }}
140140 {{- end }}
141+ {{- if .Values.fieldSelector }}
142+ - name : CODER_FIELD_SELECTOR
143+ value : {{ .Values.fieldSelector | quote }}
144+ {{- end }}
145+ {{- if .Values.labelSelector }}
146+ - name : CODER_LABEL_SELECTOR
147+ value : {{ .Values.labelSelector | quote }}
148+ {{- end }}
141149 {{- if .Values.image.sslCertFile }}
142150 - name : SSL_CERT_FILE
143151 value : {{ .Values.image.sslCertFile }}
Original file line number Diff line number Diff line change 55# If unspecified or empty it will watch all namespaces.
66namespaces : []
77
8+ # fieldSelector -- Kubernetes field selector for filtering pods.
9+ # Use this filter instead of .values.namespaces
10+ fieldSelector : " "
11+
12+ # labelSelector -- Kubernetes label selector for filtering pods
13+ # Use this filter instead of .values.namespaces
14+ labelSelector : " "
15+
816# volumes -- A list of extra volumes to add to the coder-logstream pod.
917volumes :
1018 # emptyDir: {}
You can’t perform that action at this time.
0 commit comments