Release notes OpenShift Container Platform 4.12 Highlights of what is new and what has changed with this OpenShift Container Platform release Red Hat OpenShift Documentation Team

Commands:
operator-sdk run bundle --security-context-config=legacy
operator-sdk bundle validate .<bundle_dir_or_image> --select-optional suite=operatorframework --optional-values=k8s-version=1.25
clouds: openstack: auth: auth_url: https://127.0.0.1:13000 password: thepassword project_domain_name: Default project_name: theprojectname user_domain_name: Default username: theusername region_name: regionOne
clouds: openstack: auth: auth_url: https://127.0.0.1:13000 application_credential_id: '5dc185489adc4b0f854532e1af81ffe0' application_credential_secret: 'PDCTKans2bPBbaEqBLiT_IajG8e5J_nJB4kvQHjaAy6ufhod0Zl0NkNoBzjn_bWSYzk587ieIGSlT11c4pVehA' auth_type: "v3applicationcredential" region_name: regionOne
sourceStrategy: env: - name: "BUILDAH_QUIET" value: "true"
## Snippet to remove unauthenticated group from all the cluster role bindings for clusterrolebinding in cluster-status-binding discovery system:basic-user system:discovery system:openshift:discovery ; do ### Find the index of unauthenticated group in list of subjects index=USD(oc get clusterrolebinding USD{clusterrolebinding} -o json | jq 'select(.subjects!=null) | .subjects | map(.name=="system:unauthenticated") | index(true)'); ### Remove the element at index from subjects array patch clusterrolebinding USD{clusterrolebinding} --type=json --patch "[{'op': 'remove','path': '/subjects/USDindex'}]"; done
oc get infrastructure/cluster -ojson | jq -r '.status.infrastructureName'
ibmcloud is lb <cluster_ID>-kubernetes-api-private --output json | jq -r '.provisioning_status'
oc get machine -n openshift-machine-api
NAME PHASE TYPE REGION ZONE AGE example-public-1-x4gpn-master-0 Running bx2-4x16 us-east us-east-1 23h example-public-1-x4gpn-master-1 Running bx2-4x16 us-east us-east-2 23h example-public-1-x4gpn-master-2 Running bx2-4x16 us-east us-east-3 23h example-public-1-x4gpn-worker-1-xqzzm Running bx2-4x16 us-east us-east-1 22h example-public-1-x4gpn-worker-2-vg9w6 Provisioned bx2-4x16 us-east us-east-2 22h example-public-1-x4gpn-worker-3-2f7zd Provisioned bx2-4x16 us-east us-east-3 22h
oc delete machine <name_of_machine> -n openshift-machine-api
oc get machine -n openshift-machine-api
NAME PHASE TYPE REGION ZONE AGE example-public-1-x4gpn-master-0 Running bx2-4x16 us-east us-east-1 23h example-public-1-x4gpn-master-1 Running bx2-4x16 us-east us-east-2 23h example-public-1-x4gpn-master-2 Running bx2-4x16 us-east us-east-3 23h example-public-1-x4gpn-worker-1-xqzzm Running bx2-4x16 us-east us-east-1 23h example-public-1-x4gpn-worker-2-mnlsz Running bx2-4x16 us-east us-east-2 8m2s example-public-1-x4gpn-worker-3-7nz4q Running bx2-4x16 us-east us-east-3 7m24s
./openshift-install wait-for install-complete
metadata: name: redhat-operators-disconnected spec: displayName: disconnected-redhat-operators image: registry.example.com:5000/disconnected-redhat-operators/disconnected-redhat-operator-index:v4.11 status: connectionState: lastObservedState: READY
metadata.annotations.upgrade: "1"
curl -X POST -i --insecure -u "<BMC_username>:<BMC_password>" https://<BMC_IP>/redfish/v1/EventService/Subscriptions -H 'Content-Type: application/json' --data-raw '{ "Protocol": "Redfish", "Context": "any string is valid", "Destination": "https://hw-event-proxy-openshift-bare-metal-events.apps.example.com/webhook", "EventTypes": ["Alert"] }'
oc delete pods --all -n openshift-cloud-controller-manager
cd ~/clusterconfigs/openshift vim openshift-worker-0.yaml
apiVersion: metal3.io/v1alpha1 kind: BareMetalHost metadata: annotations: bmac.agent-install.openshift.io/installer-args: '["--append-karg", "ip=<static_ip>::<gateway>:<netmask>:<hostname_1>:<interface>:none", "--save-partindex", "1", "-n"]' 1 2 3 4 5 inspect.metal3.io: disabled bmac.agent-install.openshift.io/hostname: <fqdn> 6 bmac.agent-install.openshift.io/role: <role> 7 generation: 1 name: openshift-worker-0 namespace: mynamespace spec: automatedCleaningMode: disabled bmc: address: idrac-virtualmedia://<bmc_ip>/redfish/v1/Systems/System.Embedded.1 8 credentialsName: bmc-secret-openshift-worker-0 disableCertificateVerification: true bootMACAddress: 94:6D:AE:AB:EE:E8 bootMode: "UEFI" rootDeviceHints: deviceName: /dev/sda
curl https://api.openshift.com/api/assisted-install/v2/infra-envs/USD{infra_env_id}/hosts/USD{host_id}/installer-args -X PATCH -H "Authorization: Bearer USD{API_TOKEN}" -H "Content-Type: application/json" -d ' { "args": [ "--append-karg", "ip=<static_ip>::<gateway>:<netmask>:<hostname_1>:<interface>:none", 1 2 3 4 5 "--save-partindex", "1", "-n" ] } ' | jq
oc adm release info 4.12.0 --pullspecs
oc adm release info 4.12.1 --pullspecs
oc adm release info 4.12.2 --pullspecs
oc adm release info 4.12.3 --pullspecs
oc adm release info 4.12.4 --pullspecs
oc adm release info 4.12.5 --pullspecs
oc adm release info 4.12.6 --pullspecs
oc adm release info 4.12.7 --pullspecs
oc adm release info 4.12.8 --pullspecs
oc adm release info 4.12.9 --pullspecs
oc adm release info 4.12.10 --pullspecs
oc adm release info 4.12.11 --pullspecs
oc adm release info 4.12.12 --pullspecs
oc adm release info 4.12.13 --pullspecs
oc adm release info 4.12.14 --pullspecs
oc adm release info 4.12.15 --pullspecs
oc adm release info 4.12.16 --pullspecs
oc adm release info 4.12.17 --pullspecs
oc adm release info 4.12.18 --pullspecs
oc adm release info 4.12.19 --pullspecs
oc adm release info 4.12.20 --pullspecs
oc adm release info 4.12.21 --pullspecs
oc adm release info 4.12.22 --pullspecs
oc adm release info 4.12.23 --pullspecs
oc adm release info 4.12.24 --pullspecs
oc adm release info 4.12.25 --pullspecs
oc adm release info 4.12.26 --pullspecs
oc adm release info 4.12.27 --pullspecs
oc adm release info 4.12.28 --pullspecs
oc adm release info 4.12.29 --pullspecs
The DNS provider failed to ensure the record: failed to find hosted zone for record: failed to get tagged resources: AccessDenied: User: [...] is not authorized to perform: route53:ListTagsForResources on resource: [...]
oc adm release info 4.12.30 --pullspecs
oc adm release info 4.12.31 --pullspecs
oc adm release info 4.12.32 --pullspecs
oc adm release info 4.12.33 --pullspecs
oc adm release info 4.12.34 --pullspecs
oc adm release info 4.12.35 --pullspecs
oc adm release info 4.12.36 --pullspecs
oc adm release info 4.12.37 --pullspecs
oc adm release info 4.12.39 --pullspecs
oc adm release info 4.12.40 --pullspecs
oc adm release info 4.12.41 --pullspecs
oc adm release info 4.12.42 --pullspecs
oc adm release info 4.12.43 --pullspecs
oc adm release info 4.12.44 --pullspecs
oc adm release info 4.12.45 --pullspecs
oc adm release info 4.12.46 --pullspecs
oc adm release info 4.12.47 --pullspecs
oc adm release info 4.12.48 --pullspecs
oc adm release info 4.12.49 --pullspecs
oc adm release info 4.12.50 --pullspecs
oc adm release info 4.12.51 --pullspecs
oc adm release info 4.12.53 --pullspecs
oc adm release info 4.12.54 --pullspecs
oc adm release info 4.12.55 --pullspecs
oc adm release info 4.12.56 --pullspecs
oc adm release info 4.12.57 --pullspecs
oc adm release info 4.12.58 --pullspecs
oc patch console.operator.openshift.io/cluster --type='merge' -p='{"status":{"conditions":null}}'
oc adm release info 4.12.59 --pullspecs
oc adm release info 4.12.60 --pullspecs
oc adm release info 4.12.61 --pullspecs
oc adm release info 4.12.63 --pullspecs
oc adm release info 4.12.64 --pullspecs
oc adm release info 4.12.65 --pullspecs
oc adm release info 4.12.66 --pullspecs
oc adm release info 4.12.67 --pullspecs
oc adm release info 4.12.68 --pullspecs
oc adm release info 4.12.69 --pullspecs
oc adm release info 4.12.70 --pullspecs
oc adm release info 4.12.71 --pullspecs
oc adm release info 4.12.72 --pullspecs
oc adm release info 4.12.73 --pullspecs
oc adm release info 4.12.74 --pullspecs