|
|
|
@ -11,6 +11,8 @@ spec:
|
|
|
|
selector:
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
matchLabels:
|
|
|
|
{{- include "omada-controller.selectorLabels" . | nindent 6 }}
|
|
|
|
{{- include "omada-controller.selectorLabels" . | nindent 6 }}
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
|
|
|
|
type: Recreate
|
|
|
|
template:
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
metadata:
|
|
|
|
{{- with .Values.podAnnotations }}
|
|
|
|
{{- with .Values.podAnnotations }}
|
|
|
|
@ -27,8 +29,6 @@ spec:
|
|
|
|
serviceAccountName: {{ include "omada-controller.serviceAccountName" . }}
|
|
|
|
serviceAccountName: {{ include "omada-controller.serviceAccountName" . }}
|
|
|
|
securityContext:
|
|
|
|
securityContext:
|
|
|
|
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
|
|
|
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
|
|
|
strategy:
|
|
|
|
|
|
|
|
type: Recreate
|
|
|
|
|
|
|
|
containers:
|
|
|
|
containers:
|
|
|
|
- name: {{ .Chart.Name }}
|
|
|
|
- name: {{ .Chart.Name }}
|
|
|
|
securityContext:
|
|
|
|
securityContext:
|
|
|
|
|