Skip to content
Merged
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
6 changes: 6 additions & 0 deletions templates/coderd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/name: {{ include "coder.serviceName" . }}
app.kubernetes.io/part-of: coder
app: {{ include "coder.serviceName" . }}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm maybe we should set some of these as well

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think Helm adds a bunch. Not a big deal, can always do it later!

coder.deployment: {{ include "coder.serviceName" . }}
name: {{ include "coder.serviceName" . }}
namespace: {{ .Release.Namespace | quote }}
Expand All @@ -22,6 +25,9 @@ spec:
template:
metadata:
labels:
app.kubernetes.io/name: {{ include "coder.serviceName" . }}
app.kubernetes.io/part-of: coder
app: {{ include "coder.serviceName" . }}
coder.deployment: {{ include "coder.serviceName" . }}
annotations:
{{- range $key, $value := fromYaml (include "movedValue" (dict "Values" .Values "Key" "services.annotations")) }}
Expand Down
4 changes: 4 additions & 0 deletions templates/timescale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ metadata:
name: timescale
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: timescale
app.kubernetes.io/part-of: coder
app: timescale
coder.deployment: timescale
spec:
Expand Down Expand Up @@ -34,6 +36,8 @@ spec:
template:
metadata:
labels:
app.kubernetes.io/name: timescale
app.kubernetes.io/part-of: coder
app: timescale
coder.deployment: timescale
annotations:
Expand Down