Skip to content

Instantly share code, notes, and snippets.

@joe-speedboat
Created July 10, 2023 15:13
Show Gist options
  • Save joe-speedboat/26610c5fef23905bb4869fb8170c11c4 to your computer and use it in GitHub Desktop.
Save joe-speedboat/26610c5fef23905bb4869fb8170c11c4 to your computer and use it in GitHub Desktop.
OKD 4.12 -> 4.13 upgrade fails "Release not accepted"
git clone https://github.com/openshift/cluster-update-keys.git
cd cluster-update-keys/
git checkout release-4.13
oc create configmap -n openshift-config-managed release-verification-keys --from-file=keys
oc patch clusterversion version --type=merge -p '{"spec":{"upstream":"https://api.openshift.com/api/upgrades_info/v1/graph","channel":"stable-4","overrides":[{"group":"config.openshift.io/v1","kind":"FeatureGate","name":"cluster","unmanaged":false},{"group":"config.openshift.io/v1","kind":"FeatureGate","name":"tech-preview-upgrade","unmanaged":false}],"releaseVerification":{"publicKey":"name=release-verification-keys","type":"ConfigMap"}}}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment