This repository was archived by the owner on Sep 29, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +15
-7
lines changed
Expand file tree Collapse file tree 6 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ metadata:
101101spec :
102102 selector :
103103 app : {{ $.Chart.Name }}-database
104- {{- include "liferay.labels " $ | nindent 4 }}
104+ {{- include "liferay.selectorLabels " $ | nindent 4 }}
105105 ports :
106106 - name : database
107107 port : {{ .config.port }}
@@ -120,7 +120,7 @@ spec:
120120 clusterIP : None # This is what makes it headless
121121 selector :
122122 app : {{ $.Chart.Name }}-database
123- {{- include "liferay.labels " $ | nindent 4 }}
123+ {{- include "liferay.selectorLabels " $ | nindent 4 }}
124124 ports :
125125 - name : database
126126 port : {{ .config.port }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ kind: Service
33metadata :
44 name : {{ include "liferay.fullname" . }}-headless
55 labels :
6+ app : {{ $.Chart.Name }}
67 {{- include "liferay.labels" . | nindent 4 }}
78spec :
89 clusterIP : None # This is what makes it headless
1617 protocol : TCP
1718 name : http
1819 selector :
20+ app : {{ $.Chart.Name }}
1921 {{- include "liferay.selectorLabels" . | nindent 4 }}
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ metadata:
159159spec :
160160 selector :
161161 app : {{ $.Chart.Name }}-objectstorage
162- {{- include "liferay.labels " $ | nindent 4 }}
162+ {{- include "liferay.selectorLabels " $ | nindent 4 }}
163163 ports :
164164 - name : api
165165 port : {{ .config.ports.api }}
@@ -182,7 +182,7 @@ spec:
182182 clusterIP : None # This is what makes it headless
183183 selector :
184184 app : {{ $.Chart.Name }}-objectstorage
185- {{- include "liferay.labels " $ | nindent 4 }}
185+ {{- include "liferay.selectorLabels " $ | nindent 4 }}
186186 ports :
187187 - name : api
188188 port : {{ .config.ports.api }}
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ metadata:
152152spec :
153153 selector :
154154 app : {{ $.Chart.Name }}-search
155- {{- include "liferay.labels " $ | nindent 4 }}
155+ {{- include "liferay.selectorLabels " $ | nindent 4 }}
156156 ports :
157157 - name : search
158158 port : {{ .config.port }}
@@ -171,7 +171,7 @@ spec:
171171 clusterIP : None # This is what makes it headless
172172 selector :
173173 app : {{ $.Chart.Name }}-search
174- {{- include "liferay.labels " $ | nindent 4 }}
174+ {{- include "liferay.selectorLabels " $ | nindent 4 }}
175175 ports :
176176 - name : search
177177 port : {{ .config.port }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ kind: Service
33metadata :
44 name : {{ include "liferay.fullname" . }}
55 labels :
6+ app : {{ $.Chart.Name }}
67 {{- include "liferay.labels" . | nindent 4 }}
78 {{- with .Values.service.annotations }}
89 annotations :
1516 targetPort : http
1617 protocol : TCP
1718 name : http
18- selector : {{- include "liferay.selectorLabels" . | nindent 4 }}
19+ selector :
20+ app : {{ $.Chart.Name }}
21+ {{- include "liferay.selectorLabels" . | nindent 4 }}
Original file line number Diff line number Diff line change @@ -3,13 +3,15 @@ kind: StatefulSet
33metadata :
44 name : {{ include "liferay.fullname" . }}
55 labels :
6+ app : {{ $.Chart.Name }}
67 {{- include "liferay.labels" . | nindent 4 }}
78spec :
89 {{- if not .Values.autoscaling.enabled }}
910 replicas : {{ .Values.replicaCount }}
1011 {{- end }}
1112 selector :
1213 matchLabels :
14+ app : {{ $.Chart.Name }}
1315 {{- include "liferay.selectorLabels" . | nindent 6 }}
1416 serviceName : {{ include "liferay.fullname" . }}
1517 template :
1921 {{- toYaml . | nindent 8 }}
2022 {{- end }}
2123 labels :
24+ app : {{ $.Chart.Name }}
2225 {{- include "liferay.labels" . | nindent 8 }}
2326 {{- with .Values.podLabels }}
2427 {{- toYaml . | nindent 8 }}
You can’t perform that action at this time.
0 commit comments