undefined step-clone + '[' false = true ']' + '[' false = true ']' + '[' false = true ']' + CHECKOUT_DIR=/workspace/output/ + '[' false = true ']' + test -z '' + test -z '' + test -z '' + git config --global --add safe.directory /workspace/output + /ko-app/git-init -url=https://gitlab.cee.redhat.com/gitops/plumbing-gitops.git -revision= -refspec= -path=/workspace/output/ -sslVerify=false -submodules=true -depth=1 -sparseCheckoutDirectories= {"level":"info","ts":1732015769.7638025,"caller":"git/git.go:176","msg":"Successfully cloned https://gitlab.cee.redhat.com/gitops/plumbing-gitops.git @ a4859e5c72de7caa0f0b3995cae8d9b545ba0ba7 (grafted, HEAD) in path /workspace/output/"} {"level":"info","ts":1732015769.8203797,"caller":"git/git.go:215","msg":"Successfully initialized and updated submodules in path /workspace/output/"} + cd /workspace/output/ ++ git rev-parse HEAD + RESULT_SHA=a4859e5c72de7caa0f0b3995cae8d9b545ba0ba7 + EXIT_CODE=0 + '[' 0 '!=' 0 ']' ++ git log -1 --pretty=%ct + RESULT_COMMITTER_DATE=1729838808 + printf %s 1729838808 + printf %s a4859e5c72de7caa0f0b3995cae8d9b545ba0ba7 + printf %s https://gitlab.cee.redhat.com/gitops/plumbing-gitops.git undefined step-clone + '[' false = true ']' + '[' false = true ']' + '[' false = true ']' + CHECKOUT_DIR=/workspace/output/ + '[' false = true ']' + test -z '' + test -z '' + test -z '' + git config --global --add safe.directory /workspace/output + /ko-app/git-init -url=https://gitlab.cee.redhat.com/gitops/gitops-components-automated-testing.git -revision= -refspec= -path=/workspace/output/ -sslVerify=false -submodules=true -depth=1 -sparseCheckoutDirectories= {"level":"info","ts":1732015769.458974,"caller":"git/git.go:176","msg":"Successfully cloned https://gitlab.cee.redhat.com/gitops/gitops-components-automated-testing.git @ 8e02436d2db42cbc5b7a6e32bd06b059619c3df0 (grafted, HEAD) in path /workspace/output/"} {"level":"info","ts":1732015769.5157976,"caller":"git/git.go:215","msg":"Successfully initialized and updated submodules in path /workspace/output/"} + cd /workspace/output/ ++ git rev-parse HEAD + RESULT_SHA=8e02436d2db42cbc5b7a6e32bd06b059619c3df0 + EXIT_CODE=0 + '[' 0 '!=' 0 ']' ++ git log -1 --pretty=%ct + RESULT_COMMITTER_DATE=1731588926 + printf %s 1731588926 + printf %s 8e02436d2db42cbc5b7a6e32bd06b059619c3df0 + printf %s https://gitlab.cee.redhat.com/gitops/gitops-components-automated-testing.git undefined step-setup-testing-accounts WARNING: Using insecure TLS client config. Setting this option is not supported! Login successful. You have access to 78 projects, the list has been suppressed. You can list all projects with 'oc projects' Using project "default". Welcome! See 'oc help' to get started. Secret 'htpass-secret' found. This is expected on CRC or Flexy-provisioned clusters. Updating secret htpass-secret secret/htpass-secret patched Creating a htpasswd identity provider oauth.config.openshift.io/cluster configured Creating cluster role bindings Login into PSI cluster using this command: 'oc login -u kubeadmin -p 42gAD-8MDH2-d22FD-er5LT https://api.412-psi.ocp-gitops-qe.com:6443 --insecure-skip-tls-verify=true' Access the OpenShift web-console here: https://console-openshift-console.apps.412-psi.ocp-gitops-qe.com Use one of the following users to login: Username | Password | Cluster roles -------------------|----------------------------------------- kubeadmin | 42gAD-8MDH2-d22FD-er5LT | admin consoledeveloper | developer | self-provisioner, view pipelinesdeveloper | developer | basic-user user | user | default user1 | user1 | default ... | ... | ... user9 | user9 | default testuser-0 | OBOGYMNVlhoh | default testuser-1 | nDCVdZ60Xj8A | default testuser-2 | okMCx6E6ea_n | default testuser-3 | TQjvl_vZ-hda | default testuser-4 | hqXPjWEGrelD | default testuser-5 | dNtcQt4EUT4O | default testuser-6 | eKZANxK-owN6 | default testuser-7 | UFIjR2HRQV-d | default testuser-8 | BPxJJOXV5Bw9 | default testuser-9 | Gu1LWk0cVKwg | default ------------------------------------------------------------- passed undefined step-install-and-upgrade-operator ++ cat /install-dir/412-psi/auth/kubeadmin-password ++ cat /install-dir/412-psi/auth/api-url + oc login -u kubeadmin -p 42gAD-8MDH2-d22FD-er5LT https://api.412-psi.ocp-gitops-qe.com:6443 --insecure-skip-tls-verify=true WARNING: Using insecure TLS client config. Setting this option is not supported! Login successful. You have access to 78 projects, the list has been suppressed. You can list all projects with 'oc projects' Using project "default". Welcome! See 'oc help' to get started. + export NEW_VER=1.13.3 + NEW_VER=1.13.3 + export IIB_ID=863751 + IIB_ID=863751 + echo eyJhdXRocyI6eyJicmV3LnJlZ2lzdHJ5LnJlZGhhdC5pbyI6eyJhdXRoIjoiZkhOb1lYSmxaQzF4WlMxMFpXMXdMbk55WXpVdU56VmlOR1ExT21WNVNtaGlSMk5wVDJsS1UxVjZWWGhOYVVvNUxtVjVTbnBrVjBscFQybEpOVTFIUm1sT1ZHTXhUbFJaTUU0eVdUQk9lbFV5VDBSUmVrNTZaRzFOUjBVd1RYcFpNRnBVVG14YWFVbzVMbEY2WW5Kc1RqUTVURlJJUkVGS2NXRlBjRWh1VkV4VFJGSmZjbEJMYkY5UGRqQjZWVEpXVjIxT1ZEUkJNVU5YWkZBM1RXUjFhRFI2YXpoUmJtWlVXR3RTYVhWMFVXUklRVkpSTVVWWU1FWnBNMXBFZURrMGFWZDJPRXBST0VjM1JpMUxlazFtWW04d2FUTTFjMlJPTTNrelZYRlRla0YzUVc1RGVIVmxTM0V3WlRBNVFXUlViRlJ1UzI5S09UazNTV1ZvVW5OTk1EbFNMVk5mVWxBME1tcElVM3B2WldsSmNUQjJWbWw1ZVV4TFNVcE5WVjlTTjFvNWNIVnFaRTFPV0hKTGNVMWhSRmszVG5RMWQxYzFWVVJDUm01bGNsOUpjM1o1UkRWSFMyTXRjMkZ6ZHpsSWRESnZRVzVFTmxoWWFqaGpjMVJLTnpsS2FrRnFialZLT0ZneVpVRTFVM2wxZWxGNlV6WlNTbmMyT1haaVpYQXlhWEZ5TWw5NUxWZExlWFpwWlhOQ2VubFBaelpuTkdodk9YRTRXWFJWUmpWS2VrNUtWVFJpUm1oVVNFNDVaMUJRYUVRNVFXWkVhbXg2U25GeVNqaEljVXA0UlRjeWVrcFdUbmhuTTJKWGJXVjJZa1kzTlhOMWVuTk1TMVZKUkVKT1JrcEJZWEExZVdoRU1XeEhkVXRUTjJkaFMyTTJkM1ZxTmxVdFR6UnJkbXRCYVZwUlIxTkRkVXhUYUVreFJXazFkRUZYY1RWRVlXaF... + base64 -d + make operator-upgrade . ./scripts/upgrade-operator.sh ++ shopt -s extglob ++ '[' '!' 863751 ']' ++ '[' '!' 1.13.3 ']' ++ GITOPS_CHANNEL=latest ++ NEW_BUILD=openshift-gitops-operator.v1.13.3 ++ case "${NEW_VER}" in ++ export GITOPS_CHANNEL=gitops-1.13 ++ GITOPS_CHANNEL=gitops-1.13 ++ echo -e '\nInstalling and upgrading to version 1.13.3 from channel gitops-1.13 ' Installing and upgrading to version 1.13.3 from channel gitops-1.13 ++ [[ gcat-git == scripts ]] ++ QUAY_USER=devtools_gitops ++ sh scripts/install-operators.sh Installing OpenShift GitOps operator Ensure gitops subscription exists subscription.operators.coreos.com/openshift-gitops-operator created Waiting for CSV_NAME clusterserviceversion.operators.coreos.com/openshift-gitops-operator.v1.13.2 condition met Completed OpenShift GitOps operator installation Provide cluster-admin access to argocd-application-controller service account clusterrole.rbac.authorization.k8s.io/cluster-admin added: "system:serviceaccount:openshift-gitops:openshift-gitops-argocd-application-controller" ++ echo -e '\nCreating a basic argocd instance' Creating a basic argocd instance ++ oc delete ns example-argocd --ignore-not-found ++ oc create ns example-argocd namespace/example-argocd created ++ sleep 2 ++ oc apply -f config/YAMLs/argocd-basic.yaml argocd.argoproj.io/argocd created ++ oc wait argocd argocd -n example-argocd '--for=jsonpath={.status.phase}=Available' --timeout=60s argocd.argoproj.io/argocd condition met ++ [[ gitops-1.13 == \g\i\t\o\p\s\-\1\.\9 ]] ++ echo -e '\nCreating some sample applications' Creating some sample applications ++ oc apply -f config/YAMLs/sample-applications.yaml application.argoproj.io/builds-config created application.argoproj.io/console-config created application.argoproj.io/image-config created ++ apps=('builds-config' 'console-config' 'image-config') ++ declare -a apps ++ len=3 ++ i=0 ++ [[ 0 -lt 3 ]] +++ oc get app builds-config -n openshift-gitops -o 'jsonpath={.status.sync.status}' ++ [[ '' = \S\y\n\c\e\d ]] Waiting for builds-config app to be in Healthy and Synced state ++ echo 'Waiting for builds-config app to be in Healthy and Synced state' ++ sleep 10 ++ [[ 0 -lt 3 ]] +++ oc get app builds-config -n openshift-gitops -o 'jsonpath={.status.sync.status}' ++ [[ Synced = \S\y\n\c\e\d ]] +++ oc get app builds-config -n openshift-gitops -o 'jsonpath={.status.health.status}' ++ [[ Healthy = \H\e\a\l\t\h\y ]] builds-config app in Healthy and Synced state ++ echo 'builds-config app in Healthy and Synced state' +++ expr 0 + 1 ++ i=1 ++ [[ 1 -lt 3 ]] +++ oc get app console-config -n openshift-gitops -o 'jsonpath={.status.sync.status}' ++ [[ Synced = \S\y\n\c\e\d ]] +++ oc get app console-config -n openshift-gitops -o 'jsonpath={.status.health.status}' ++ [[ Healthy = \H\e\a\l\t\h\y ]] console-config app in Healthy and Synced state ++ echo 'console-config app in Healthy and Synced state' +++ expr 1 + 1 ++ i=2 ++ [[ 2 -lt 3 ]] +++ oc get app image-config -n openshift-gitops -o 'jsonpath={.status.sync.status}' ++ [[ Synced = \S\y\n\c\e\d ]] +++ oc get app image-config -n openshift-gitops -o 'jsonpath={.status.health.status}' ++ [[ Healthy = \H\e\a\l\t\h\y ]] image-config app in Healthy and Synced state ++ echo 'image-config app in Healthy and Synced state' +++ expr 2 + 1 ++ i=3 ++ [[ 3 -lt 3 ]] ++ echo -e '\nPreparing for the upgrade, connect to VPN if not connected already' Preparing for the upgrade, connect to VPN if not connected already ++ echo -e '\n\nEnter the password from bitwarden for account |shared-qe-temp.src5.75b4d5 when prompted' Enter the password from bitwarden for account |shared-qe-temp.src5.75b4d5 when prompted ++ INDEX=registry-proxy.engineering.redhat.com/rh-osbs/iib:863751 ++ MIRROR=quay.io/devtools_gitops/iib:863751 iib index = registry-proxy.engineering.redhat.com/rh-osbs/iib:863751 ++ echo iib index = registry-proxy.engineering.redhat.com/rh-osbs/iib:863751 mirror index = quay.io/devtools_gitops/iib:863751 ++ echo mirror index = quay.io/devtools_gitops/iib:863751 ++ oc get secrets pull-secret -n openshift-config -o 'template={{index .data ".dockerconfigjson"}}' ++ base64 -d ++ [[ true == true ]] {"brew.registry.redhat.io":{"auth":"fHNoYXJlZC1xZS10ZW1wLnptbnMuMTUzYjc3OmV5SmhiR2NpT2lKU1V6VXhNaUo5LmV5SnpkV0lpT2lJNU1HRmlOVGMxTlRZME4yWTBOelUyT0RRek56ZG1NR0UwTXpZMFpUTmxaaUo5LlF6YnJsTjQ5TFRIREFKcWFPcEhuVExTRFJfclBLbF9PdjB6VTJWV21OVDRBMUNXZFA3TWR1aDR6azhRbmZUWGtSaXV0UWRIQVJRMUVYMEZpM1pEeDk0aVd2OEpROEc3Ri1Lek1mYm8waTM1c2ROM3kzVXFTekF3QW5DeHVlS3EwZTA5QWRUbFRuS29KOTk3SWVoUnNNMDlSLVNfUlA0MmpIU3pvZWlJcTB2Vml5eUxLSUpNVV9SN1o5cHVqZE1OWHJLcU1hRFk3TnQ1d1c1VURCRm5lcl9Jc3Z5RDVHS2Mtc2FzdzlIdDJvQW5ENlhYajhjc1RKNzlKakFqbjVKOFgyZUE1U3l1elF6UzZSSnc2OXZiZXAyaXFyMl95LVdLeXZpZXNCenlPZzZnNGhvOXE4WXRVRjVKek5KVTRiRmhUSE45Z1BQaEQ5QWZEamx6SnFySjhIcUp4RTcyekpWTnhnM2JXbWV2YkY3NXN1enNMS1VJREJORkpBYXA1eWhEMWxHdUtTN2dhS2M2d3VqNlUtTzRrdmtBaVpRR1NDdUxTaEkxRWk1dEFXcTVEYWhYYlVaZ0l1ZktSZzFfTTBhWmpTU1JRak1JcEZrX1lMYi1HcmwwRDE5TG9vV1gwV1BwUjhDc3VLTFVFTGVFOGNJbEpjUDNlRzJkMV9tTzYzSGJkbEo5QlNaUXh3dWpGd3hwbndReEE3TG1oVXZCdDJOU3V3LVlIVDdkeFN3X3V6YlByX0ZwWmhaQnEzY01XZHhxV0VlOWFtT0xUbnJzbjE4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son=authfilewithbrew info: pull-secret was not changed ++ [[ true == true ]] ++ oc image mirror registry-proxy.engineering.redhat.com/rh-osbs/iib:863751 quay.io/devtools_gitops/iib:863751 --keep-manifest-list=true '--filter-by-os=.*' -a ./dockerconfigTemp --insecure quay.io/ devtools_gitops/iib manifests: sha256:05f15ad807d70e1dbc2255e9bce6640ef0d66366f8dd15c84245e22776a611ac sha256:1bad9b47bcdbe3ae5b5c8f4d958c493ae1d6c7931a163f0ee77f6e6fbee22323 sha256:2b8f3f3a76bd35304453323e786be077a1536ad4fcac46831cf284b35cd0d53d sha256:6f3f0da2346fc1a59e00eff83cdc1da5476d8f18f70e69ba5aa365513893493f sha256:cc1d78218edc667a92bcaa4d37405d5441ef681907851308137a3a5756055683 -> 863751 stats: shared=0 unique=0 size=0B phase 0: quay.io devtools_gitops/iib blobs=0 mounts=0 manifests=5 shared=0 info: Planning completed in 4.77s sha256:6f3f0da2346fc1a59e00eff83cdc1da5476d8f18f70e69ba5aa365513893493f quay.io/devtools_gitops/iib sha256:1bad9b47bcdbe3ae5b5c8f4d958c493ae1d6c7931a163f0ee77f6e6fbee22323 quay.io/devtools_gitops/iib sha256:2b8f3f3a76bd35304453323e786be077a1536ad4fcac46831cf284b35cd0d53d quay.io/devtools_gitops/iib sha256:05f15ad807d70e1dbc2255e9bce6640ef0d66366f8dd15c84245e22776a611ac quay.io/devtools_gitops/iib sha256:cc1d78218edc667a92bcaa4d37405d5441ef681907851308137a3a5756055683 quay.io/devtools_gitops/iib:863751 info: Mirroring completed in 4.09s (0B/s) ++ oc patch operatorhub.config.openshift.io/cluster '-p={"spec":{"disableAllDefaultSources":true}}' --type=merge operatorhub.config.openshift.io/cluster patched ++ oc apply -f config/YAMLs/image-content-source-policy.yaml imagecontentsourcepolicy.operator.openshift.io/brew-registry unchanged ++ cat ++ oc apply -f - catalogsource.operators.coreos.com/redhat-operators created ++ rm authfilewithbrew ++ i=0 +++ oc get catalogsource -n openshift-marketplace -o 'jsonpath={.items[0].status.connectionState.lastObservedState}' ++ '[' READY = READY ']' ++ NEW_BUILD=openshift-gitops-operator.v1.13.3 +++ oc get csv -n openshift-operators -o name ++ [[ clusterserviceversion.operators.coreos.com/openshift-gitops-operator.v1.13.2 == *\o\p\e\n\s\h\i\f\t\-\g\i\t\o\p\s\-\o\p\e\r\a\t\o\r\.\v\1\.\1\3\.\3* ]] ++ echo 'Operator upgrading...' Operator upgrading... ++ sleep 10 +++ oc get csv -n openshift-operators -o name ++ [[ clusterserviceversion.operators.coreos.com/openshift-gitops-operator.v1.13.2 == *\o\p\e\n\s\h\i\f\t\-\g\i\t\o\p\s\-\o\p\e\r\a\t\o\r\.\v\1\.\1\3\.\3* ]] +++ oc get csv -n openshift-operators -o name ++ [[ clusterserviceversion.operators.coreos.com/openshift-gitops-operator.v1.13.2 == *\o\p\e\n\s\h\i\f\t\-\g\i\t\o\p\s\-\o\p\e\r\a\t\o\r\.\v\1\.\1\3\.\3* ]] ++ echo 'Operator upgrading...' Operator upgrading... ++ sleep 10 +++ oc get csv -n openshift-operators -o name ++ [[ clusterserviceversion.operators.coreos.com/openshift-gitops-operator.v1.13.2 == *\o\p\e\n\s\h\i\f\t\-\g\i\t\o\p\s\-\o\p\e\r\a\t\o\r\.\v\1\.\1\3\.\3* ]] +++ oc get csv -n openshift-operators -o name ++ [[ clusterserviceversion.operators.coreos.com/openshift-gitops-operator.v1.13.2 == *\o\p\e\n\s\h\i\f\t\-\g\i\t\o\p\s\-\o\p\e\r\a\t\o\r\.\v\1\.\1\3\.\3* ]] ++ echo 'Operator upgrading...' Operator upgrading... ++ sleep 10 +++ oc get csv -n openshift-operators -o name ++ [[ clusterserviceversion.operators.coreos.com/openshift-gitops-operator.v1.13.2 clusterserviceversion.operators.coreos.com/openshift-gitops-operator.v1.13.3 == *\o\p\e\n\s\h\i\f\t\-\g\i\t\o\p\s\-\o\p\e\r\a\t\o\r\.\v\1\.\1\3\.\3* ]] ++ break Operator upgraded, Waiting for the pods to come up ++ echo -e '\nOperator upgraded, Waiting for the pods to come up' ++ sleep 30 ++ deployments=($(echo $(oc get deployments -n openshift-gitops --no-headers -o custom-columns=':metadata.name'))) ++++ oc get deployments -n openshift-gitops --no-headers -o custom-columns=:metadata.name +++ echo cluster kam openshift-gitops-applicationset-controller openshift-gitops-dex-server openshift-gitops-redis openshift-gitops-repo-server openshift-gitops-server ++ for deployment in "${deployments[@]}" ++ oc rollout status deployment/cluster -n openshift-gitops --timeout=60s deployment "cluster" successfully rolled out ++ for deployment in "${deployments[@]}" ++ oc rollout status deployment/kam -n openshift-gitops --timeout=60s deployment "kam" successfully rolled out ++ for deployment in "${deployments[@]}" ++ oc rollout status deployment/openshift-gitops-applicationset-controller -n openshift-gitops --timeout=60s deployment "openshift-gitops-applicationset-controller" successfully rolled out ++ for deployment in "${deployments[@]}" ++ oc rollout status deployment/openshift-gitops-dex-server -n openshift-gitops --timeout=60s deployment "openshift-gitops-dex-server" successfully rolled out ++ for deployment in "${deployments[@]}" ++ oc rollout status deployment/openshift-gitops-redis -n openshift-gitops --timeout=60s deployment "openshift-gitops-redis" successfully rolled out ++ for deployment in "${deployments[@]}" ++ oc rollout status deployment/openshift-gitops-repo-server -n openshift-gitops --timeout=60s deployment "openshift-gitops-repo-server" successfully rolled out ++ for deployment in "${deployments[@]}" ++ oc rollout status deployment/openshift-gitops-server -n openshift-gitops --timeout=60s deployment "openshift-gitops-server" successfully rolled out ++ oc wait argocd openshift-gitops -n openshift-gitops '--for=jsonpath={.status.phase}=Available' --timeout=60s argocd.argoproj.io/openshift-gitops condition met ++ oc wait argocd argocd -n example-argocd '--for=jsonpath={.status.phase}=Available' --timeout=60s argocd.argoproj.io/argocd condition met ++ [[ openshift-gitops-operator.v1.13.3 =~ openshift-gitops-operator\.v1\.10 ]] ++ deployments=($(echo $(oc get deployments -n example-argocd --no-headers -o custom-columns=':metadata.name'))) ++++ oc get deployments -n example-argocd --no-headers -o custom-columns=:metadata.name +++ echo argocd-redis argocd-repo-server argocd-server ++ for deployment in "${deployments[@]}" ++ oc rollout status deployment/argocd-redis -n example-argocd --timeout=60s deployment "argocd-redis" successfully rolled out ++ for deployment in "${deployments[@]}" ++ oc rollout status deployment/argocd-repo-server -n example-argocd --timeout=60s deployment "argocd-repo-server" successfully rolled out ++ for deployment in "${deployments[@]}" ++ oc rollout status deployment/argocd-server -n example-argocd --timeout=60s deployment "argocd-server" successfully rolled out Wait for ArgoCD apiVersion upgrade ++ echo 'Wait for ArgoCD apiVersion upgrade' ++ [[ openshift-gitops-operator.v1.13.3 =~ openshift-gitops-operator\.v1\.10 ]] ++ i=0 ++ [[ 0 -lt 3 ]] +++ oc get app builds-config -n openshift-gitops -o 'jsonpath={.status.sync.status}' ++ [[ Synced = \S\y\n\c\e\d ]] +++ oc get app builds-config -n openshift-gitops -o 'jsonpath={.status.health.status}' ++ [[ Healthy = \H\e\a\l\t\h\y ]] builds-config app in Healthy and Synced state ++ echo 'builds-config app in Healthy and Synced state' +++ expr 0 + 1 ++ i=1 ++ [[ 1 -lt 3 ]] +++ oc get app console-config -n openshift-gitops -o 'jsonpath={.status.sync.status}' ++ [[ Synced = \S\y\n\c\e\d ]] +++ oc get app console-config -n openshift-gitops -o 'jsonpath={.status.health.status}' ++ [[ Healthy = \H\e\a\l\t\h\y ]] console-config app in Healthy and Synced state ++ echo 'console-config app in Healthy and Synced state' +++ expr 1 + 1 ++ i=2 ++ [[ 2 -lt 3 ]] +++ oc get app image-config -n openshift-gitops -o 'jsonpath={.status.sync.status}' ++ [[ Synced = \S\y\n\c\e\d ]] +++ oc get app image-config -n openshift-gitops -o 'jsonpath={.status.health.status}' ++ [[ Healthy = \H\e\a\l\t\h\y ]] image-config app in Healthy and Synced state ++ echo 'image-config app in Healthy and Synced state' +++ expr 2 + 1 ++ i=3 ++ [[ 3 -lt 3 ]] ++ echo -e '\nOperator upgrade successful!\n' Operator upgrade successful! ++ oc patch operatorhub.config.openshift.io/cluster '-p={"spec":{"disableAllDefaultSources":false}}' --type=merge operatorhub.config.openshift.io/cluster patched