Closed maurice-arends closed 3 months ago
Probably this is good chance to migrate to the templated webhooks from common @Ornias1993
Likely we will port prometheus operator to directly consume upstream instead
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation.
App Name
prometheus-operator
SCALE Version
Not using SCALE
App Version
Chart version 1.0.2
Application Events
Application Logs
Application Configuration
Describe the bug
I'm using flux (https://fluxcd.io/) to install the helm chart in my cluster using the manifest shown in the Application Configuration section. This throws an error because the app label is added twice in the template files linked below:
https://github.com/truecharts/charts/blob/master/charts/operators/prometheus-operator/templates/_mutatingwebhookconfiguration.tpl
https://github.com/truecharts/charts/blob/master/charts/operators/prometheus-operator/templates/_validatingwebhookconfiguration.tpl
In both files, the duplcate label is present on line 14, I think this can be resolved by merging the app label with the $labels dictionary instead.
To Reproduce
Expected Behavior
Flux succeeds in installing the HelmRelease of the prometheus-operator
Screenshots
Not applicable
Additional Context
Currently I'm manually installing the prometheus-operator helm chart as part of a guacamole installation, along with the dependency on cloudnative-pg, both the latter applications I can install with flux without issues. Would love to see a fix for this chart, so I can do the entire install through flux.
I've read and agree with the following