Skip to content
4 changes: 2 additions & 2 deletions templates/deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1079,8 +1079,8 @@ spec:
{{- end }}
containers:
- name: st2actionrunner{{ template "enterpriseSuffix" . }}
image: "{{ template "imageRepository" . }}/st2actionrunner{{ template "enterpriseSuffix" . }}:{{ .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
image: "{{ .Values.st2actionrunner.image.repository | default template "imageRepository" . }}/{{ .Values.st2actionrunner.image.name | default st2actionrunner }}{{ template "enterpriseSuffix" . }}:{{ .Values.st2actionrunner.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.st2actionrunner.image.imagePullPolicy | default .Values.image.pullPolicy }}
# TODO: Add liveness/readiness probes (#3)
#livenessProbe:
#readinessProbe:
Expand Down
8 changes: 8 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,14 @@ st2notifier:
st2actionrunner:
replicas: 5
# TODO: Find out recommended/default resources for this specific service (#5)
image:
# Uncomment the following block to use your own at2actionrunner docker image
#repository: your-remote-docker-registry.io
#name: st2actionrunner
#tag: latest
#pullPolicy: Always
# Optional name of the imagePullSecret if your custom action runner image is hosted by a private Docker registry behind the auth
#pullSecret: st2actionrunner-auth
resources: {}
annotations: {}
# Additional advanced settings to control pod/deployment placement
Expand Down