Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-12966

warning msg when patching up hub's gitops config

XMLWordPrintable

    • No
    • CNF RAN Sprint 236, CNF RAN Sprint 237, CNF RAN Sprint 238
    • 3
    • False
    • Hide

      None

      Show
      None

      ❯ oc patch argocd openshift-gitops -n openshift-gitops --type=merge --patch-file deployment/argocd-openshift-gitops-patch.json
      W0327 16:45:17.619917 13277 warnings.go:70] unknown field "spec.repo.volumes[0].path"
      W0327 16:45:17.621164 13277 warnings.go:70] unknown field "spec.repo.volumes[0].readOnly"
      argocd.argoproj.io/openshift-gitops patched

      looking at the cr (missing the path and readOnly)
      [root@jumphost2 ~]# oc get argocd openshift-gitops -n openshift-gitops -ojson | jq .spec.repo.volumes
      [
      {{{}}
      "name": "kustomize"
      }
      ]

            npathan@redhat.com Nahian Pathan
            npathan@redhat.com Nahian Pathan
            Periyamaruthu Mohanraj Periyamaruthu Mohanraj
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: