Skip to content
Snippets Groups Projects
Commit af373602 authored by Arun Sharma's avatar Arun Sharma Committed by Brad Davidson
Browse files

PE-2443: adding image pull secrets

parent a70667b3
Branches
Tags
No related merge requests found
...@@ -50,6 +50,7 @@ type PlanSpec struct { ...@@ -50,6 +50,7 @@ type PlanSpec struct {
Cordon bool `json:"cordon,omitempty"` Cordon bool `json:"cordon,omitempty"`
Drain *DrainSpec `json:"drain,omitempty"` Drain *DrainSpec `json:"drain,omitempty"`
Upgrade *ContainerSpec `json:"upgrade,omitempty" wrangler:"required"` Upgrade *ContainerSpec `json:"upgrade,omitempty" wrangler:"required"`
ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
} }
// PlanStatus represents the resulting state from processing Plan events. // PlanStatus represents the resulting state from processing Plan events.
......
...@@ -215,6 +215,7 @@ func New(plan *upgradeapiv1.Plan, node *corev1.Node, controllerName string) *bat ...@@ -215,6 +215,7 @@ func New(plan *upgradeapiv1.Plan, node *corev1.Node, controllerName string) *bat
}, },
}, },
}}, }},
ImagePullSecrets: plan.Spec.ImagePullSecrets,
}, },
}, },
Completions: new(int32), Completions: new(int32),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment