-
Bug
-
Resolution: Done
-
Critical
-
4.12.z
-
No
-
1
-
T&PS 2023 #10
-
1
-
False
-
-
Description of problem:
An OCP 4.12 disconnected customer who is having some issues following this doc, after he runs: oc patch argocd openshift-gitops -n openshift-gitops --type=merge --patch-file out/argocd/deployment/argocd-openshift-gitops-patch.json the pod openshift-gitops-repo-server-5945d48567-trkxd created contains an initContainer which references an image without hash: $ omc get po -l app.kubernetes.io/name=openshift-gitops-repo-server NAME READY STATUS RESTARTS AGE openshift-gitops-repo-server-56d5b6f555-2qhvn 1/1 Running 0 7h openshift-gitops-repo-server-6dbd478f97-c7glg 0/1 Init:ImagePullBackOff 0 5m $ omc get po -l app.kubernetes.io/name=openshift-gitops-repo-server -o json | jq '.items[1].spec.initContainers[1].image' -r registry.redhat.io/openshift4/ztp-site-generate-rhel8:v4.12 In OCP 4.12 pulling images by tag is not allowed (in 4.13 we can use ImageTagMirrorSet for that purpose).
Version-Release number of selected component (if applicable):
4.12
How to fix:
The oc patch command needs to patch the json with the local image for disconnected installations.
Steps to Reproduce:
1. 2. 3.
Actual results:
Expected results:
Additional info: