diff --git a/charts/apc/Chart.yaml b/charts/apc/Chart.yaml index 8b290de..8ea2e7a 100644 --- a/charts/apc/Chart.yaml +++ b/charts/apc/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.4 +version: 0.1.5 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/apc/templates/acm/acm-deployment.yaml b/charts/apc/templates/acm/acm-deployment.yaml index f760eb4..cf87dde 100644 --- a/charts/apc/templates/acm/acm-deployment.yaml +++ b/charts/apc/templates/acm/acm-deployment.yaml @@ -26,7 +26,7 @@ spec: - ip: {{ .ip | quote }} hostnames: {{- range .hostnames }} - - {{ . | quote }} + - {{ . | quote }} {{- end }} {{- end }} {{- end }} diff --git a/charts/apc/templates/api/api-deployment.yaml b/charts/apc/templates/api/api-deployment.yaml index 6cb8b6b..5d681d3 100644 --- a/charts/apc/templates/api/api-deployment.yaml +++ b/charts/apc/templates/api/api-deployment.yaml @@ -25,7 +25,7 @@ spec: - ip: {{ .ip | quote }} hostnames: {{- range .hostnames }} - - {{ . | quote }} + - {{ . | quote }} {{- end }} {{- end }} {{- end }} diff --git a/charts/apc/templates/apm/apm-deployment.yaml b/charts/apc/templates/apm/apm-deployment.yaml index 28fe7dd..95e0e69 100644 --- a/charts/apc/templates/apm/apm-deployment.yaml +++ b/charts/apc/templates/apm/apm-deployment.yaml @@ -19,13 +19,19 @@ spec: apc/version: {{ $.Values.apc.version }} checksum/config: {{ include (print $.Template.BasePath "/common-configmap.yaml") $ | sha256sum }} spec: + {{- if .imagePullSecrets }} + imagePullSecrets: + {{- range .imagePullSecrets }} + - name: {{ . }} + {{- end }} + {{- end }} {{- if $.Values.hosts }} hostAliases: {{- range $.Values.hosts }} - ip: {{ .ip | quote }} hostnames: {{- range .hostnames }} - - {{ . | quote }} + - {{ . | quote }} {{- end }} {{- end }} {{- end }} diff --git a/charts/apc/templates/ingestion/ingestion-deployment.yaml b/charts/apc/templates/ingestion/ingestion-deployment.yaml index b39e073..a70dffa 100644 --- a/charts/apc/templates/ingestion/ingestion-deployment.yaml +++ b/charts/apc/templates/ingestion/ingestion-deployment.yaml @@ -24,7 +24,7 @@ spec: - ip: {{ .ip | quote }} hostnames: {{- range .hostnames }} - - {{ . | quote }} + - {{ . | quote }} {{- end }} {{- end }} {{- end }} diff --git a/charts/apc/values.example.yaml b/charts/apc/values.example.yaml index edbf5fb..eb2ad26 100644 --- a/charts/apc/values.example.yaml +++ b/charts/apc/values.example.yaml @@ -102,6 +102,8 @@ processors: image: "ghcr.io/linus-berg/apc/apm/npm" tag: *apc_version replicas: 1 + imagePullSecrets: + - test env: - name: TEST value: BLEH