Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions helm/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,14 @@ spec:
- name: CODER_NAMESPACES
value: {{ join "," .Values.namespaces }}
{{- end }}
{{- if .Values.fieldSelector }}
- name: CODER_FIELD_SELECTOR
value: {{ .Values.fieldSelector | quote }}
{{- end }}
{{- if .Values.labelSelector }}
- name: CODER_LABEL_SELECTOR
value: {{ .Values.labelSelector | quote }}
{{- end }}
{{- if .Values.image.sslCertFile }}
- name: SSL_CERT_FILE
value: {{ .Values.image.sslCertFile }}
Expand Down
8 changes: 8 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ url: ""
# If unspecified or empty it will watch all namespaces.
namespaces: []

# fieldSelector -- Kubernetes field selector for filtering pods.
# Use this filter instead of .values.namespaces
fieldSelector: ""

# labelSelector -- Kubernetes label selector for filtering pods
# Use this filter instead of .values.namespaces
labelSelector: ""

# volumes -- A list of extra volumes to add to the coder-logstream pod.
volumes:
# emptyDir: {}
Expand Down