Skip to content

Commit

Permalink
feat: add support for pod labels (#19)
Browse files Browse the repository at this point in the history
Co-authored-by: Jon Ayers <jon@coder.com>
  • Loading branch information
ericpaulsen and sreya authored Feb 15, 2024
1 parent ec72729 commit d600173
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helm/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ spec:
metadata:
labels:
app.kubernetes.io/instance: {{ .Release.Name }}
{{- with .Values.labels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
serviceAccountName: {{ .Values.serviceAccount.name | quote }}
restartPolicy: Always
Expand Down
4 changes: 4 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@ serviceAccount:

# nodeSelector -- Node labels for constraining the coder-logstream pod to specific nodes.
nodeSelector: {}

# labels -- The pod labels for coder-logstream-kube. See:
# https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
labels: {}

0 comments on commit d600173

Please sign in to comment.