Commit 1bbe788
✨ Deprecate ClusterExtension spec.serviceAccount (#2770)
* feat(api): deprecate spec.serviceAccount and adopt cluster-admin scope
Mark spec.serviceAccount as deprecated in the ClusterExtension API.
Remove PreAuthorizer integration, SA-scoped RBAC templates, and
restconfig action. Simplify the controller to use cluster-admin
scope directly.
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Daniel Franz <dfranz@redhat.com>
* feat: add ValidatingAdmissionPolicy for serviceAccount deprecation warning
Create VAP and VAPB resources that emit a warning when
spec.serviceAccount is set on a ClusterExtension. Add integration
test infrastructure for warning collection.
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Daniel Franz <dfranz@redhat.com>
* test: clean up e2e tests for serviceAccount deprecation
Remove SA-specific e2e test scenarios, SA RBAC templates, and the
extension developer test suite. Simplify test steps to use
cluster-admin scope.
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Daniel Franz <dfranz@redhat.com>
* refactor: remove per-SA infrastructure and feature gates
Delete authentication and authorization packages, feature gates,
k8smaintainer tool, SA demo scripts, and documentation. Remove
k8s.io/kubernetes dependency and unnecessary k8s staging replace
directives.
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Daniel Franz <dfranz@redhat.com>
* refactor: replace contentmanager with shared TrackingCache
Delete the contentmanager package and replace it with boxcutter's
shared TrackingCache. Simplify revision engine factory to use
the base config directly. Remove SA label constants.
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Daniel Franz <dfranz@redhat.com>
* docs: update documentation for cluster-admin scope
Remove SA-related documentation, tutorials, and demo scripts.
Clean up remaining ServiceAccount references from unit tests.
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Daniel Franz <dfranz@redhat.com>
* Add documentation examples for using ValidatingAdmissionPolicy to protect OLMv1 API access.
Signed-off-by: Daniel Franz <dfranz@redhat.com>
Co-Authored-By: Predrag Knezevic <pknezevi@redhat.com>
Co-Authored-By: Daniel Franz <dfranz@redhat.com>
Co-Authored-By: Claude <noreply@anthropic.com>
* docs: rewrite cluster-admin scope section in design decisions doc
Also updates go.mod/go.sum to fix k8s.io/client-go version.
---------
Signed-off-by: Daniel Franz <dfranz@redhat.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Daniel Franz <dfranz@redhat.com>
Co-authored-by: Joe Lanford <joe.lanford@gmail.com>1 parent 4562584 commit 1bbe788
105 files changed
Lines changed: 1822 additions & 8166 deletions
File tree
- api/v1
- applyconfigurations/api/v1
- cmd/operator-controller
- config/samples
- docs
- api-reference
- concepts
- draft
- howto
- project
- getting-started
- howto
- project
- tutorials
- hack/tools/k8smaintainer
- helm
- olmv1
- base/operator-controller/crd
- experimental
- standard
- templates
- rbac
- internal
- operator-controller
- action
- applier
- authentication
- authorization
- contentmanager
- cache
- source
- internal
- controllers
- features
- labels
- resolve
- testutil/mock
- authorization
- cmcache
- contentmanager
- rbac
- manifests
- scripts
- test
- e2e
- features
- steps
- testdata
- extension-developer-e2e
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | 148 | | |
153 | 149 | | |
154 | 150 | | |
| |||
210 | 206 | | |
211 | 207 | | |
212 | 208 | | |
213 | | - | |
| 209 | + | |
214 | 210 | | |
215 | 211 | | |
216 | 212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
| 53 | + | |
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
| |||
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
75 | 73 | | |
76 | | - | |
77 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | 153 | | |
155 | 154 | | |
156 | 155 | | |
| |||
378 | 377 | | |
379 | 378 | | |
380 | 379 | | |
381 | | - | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
382 | 385 | | |
383 | | - | |
384 | | - | |
| 386 | + | |
385 | 387 | | |
386 | | - | |
| 388 | + | |
387 | 389 | | |
388 | 390 | | |
389 | 391 | | |
| |||
402 | 404 | | |
403 | 405 | | |
404 | 406 | | |
| 407 | + | |
405 | 408 | | |
406 | | - | |
| 409 | + | |
407 | 410 | | |
408 | | - | |
409 | | - | |
| 411 | + | |
| 412 | + | |
410 | 413 | | |
411 | 414 | | |
412 | 415 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 26 | | |
30 | 27 | | |
31 | 28 | | |
| |||
Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments