Skip to content

Commit

Permalink
app label is now default for pod
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasthuen committed Feb 14, 2024
1 parent 1eef994 commit 33c98b9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/svai/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.5
version: 0.1.6

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 2 additions & 0 deletions stable/svai/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
app: {{ $name }}
{{- include "svai.selectorLabels" . | nindent 8 }}
{{- toYaml .Values.selectorLabels | nindent 8 }}
spec:
serviceAccountName: {{ include "svai.serviceAccountName" . }}
containers:
Expand Down
3 changes: 2 additions & 1 deletion stable/svai/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ autoscaling:

env: dev #prod/dev
domain: mydomain.no

selectorLabes:
app: svai
image:
repository: registry.azurecr.io/registry-name
tag: b3543c41-1682426341
Expand Down

0 comments on commit 33c98b9

Please sign in to comment.