Skip to content
Open
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
19 changes: 5 additions & 14 deletions Cargo.lock

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

83 changes: 19 additions & 64 deletions Cargo.nix

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ tokio = { version = "1.40", features = ["full"] }
tracing = "0.1"

[patch."https://github.com/stackabletech/operator-rs.git"]
# stackable-operator = { path = "../operator-rs/crates/stackable-operator" }
stackable-operator = { path = "../operator-rs/crates/stackable-operator" }
# stackable-operator = { git = "https://github.com/stackabletech//operator-rs.git", branch = "main" }
19 changes: 5 additions & 14 deletions crate-hashes.json

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

10 changes: 10 additions & 0 deletions deploy/helm/commons-operator/templates/roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@ rules:
- pods/eviction
verbs:
- create
# Required by the scaler admission webhook to read the live StackableScaler status
# (Kubernetes strips .status from oldObject for CRDs with a status subresource).
- apiGroups:
- autoscaling.stackable.tech
resources:
- stackablescalers
verbs:
- get
- list
- watch
# Required to maintain MutatingWebhookConfigurations. The operator needs to do this, as it needs
# to enter e.g. it's generated certificate in the webhooks.
- apiGroups: [admissionregistration.k8s.io]
Expand Down
Loading