Code Review
/
ric-plt
/
ric-dep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
helm3 and K8 1.18 support added
[ric-plt/ric-dep.git]
/
helm
/
infrastructure
/
subcharts
/
kong
/
templates
/
service-kong-manager.yaml
diff --git
a/helm/infrastructure/subcharts/kong/templates/service-kong-manager.yaml
b/helm/infrastructure/subcharts/kong/templates/service-kong-manager.yaml
old mode 100755
(executable)
new mode 100644
(file)
index
f9a370c
..
82e4932
--- a/
helm/infrastructure/subcharts/kong/templates/service-kong-manager.yaml
+++ b/
helm/infrastructure/subcharts/kong/templates/service-kong-manager.yaml
@@
-8,10
+8,7
@@
metadata:
{{ $key }}: {{ $value | quote }}
{{- end }}
labels:
{{ $key }}: {{ $value | quote }}
{{- end }}
labels:
- app: {{ template "kong.name" . }}
- chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
- release: "{{ .Release.Name }}"
- heritage: "{{ .Release.Service }}"
+ {{- include "kong.metaLabels" . | nindent 4 }}
spec:
type: {{ .Values.manager.type }}
{{- if eq .Values.manager.type "LoadBalancer" }}
spec:
type: {{ .Values.manager.type }}
{{- if eq .Values.manager.type "LoadBalancer" }}
@@
-48,10
+45,6
@@
spec:
{{- end }}
protocol: TCP
{{- end }}
{{- end }}
protocol: TCP
{{- end }}
-
-
selector:
selector:
- app: {{ template "kong.name" . }}
- release: {{ .Release.Name }}
- component: app
+ {{- include "kong.selectorLabels" . | nindent 4 }}
{{- end -}}
{{- end -}}