Repository navigation
enhancement/hypershift: sync storageclass-kms-key EP to implementation - #2
Open
devguyio-agent-smith[bot] wants to merge 6 commits into
Open
devguyio-agent-smith[bot] wants to merge 6 commits into
devguyio-agent-smith[bot] wants to merge 6 commits into
Conversation
added 6 commits
October 16, 2026 12:53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Sync the StorageClass KMS key enhancement proposal to the as-implemented design in the
feature/storage-kms-keywork. The EP had drifted from the implementation on severalaxes; this brings it back to the source of truth.
Drift corrected
csiDriverConfig->csiDriverOperator;CSIDriverOperatorConfig->CSIDriverOperatorSpec(the EP was even internallyinconsistent).
--storage-volumes-kms-key->--initial-storage-volumes-kms-key,with the help text synced to the registered flag.
MinProperties=1added on both new structs; the twohas()-based spec rules replacedby the single optional-chaining presence-equality rule;
matches(self, ...)->self.matches(...); and the two rules that were missing from the EP documented(platform-is-AWS guard, and the region-match rule with its split-size guard).
HostedControlPlane" claim. The shared
OperatorConfigurationfield is mirrored toHCP automatically, but the spec-level CEL guards live only on
HostedClusterSpecbecause HCP is controller-managed.
initialKMSKeyARN is set" design to the implemented precondition approach
(
WithGatedPreconditions), which gates all clusters on the initial rollout and stopsgating once the CSO workload exists.
hosted-cluster wording).
cases, malformed account ID, region mismatch, non-AWS platform, unrelated-field-update
accept); E2E section rewritten to the e2e-v2
storage-kmstest, itspublic-grouplabel, the
e2e-v2-awsjob, and theHYPERSHIFT_STORAGE_KMS_KEY_ALIASenv-var skipgate. Future tense removed.
provisional->implemented;last-updatedrefreshed.Prose use of "guest cluster" is retained (it is the prevalent term across the
openshift/enhancements HyperShift directory); only embedded godoc blocks use
"hosted cluster" to match the code.