diff --git a/charts/factorio-server-charts/templates/deployment.yaml b/charts/factorio-server-charts/templates/deployment.yaml index ed852af..f98c1b3 100644 --- a/charts/factorio-server-charts/templates/deployment.yaml +++ b/charts/factorio-server-charts/templates/deployment.yaml @@ -19,6 +19,10 @@ spec: labels: app: {{ template "factorio-server-charts.fullname" . }} spec: + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} {{- with .Values.securityContext }} securityContext: {{- toYaml . | nindent 8 }} diff --git a/charts/factorio-server-charts/values.yaml b/charts/factorio-server-charts/values.yaml index 94ec8ac..907ead5 100644 --- a/charts/factorio-server-charts/values.yaml +++ b/charts/factorio-server-charts/values.yaml @@ -36,6 +36,9 @@ image: ## You should set an fix version, i.e.: # tag: "1.1.37" +# An optional list of references to secrets in the same namespace to use for pulling any of the images used +imagePullSecrets: [] + nodeSelector: {} # beta.kubernetes.io/os: linux # beta.kubernetes.io/arch: amd64