-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Summary
The controller-manager deployment manifest sets imagePullPolicy: Never, which prevents the operator from being deployed on remote clusters (e.g., EKS, GKE) where the image needs to be pulled from quay.io.
Steps to Reproduce
- Deploy the operator to a remote cluster using kustomize with
config/defaultas the base - The pod enters
ErrImageNeverPullstatus because the imagequay.io/nebari/nebari-operatoris not available locally on the node
Expected Behavior
imagePullPolicy should default to something appropriate for production use (e.g., IfNotPresent or Always for mutable tags).
Current Workaround
Downstream consumers must add a strategic merge patch to override imagePullPolicy:
# deployment-patch.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: nebari-operator-controller-manager
spec:
template:
spec:
containers:
- name: manager
imagePullPolicy: AlwaysSuggestion
Update the manager deployment in config/manager/ to use IfNotPresent (or remove imagePullPolicy entirely and let Kubernetes default it based on the tag). Never should only be used in local development overlays, not in the base manifests.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels