Commit ff5d672
committed
Sync
Two user-facing docs and one in-code constant comment had drifted
relative to the schema and runtime behaviour shipped earlier on this
branch. The schema docstrings and CRD reference were already in sync
with the code; this commit catches up the prose that users actually
read first.
* `docs/operator/virtualmcpserver-api.md`: the `authzConfig` section
listed `primaryUpstreamProvider` under `inline` with no deprecation
note, did not mention the new top-level claim-mapping fields on
`AuthzConfigRef`, and did not document the failure modes on
`AuthConfigured`. The new prose marks the inline location as
deprecated, points to
`spec.authServerConfig.primaryUpstreamProvider`, describes
`groupClaimName` / `roleClaimName` / `groupEntityType` with their
spec-over-ConfigMap precedence, and names the
`AuthzConfigMapNotFound` / `AuthzConfigMapInvalid` reasons users
will see on misconfiguration. Addresses F2.
* `docs/operator/virtualmcpserver-kubernetes-guide.md`: the
"Multiple upstream IDPs" troubleshooting block pinned
`primaryUpstreamProvider` at the deprecated inline location, so
anyone following the guide would emit
`AuthzPrimaryUpstreamProviderDeprecated` events on every reconcile.
The example now uses `spec.authServerConfig.primaryUpstreamProvider`.
Adds a "Migration: `primaryUpstreamProvider` location" note that
names the deprecation event reason and the planned removal cadence.
Adds an "Authorization policy errors" subsection covering
`AuthzConfigMapNotFound` / `AuthzConfigMapInvalid` and an
"Enterprise Cedar policies that deny every request" subsection
covering the claim-mapping knobs. Addresses F3, F7, and F13.
* `cmd/thv-operator/api/v1beta1/mcpserver_types.go`:
`ConditionTypeAuthzPrimaryUpstreamProviderIgnored` now carries the
deprecation lineage in its doc comment. The condition fires only
for the deprecated `InlineAuthzConfig.PrimaryUpstreamProvider`
field; when that field is removed at end of the deprecation cycle,
this condition and its reason constant should be removed in the
same change. Addresses Jakub's PR-level nit.
No code changes; comment and prose only.primaryUpstreamProvider guidance in user-facing docs1 parent 30b57ff commit ff5d672
3 files changed
Lines changed: 89 additions & 14 deletions
File tree
- cmd/thv-operator/api/v1beta1
- docs/operator
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
99 | 105 | | |
100 | 106 | | |
101 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
97 | 115 | | |
98 | 116 | | |
99 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
628 | 628 | | |
629 | 629 | | |
630 | 630 | | |
631 | | - | |
| 631 | + | |
632 | 632 | | |
633 | 633 | | |
634 | | - | |
635 | | - | |
636 | | - | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
637 | 637 | | |
638 | | - | |
639 | | - | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
640 | 651 | | |
641 | 652 | | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
642 | 693 | | |
643 | 694 | | |
644 | 695 | | |
| |||
0 commit comments