mirror of
https://github.com/alibaba/higress.git
synced 2026-06-06 19:27:33 +08:00
fix priorityClassName missed (#1096)
This commit is contained in:
@@ -26,6 +26,9 @@ spec:
|
|||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
serviceAccountName: {{ include "controller.serviceAccountName" . }}
|
serviceAccountName: {{ include "controller.serviceAccountName" . }}
|
||||||
|
{{- if .Values.global.priorityClassName }}
|
||||||
|
priorityClassName: "{{ .Values.global.priorityClassName }}"
|
||||||
|
{{- end }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.controller.podSecurityContext | nindent 8 }}
|
{{- toYaml .Values.controller.podSecurityContext | nindent 8 }}
|
||||||
containers:
|
containers:
|
||||||
|
|||||||
@@ -44,6 +44,9 @@ spec:
|
|||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
serviceAccountName: {{ include "gateway.serviceAccountName" . }}
|
serviceAccountName: {{ include "gateway.serviceAccountName" . }}
|
||||||
|
{{- if .Values.global.priorityClassName }}
|
||||||
|
priorityClassName: "{{ .Values.global.priorityClassName }}"
|
||||||
|
{{- end }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- if .Values.gateway.securityContext }}
|
{{- if .Values.gateway.securityContext }}
|
||||||
{{- toYaml .Values.gateway.securityContext | nindent 8 }}
|
{{- toYaml .Values.gateway.securityContext | nindent 8 }}
|
||||||
|
|||||||
@@ -59,6 +59,9 @@ spec:
|
|||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
serviceAccountName: {{ include "gateway.serviceAccountName" . }}
|
serviceAccountName: {{ include "gateway.serviceAccountName" . }}
|
||||||
|
{{- if .Values.global.priorityClassName }}
|
||||||
|
priorityClassName: "{{ .Values.global.priorityClassName }}"
|
||||||
|
{{- end }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- if .Values.gateway.securityContext }}
|
{{- if .Values.gateway.securityContext }}
|
||||||
{{- toYaml .Values.gateway.securityContext | nindent 8 }}
|
{{- toYaml .Values.gateway.securityContext | nindent 8 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user