Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make worker image configurable #162

Merged
merged 1 commit into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions chart/permissions-api/templates/deployment-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions chart/permissions-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading