Missing imagePullSecrets on datamover pods
Sebastian-RG opened this issue · 0 comments
Sebastian-RG commented
What steps did you take and what happened:
velero is configured such that all images are pulled from a private registry.
velero backup create --include-namespaces nginx-cinder-csi --snapshot-move-data
The backup due to the datamover pod failing from ImagePullBackOff. The pod yaml is missing imagePullSecrets.
What did you expect to happen:
The datamover pod is created with the same imagePullSecrets used for the velero image
Anything else you would like to add:
I will create the PR to add the imagePullSecrets to the ServiceAccount created with the velero helm chart.
I've tested this solution to work in my environment.
Environment:
- helm version (use
helm version
):
version.BuildInfo{Version:"v3.8.2", GitCommit:"6e3701edea09e5d55a8ca2aae03a68917630e91b", GitTreeState:"clean", GoVersion:"go1.17.5"} - helm chart version and app version (use
helm list -n <YOUR NAMESPACE>
):
latest - Kubernetes version (use
kubectl version
):
version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.7", GitCommit:"42c05a547468804b2053ecf60a3bd15560362fc2", GitTreeState:"clean", BuildDate:"2022-05-24T12:24:41Z", GoVersion:"go1.17.10", Compiler:"gc", Platform:"linux/amd64"} - Kubernetes installer & version:
- Cloud provider or hardware configuration:
- OS (e.g. from
/etc/os-release
):