Move affinity, annotations and tolerations to oidc and server components

Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
Marco Franssen
2023-02-18 13:04:04 +01:00
committed by Marco Franssen
parent 76a0c5ecfc
commit 1bdb9a5a50
4 changed files with 14 additions and 16 deletions
@@ -15,7 +15,7 @@ spec:
{{- include "spire.server.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
{{- with .Values.oidc.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
@@ -99,11 +99,11 @@ spec:
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
{{- with .Values.server.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
{{- with .Values.server.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}