Commit 98156ae
committed
fix: address CodeRabbit review feedback on Azure KMS PR
- Remove overly restrictive top-level CEL rule that required
selfManagedKMS for all WorkloadIdentities + Azure KMS combos.
The AzureKMSSpec-level rules already enforce mutual exclusivity
and "at least one of kms or selfManagedKMS must be set".
- Fix +required with omitempty contradiction on SelfManagedAzureKMS.ClientID
- Fix t.Fatal -> t.Fatalf with format verb in e2e test
- Fix t.Fatal in closure -> gomega assertion in azure_test.go
- Add HashStruct error handling in secretencryption_test.go
- Add v1 Azure encryption config test case for parity with AWS
- Add missing --location flag in docs examples
- Rename envtest suite from featuregated to stable (KMS is not gated)
- Add all required AzureWorkloadIdentities fields in envtest YAML
Signed-off-by: Bryan Cox <brcox@redhat.com>
Commit-Message-Assisted-by: Claude (via Claude Code)1 parent 559fe15 commit 98156ae
26 files changed
Lines changed: 86 additions & 113 deletions
File tree
- api/hypershift/v1beta1
- zz_generated.featuregated-crd-manifests/hostedclusters.hypershift.openshift.io
- cmd/install/assets/crds/hypershift-operator
- tests/hostedclusters.hypershift.openshift.io
- zz_generated.crd-manifests
- control-plane-operator/controllers/hostedcontrolplane/v2/kas
- kms
- docs/content
- how-to/azure
- reference
- test/e2e
- vendor/github.com/openshift/hypershift/api/hypershift/v1beta1
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
853 | 853 | | |
854 | 854 | | |
855 | 855 | | |
856 | | - | |
| 856 | + | |
857 | 857 | | |
858 | 858 | | |
859 | 859 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
530 | | - | |
531 | 530 | | |
532 | 531 | | |
533 | 532 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6530 | 6530 | | |
6531 | 6531 | | |
6532 | 6532 | | |
6533 | | - | |
6534 | | - | |
6535 | | - | |
6536 | | - | |
6537 | | - | |
6538 | | - | |
6539 | 6533 | | |
6540 | 6534 | | |
6541 | 6535 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6513 | 6513 | | |
6514 | 6514 | | |
6515 | 6515 | | |
6516 | | - | |
6517 | | - | |
6518 | | - | |
6519 | | - | |
6520 | | - | |
6521 | | - | |
6522 | 6516 | | |
6523 | 6517 | | |
6524 | 6518 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6533 | 6533 | | |
6534 | 6534 | | |
6535 | 6535 | | |
6536 | | - | |
6537 | | - | |
6538 | | - | |
6539 | | - | |
6540 | | - | |
6541 | | - | |
6542 | 6536 | | |
6543 | 6537 | | |
6544 | 6538 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6845 | 6845 | | |
6846 | 6846 | | |
6847 | 6847 | | |
6848 | | - | |
6849 | | - | |
6850 | | - | |
6851 | | - | |
6852 | | - | |
6853 | | - | |
6854 | 6848 | | |
6855 | 6849 | | |
6856 | 6850 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6985 | 6985 | | |
6986 | 6986 | | |
6987 | 6987 | | |
6988 | | - | |
6989 | | - | |
6990 | | - | |
6991 | | - | |
6992 | | - | |
6993 | | - | |
6994 | 6988 | | |
6995 | 6989 | | |
6996 | 6990 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6976 | 6976 | | |
6977 | 6977 | | |
6978 | 6978 | | |
6979 | | - | |
6980 | | - | |
6981 | | - | |
6982 | | - | |
6983 | | - | |
6984 | | - | |
6985 | 6979 | | |
6986 | 6980 | | |
6987 | 6981 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6959 | 6959 | | |
6960 | 6960 | | |
6961 | 6961 | | |
6962 | | - | |
6963 | | - | |
6964 | | - | |
6965 | | - | |
6966 | | - | |
6967 | | - | |
6968 | 6962 | | |
6969 | 6963 | | |
6970 | 6964 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6578 | 6578 | | |
6579 | 6579 | | |
6580 | 6580 | | |
6581 | | - | |
6582 | | - | |
6583 | | - | |
6584 | | - | |
6585 | | - | |
6586 | | - | |
6587 | 6581 | | |
6588 | 6582 | | |
6589 | 6583 | | |
| |||
0 commit comments