X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=helm%2Finfrastructure%2Fsubcharts%2Fkong%2Ftemplates%2Fpdb.yaml;h=39b3b770b2847ca35b3ac02b4b7835f5a132b3f9;hb=a9d4c42755f61abbade2599cd0bab4c9743cf41b;hp=f52b6fb0c92d2ba950aa73fbba2523438fa2567b;hpb=38dc857062b14145f5b9db89d10eba0ae5b90d11;p=ric-plt%2Fric-dep.git diff --git a/helm/infrastructure/subcharts/kong/templates/pdb.yaml b/helm/infrastructure/subcharts/kong/templates/pdb.yaml old mode 100755 new mode 100644 index f52b6fb..39b3b77 --- 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: - name: "{{ template "kong.fullname" . }}" + name: {{ template "kong.fullname" . }} labels: - app: "{{ template "kong.name" . }}" + {{- include "kong.metaLabels" . | nindent 4 }} spec: {{- if .Values.podDisruptionBudget.minAvailable }} minAvailable: {{ .Values.podDisruptionBudget.minAvailable }} @@ -14,7 +14,5 @@ spec: {{- 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 }}