Closed rowansmithhc closed 1 month ago
Closing in favor of #786. Thank you for your contribution to HashiCorp!
@rowansmithhc I don't think this should prevent enabling the servicemonitor in 0.7.0? The parameters in values.yaml are defaults, though user-provided overrides aren't restricted to the parameters in values.yaml. So even though telemetry.serviceMonitor.enabled
isn't listed in values.yaml, it can still be set on a helm deployment and the templated yaml will pick it up:
$ helm template --version 0.7.0 --set 'telemetry.serviceMonitor.enabled=true' hashicorp/vault-secrets-operator | grep -i ServiceMonitor
# Source: vault-secrets-operator/templates/prometheus-servicemonitor.yaml
kind: ServiceMonitor
@tvoran yeah, that is correct. The use case I was referencing is not doing a command line based install, instead the chart is cloned/pushed to git and deployed via ArgoCD, so it would reference what is in the actual chart file in git, not what is in the stock helm chart file in the helm repo
In 0.6.0 this was correct:
https://github.com/hashicorp/vault-secrets-operator/blob/v0.6.0/chart/values.yaml#L639
In 0.7.0 this changed:
https://github.com/hashicorp/vault-secrets-operator/blob/v0.7.0/chart/values.yaml#L724
In the current state it's not possible to enable the servicemonitor: