Commit dca57e8
authored
feat: Provision minimal TokenReview RBAC for OIDC auth and add SSL error logging in token parser (#6240)
* feat(operator): Provision minimal TokenReview RBAC for OIDC auth
When authz: oidc is configured, the operator now provisions a dedicated
feast-oidc-token-review ClusterRole and per-instance ClusterRoleBinding
with tokenreviews/create permission for SA token delegation.
Changes:
- Add OIDC status condition (AuthorizationReadyType) for feature parity
with Kubernetes auth
- Use instance-independent labels for shared ClusterRole to avoid
misleading audit trails when multiple FeatureStores use OIDC
- Clean up Kubernetes ClusterRoleBinding when switching auth types
- Add test coverage for OIDC RBAC creation and cleanup
Signed-off-by: Aniket Paluskar <apaluska@redhat.com>
* fix: Add ManagedByLabelKey to shared OIDC ClusterRole labels
Signed-off-by: Aniket Paluskar <apaluska@redhat.com>
* fix: Add Get-first check to cleanupKubernetesClusterRbac
Signed-off-by: Aniket Paluskar <apaluska@redhat.com>
* Updated .secret.baseline
Signed-off-by: Aniket Paluskar <apaluska@redhat.com>
---------
Signed-off-by: Aniket Paluskar <apaluska@redhat.com>1 parent 96562c4 commit dca57e8Copy full SHA for dca57e8
7 files changed
+784-446Lines changed: 784 additions & 446 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- infra/feast-operator
- api/v1
- bundle/manifests
- internal/controller
- authz
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
934 | 934 | |
935 | 935 | |
936 | 936 | |
937 | | - |
| 937 | + |
938 | 938 | |
939 | 939 | |
940 | 940 | |
| ||
1122 | 1122 | |
1123 | 1123 | |
1124 | 1124 | |
1125 | | - |
| 1125 | + |
1126 | 1126 | |
1127 | 1127 | |
1128 | 1128 | |
| ||
1539 | 1539 | |
1540 | 1540 | |
1541 | 1541 | |
1542 | | - |
| 1542 | + |
1543 | 1543 | |
Collapse file
infra/feast-operator/api/v1/featurestore_types.go
Copy file name to clipboardExpand all lines: infra/feast-operator/api/v1/featurestore_types.go+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
52 | 52 | |
53 | 53 | |
54 | 54 | |
| 55 | + |
55 | 56 | |
56 | 57 | |
57 | 58 | |
| ||
62 | 63 | |
63 | 64 | |
64 | 65 | |
| 66 | + |
65 | 67 | |
66 | 68 | |
67 | 69 | |
|
Collapse file
infra/feast-operator/bundle/manifests/feast-operator.clusterserviceversion.yaml
Copy file name to clipboardExpand all lines: infra/feast-operator/bundle/manifests/feast-operator.clusterserviceversion.yaml+33-33Lines changed: 33 additions & 33 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
50 | 50 | |
51 | 51 | |
52 | 52 | |
53 | | - |
| 53 | + |
54 | 54 | |
55 | 55 | |
56 | 56 | |
| ||
79 | 79 | |
80 | 80 | |
81 | 81 | |
82 | | - |
| 82 | + |
83 | 83 | |
84 | | - |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
85 | 88 | |
86 | 89 | |
87 | 90 | |
| ||
90 | 93 | |
91 | 94 | |
92 | 95 | |
93 | | - |
| 96 | + |
94 | 97 | |
95 | | - |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + |
96 | 109 | |
97 | 110 | |
98 | 111 | |
99 | | - |
| 112 | + |
100 | 113 | |
101 | | - |
| 114 | + |
102 | 115 | |
103 | 116 | |
104 | 117 | |
105 | 118 | |
106 | 119 | |
107 | | - |
108 | 120 | |
109 | 121 | |
110 | 122 | |
111 | | - |
| 123 | + |
112 | 124 | |
113 | | - |
| 125 | + |
114 | 126 | |
115 | 127 | |
116 | | - |
117 | | - |
118 | | - |
119 | | - |
120 | | - |
121 | | - |
122 | 128 | |
123 | | - |
| 129 | + |
124 | 130 | |
125 | | - |
126 | | - |
127 | | - |
128 | | - |
| 131 | + |
129 | 132 | |
130 | 133 | |
131 | 134 | |
132 | 135 | |
133 | 136 | |
| 137 | + |
134 | 138 | |
135 | 139 | |
136 | 140 | |
137 | | - |
| 141 | + |
138 | 142 | |
139 | | - |
140 | | - |
141 | | - |
| 143 | + |
142 | 144 | |
| 145 | + |
| 146 | + |
143 | 147 | |
144 | 148 | |
| 149 | + |
| 150 | + |
145 | 151 | |
146 | | - |
147 | | - |
148 | | - |
149 | | - |
150 | | - |
151 | | - |
152 | 152 | |
153 | 153 | |
154 | 154 | |
| ||
266 | 266 | |
267 | 267 | |
268 | 268 | |
269 | | - |
270 | | - |
271 | 269 | |
272 | 270 | |
273 | 271 | |
274 | 272 | |
| 273 | + |
| 274 | + |
275 | 275 | |
276 | 276 | |
277 | 277 | |
|
0 commit comments