Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mandatory labels to pods #226

Merged
merged 1 commit into from
Oct 18, 2023
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 infra/kube/helm/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,18 @@ Selector labels
{{- define "basegun.FrontSelectorLabels" -}}
app.kubernetes.io/name: {{ include "basegun.name" . }}-frontend
app.kubernetes.io/instance: {{ .Release.Name }}
app: Basegun
tier: frontend
env: {{ .Values.env }}
{{- end }}


{{- define "basegun.BackSelectorLabels" -}}
app.kubernetes.io/name: {{ include "basegun.name" . }}-backend
app.kubernetes.io/instance: {{ .Release.Name }}
app: Basegun
tier: backend
env: {{ .Values.env }}
{{- end }}

{{/*
Expand Down
1 change: 1 addition & 0 deletions infra/kube/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

nameOverride: ""
fullnameOverride: ""
env: dev
ingress:
enabled: true
className: ""
Expand Down