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
Update Kong ingress controller to version 1.4. It fixes the occasional 404 error.
[ric-plt/ric-dep.git]
/
helm
/
infrastructure
/
subcharts
/
kong
/
templates
/
pdb.yaml
diff --git
a/helm/infrastructure/subcharts/kong/templates/pdb.yaml
b/helm/infrastructure/subcharts/kong/templates/pdb.yaml
index
f52b6fb
..
39b3b77
100755
(executable)
--- a/
helm/infrastructure/subcharts/kong/templates/pdb.yaml
+++ b/
helm/infrastructure/subcharts/kong/templates/pdb.yaml
@@
-2,9
+2,9
@@
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
- name:
"{{ template "kong.fullname" . }}"
+ name:
{{ template "kong.fullname" . }}
labels:
labels:
- app: "{{ template "kong.name" . }}"
+ {{- include "kong.metaLabels" . | nindent 4 }}
spec:
{{- if .Values.podDisruptionBudget.minAvailable }}
minAvailable: {{ .Values.podDisruptionBudget.minAvailable }}
spec:
{{- if .Values.podDisruptionBudget.minAvailable }}
minAvailable: {{ .Values.podDisruptionBudget.minAvailable }}
@@
-14,7
+14,5
@@
spec:
{{- end }}
selector:
matchLabels:
{{- end }}
selector:
matchLabels:
- app: {{ template "kong.name" . }}
- release: {{ .Release.Name }}
- component: app
-{{- end }}
\ No newline at end of file
+ {{- include "kong.metaLabels" . | nindent 6 }}
+{{- end }}