Skip to content

Commit

Permalink
[IDP-1249] Suffix container name (#53)
Browse files Browse the repository at this point in the history
* Suffix container name

* Fix selector
  • Loading branch information
meziantou authored Apr 29, 2024
1 parent 8ca6f37 commit fa33a97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/aspnetcore/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
spec:
serviceAccountName: {{ include "aspnetcore.serviceAccountName" . }}
containers:
- name: {{ .Chart.Name }}
- name: {{ .Chart.Name }}-container
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
Expand Down
2 changes: 1 addition & 1 deletion charts/aspnetcore/templates/poddisruptionbudget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ spec:
minAvailable: {{ .Values.podDisruptionBudget.minAvailable }}
selector:
matchLabels:
app: {{ .Release.Name }}
{{- include "aspnetcore.selectorLabels" . | nindent 6 }}

0 comments on commit fa33a97

Please sign in to comment.