Add ImagePullPolicy to the AutoscalingListener, configurable through Manager env (#2477)

This commit is contained in:
Nikola Jokic
2023-04-04 19:07:20 +02:00
committed by GitHub
parent 5dea6db412
commit a804bf8b00
8 changed files with 64 additions and 19 deletions

View File

@@ -80,6 +80,9 @@ spec:
image:
description: Required
type: string
imagePullPolicy:
description: Required
type: string
imagePullSecrets:
description: Required
items:

View File

@@ -56,6 +56,8 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: CONTROLLER_MANAGER_LISTENER_IMAGE_PULL_POLICY
value: IfNotPresent
volumeMounts:
- name: controller-manager
mountPath: "/etc/actions-runner-controller"