render imagepullsecrets

This commit is contained in:
Stavros kois
2022-12-16 16:02:23 +02:00
parent abb7e87c50
commit e2f7ecdf99
2 changed files with 9 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ nodeSelector:
tolerations:
{{- . | nindent 2 }}
{{- end -}}
{{/* TODO: imagePullSecrets, affinity, topologySpreadConstraints, not something critical as of now. */}}
{{/* TODO: affinity, topologySpreadConstraints, not something critical as of now. */}}
{{- with .Values.termination.gracePeriodSeconds }}
terminationGracePeriodSeconds: {{ . }}
{{- end }}
@@ -42,11 +42,15 @@ enableServiceLinks: {{ .Values.enableServiceLinks }}
{{- with (include "ix.v1.common.container.podSecurityContext" (dict "podSecCont" .Values.podSecurityContext) | trim) }}
securityContext:
{{- . | nindent 2 }}
{{- end }}
{{- end -}}
{{- with (include "ix.v1.common.imagePullSecrets" . | trim) }}
imagePullSecrets:
{{- . | nindent 2 }}
{{- end -}}
{{- with (include "ix.v1.common.controller.mainContainer" . | trim) }}
containers:
{{- . | nindent 2 }}
{{- end }}{{/*TODO: init/install/upgradeContainers */}}
{{- end -}}{{/*TODO: init/install/upgradeContainers */}}
{{- with (include "ix.v1.common.controller.volumes" . | trim) }}
volumes:
{{- . | nindent 2 }}

View File

@@ -4,6 +4,8 @@
{{- include "ix.v1.common.spawner.certificate" . | nindent 0 -}}
{{- include "ix.v1.common.spawner.imagePullSecret" . | nindent 0 -}}
{{- include "ix.v1.common.spawner.serviceAccount" . | nindent 0 -}}
{{- include "ix.v1.common.spawner.rbac" . | nindent 0 -}}