Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[AAI] Deploy latest AAI images
[oom.git]
/
kubernetes
/
common
/
postgres
/
templates
/
service-common.yaml
diff --git
a/kubernetes/common/postgres/templates/service-common.yaml
b/kubernetes/common/postgres/templates/service-common.yaml
index
da0505c
..
6ec83dc
100644
(file)
--- a/
kubernetes/common/postgres/templates/service-common.yaml
+++ b/
kubernetes/common/postgres/templates/service-common.yaml
@@
-13,6
+13,7
@@
# # See the License for the specific language governing permissions and
# # limitations under the License.
*/}}
# # See the License for the specific language governing permissions and
# # limitations under the License.
*/}}
+{{- if not .Values.global.postgres.useOperator }}
apiVersion: v1
kind: Service
metadata:
apiVersion: v1
kind: Service
metadata:
@@
-21,7
+22,7
@@
metadata:
labels:
app: {{ include "common.name" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
labels:
app: {{ include "common.name" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
- release: {{
.Release.Name
}}
+ release: {{
include "common.release" .
}}
heritage: {{ .Release.Service }}
annotations:
spec:
heritage: {{ .Release.Service }}
annotations:
spec:
@@
-38,4
+39,5
@@
spec:
{{- end}}
selector:
app: {{ include "common.name" . }}
{{- end}}
selector:
app: {{ include "common.name" . }}
- release: {{ .Release.Name }}
+ release: {{ include "common.release" . }}
+{{- end }}