From af7509babab9d2f4ddcfe1070510dd03f5ed2dc8 Mon Sep 17 00:00:00 2001 From: Maarten Kok Date: Fri, 8 May 2026 09:57:55 +0200 Subject: [PATCH] Allow specifying imagePullSecrets for the images. --- charts/factorio-server-charts/templates/deployment.yaml | 4 ++++ charts/factorio-server-charts/values.yaml | 3 +++ 2 files changed, 7 insertions(+) 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