diff --git a/chart/permissions-api/templates/deployment-worker.yaml b/chart/permissions-api/templates/deployment-worker.yaml index 29925cd7..4b89e0eb 100644 --- a/chart/permissions-api/templates/deployment-worker.yaml +++ b/chart/permissions-api/templates/deployment-worker.yaml @@ -45,8 +45,8 @@ spec: {{- end }} containers: - name: {{ include "common.names.name" . }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} + image: "{{ .Values.workerImage.repository }}:{{ .Values.workerImage.tag | default .Chart.AppVersion }}" + imagePullPolicy: {{ .Values.workerImage.pullPolicy }} args: - worker - --config diff --git a/chart/permissions-api/values.yaml b/chart/permissions-api/values.yaml index 887df997..0c5a2e3c 100644 --- a/chart/permissions-api/values.yaml +++ b/chart/permissions-api/values.yaml @@ -6,6 +6,14 @@ image: # tag is the image tag to use. Defaults to the chart's app version tag: "" +workerImage: + # repository is the image repository to pull the worker image from + repository: ghcr.io/infratographer/permissions-api + # pullPolicy is the image pull policy for the worker image + pullPolicy: IfNotPresent + # tag is the image tag to use. Defaults to the chart's app version + tag: "" + config: server: # port is the port that the permissions-api container should listen on