Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kube-state-metrics]: Configurable extra rules for KSM ClusterRole #2249

Merged

Conversation

ikarlashov
Copy link
Contributor

@ikarlashov ikarlashov commented Jul 7, 2022

What this PR does / why we need it:

Adding configurable extra rules in ClusterRole. This is required to reach Custom Resources' apiGroups.

Special notes for your reviewer:

This implementation is mandatory to fulfill usage of --custom-resource-state-config-* flags for KSM, since current version of chart deploys ClusterRole with sufficient privileges only for default k8s objects.

Checklist

  • DCO signed
  • Chart Version bumped
  • Title of the PR starts with chart name (e.g. [prometheus-couchdb-exporter])

Copy link
Member

@monotek monotek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new feature should raise minor version

@ikarlashov ikarlashov force-pushed the extra_rules_for_clusterrole branch 2 times, most recently from e072223 to a29dea5 Compare July 8, 2022 11:51
prashant-shahi and others added 4 commits July 8, 2022 13:54
…metheus-community#2231)

* fix(alertmanager): 🚑 resolve replicaCount comparision type issue

Signed-off-by: Prashant Shahi <me@prashantshahi.dev>

* chore(release): 🔖 Bump up alertmanager to 0.18.3

Signed-off-by: Prashant Shahi <me@prashantshahi.dev>

* fix(alertmanager): 🚑 backward compatiblity with older version of Helm

Signed-off-by: Prashant Shahi <me@prashantshahi.dev>
Signed-off-by: Evgen Karlashov <ievgen.karlashov@kpn.com>
…terRole

Signed-off-by: Evgen Karlashov <ievgen.karlashov@kpn.com>
Signed-off-by: Evgen Karlashov <ievgen.karlashov@kpn.com>
Signed-off-by: Evgen Karlashov <ievgen.karlashov@kpn.com>
monotek
monotek previously approved these changes Jul 8, 2022
@@ -7,7 +7,7 @@ keywords:
- prometheus
- kubernetes
type: application
version: 4.11.0
version: 4.12.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We just released 4.12.0, you need to bump this again sorry

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It happens :) bumped to 4.13.0.

ikarlashov and others added 2 commits July 8, 2022 15:54
Signed-off-by: Evgen Karlashov <ievgen.karlashov@kpn.com>
Copy link
Member

@dotdc dotdc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dotdc dotdc merged commit f1c5e4b into prometheus-community:main Jul 8, 2022
@dotdc
Copy link
Member

dotdc commented Jul 8, 2022

Thank you for your contribution @ikarlashov !

@ikarlashov ikarlashov deleted the extra_rules_for_clusterrole branch July 8, 2022 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants