Move security values to server and oidc components
Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
@@ -30,7 +30,7 @@ spec:
|
||||
{{- end }}
|
||||
serviceAccountName: {{ include "spire.serviceAccountName" . }}-agent
|
||||
securityContext:
|
||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||
{{- toYaml .Values.oidc.podSecurityContext | nindent 8 }}
|
||||
containers:
|
||||
- name: spire-oidc
|
||||
securityContext:
|
||||
|
||||
@@ -31,7 +31,7 @@ spec:
|
||||
serviceAccountName: {{ include "spire.serviceAccountName" . }}-server
|
||||
shareProcessNamespace: true
|
||||
securityContext:
|
||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||
{{- toYaml .Values.server.podSecurityContext | nindent 8 }}
|
||||
{{- with .Values.server.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
|
||||
Reference in New Issue
Block a user