Skip to content

Commit d6970d9

Browse files
authored
chore: remove unused RBAC role (#914)
* chore: remove unused RBAC role * update changelog
1 parent e799347 commit d6970d9

File tree

4 files changed

+5
-13
lines changed

4 files changed

+5
-13
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ All notable changes to this project will be documented in this file.
88

99
- Refactor: move server configuration properties from the command line to configuration files. ([#911]).
1010

11+
### Removed
12+
13+
- Refactor: remove unused RBAC cluster role ([#914]).
14+
1115
[#911]: https://github.com/stackabletech/kafka-operator/pull/911
16+
[#914]: https://github.com/stackabletech/kafka-operator/pull/914
1217

1318
## [25.11.0] - 2025-11-07
1419

deploy/helm/kafka-operator/templates/deployment.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ spec:
7979
value: {{ .Values.kubernetesClusterDomain | quote }}
8080
{{- end }}
8181
{{- include "telemetry.envVars" . | nindent 12 }}
82-
- name: KAFKA_BROKER_CLUSTERROLE
83-
value: {{ include "operator.fullname" . }}-kafka-broker-clusterrole
8482
volumes:
8583
- name: config-spec
8684
configMap:

deploy/helm/kafka-operator/templates/roles-kafka.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

rust/operator-binary/src/main.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ struct Opts {
6161

6262
#[derive(clap::Parser)]
6363
struct KafkaRun {
64-
#[clap(long, env)]
65-
kafka_broker_clusterrole: String,
6664
#[clap(flatten)]
6765
common: RunArguments,
6866
}
@@ -198,10 +196,6 @@ async fn main() -> anyhow::Result<()> {
198196
Ok(())
199197
}
200198

201-
pub struct ControllerConfig {
202-
pub broker_clusterrole: String,
203-
}
204-
205199
fn references_config_map(
206200
kafka: &DeserializeGuard<v1alpha1::KafkaCluster>,
207201
config_map: &DeserializeGuard<ConfigMap>,

0 commit comments

Comments
 (0)