Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

### Changed

- Document Helm deployed RBAC permissions and remove unnecessary permissions ([#412]).

[#412]: https://github.com/stackabletech/commons-operator/pull/412

## [26.3.0] - 2026-03-16

## [26.3.0-rc1] - 2026-03-16
Expand Down
18 changes: 9 additions & 9 deletions Cargo.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions crate-hashes.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 13 additions & 10 deletions deploy/helm/commons-operator/templates/roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,62 +6,65 @@ metadata:
labels:
{{- include "operator.labels" . | nindent 4 }}
rules:
# Watch pods to detect expired restart annotations.
# Watch configmaps and secrets to trigger rolling restarts of referencing StatefulSets.
- apiGroups:
- ""
resources:
- pods
- configmaps
- secrets
- nodes
verbs:
- get
- list
- watch
# For automatic cluster domain detection
# For automatic cluster domain detection.
- apiGroups:
- ""
resources:
- nodes/proxy
verbs:
- get
# Watch and patch StatefulSets (labelled restarter.stackable.tech/enabled=true)
# to trigger rolling restarts when referenced ConfigMaps or Secrets change.
- apiGroups:
- apps
resources:
- statefulsets
verbs:
- get
- list
- watch
- patch # We need to add a label to the StatefulSet
- patch
# Emit Kubernetes events from the restart controllers.
- apiGroups:
- events.k8s.io
resources:
- events
verbs:
- create
- patch
# Evict pods whose restarter.stackable.tech/expires-at.* annotation timestamp
# has been reached.
- apiGroups:
- ""
resources:
- pods/eviction
verbs:
- create
# Required to maintain MutatingWebhookConfigurations. The operator needs to do this, as it needs
# to enter e.g. it's generated certificate in the webhooks.
# Required to maintain MutatingWebhookConfigurations with auto-generated and
# rotated webhook certificates.
- apiGroups: [admissionregistration.k8s.io]
resources: [mutatingwebhookconfigurations]
verbs:
- create
- patch
# Required to maintain the CRD. The operator needs to do this, as it needs to enter e.g. it's
# generated certificate in the conversion webhook.
{{ if .Values.maintenance.customResourceDefinitions.maintain }}
# Required to maintain the CRD with auto-generated and rotated webhook
# certificates.
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs:
- get
- create
- patch
{{ end }}
Loading