Skip to content

Commit

Permalink
mviewer improve labels selector
Browse files Browse the repository at this point in the history
  • Loading branch information
edevosc2c committed Oct 27, 2023
1 parent 8e76ae9 commit e7ec8b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mviewer/templates/mviewer-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: Deployment
metadata:
name: {{ include "helm-mviewer.fullname" . }}-mviewer-deployment
labels:
{{- include "helm-mviewer.labels" . | nindent 4 }}
{{- include "helm-mviewer.labels" . | nindent 4 }}-mviewer
application/name: {{ include "helm-mviewer.fullname" . }}-mviewer-deployment
spec:
replicas: {{ .Values.mviewer.replicaCount }}
Expand All @@ -18,7 +18,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "helm-mviewer.selectorLabels" . | nindent 8 }}
{{- include "helm-mviewer.selectorLabels" . | nindent 8 }}-mviewer
application/name: {{ include "helm-mviewer.fullname" . }}-mviewer-deployment
spec:
{{- if .Values.mviewer.configuration.git.url }}
Expand Down
4 changes: 2 additions & 2 deletions mviewer/templates/mviewerstudio-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: Deployment
metadata:
name: {{ include "helm-mviewer.fullname" . }}-mviewerstudio-deployment
labels:
{{- include "helm-mviewer.labels" . | nindent 4 }}
{{- include "helm-mviewer.labels" . | nindent 4 }}-mviewerstudio
application/name: {{ include "helm-mviewer.fullname" . }}-mviewerstudio-deployment
spec:
replicas: {{ .Values.mviewerstudio.replicaCount }}
Expand All @@ -18,7 +18,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "helm-mviewer.selectorLabels" . | nindent 8 }}
{{- include "helm-mviewer.selectorLabels" . | nindent 8 }}-mviewerstudio
application/name: {{ include "helm-mviewer.fullname" . }}-mviewerstudio-deployment
spec:
{{- with .Values.mviewerstudio.imagePullSecrets }}
Expand Down

0 comments on commit e7ec8b3

Please sign in to comment.