@steven-sheehy requested changes on this pull request.
In stable/prometheus-mongodb-exporter/values.yaml:
> @@ -32,6 +32,7 @@ mongodb: # If this is provided, the value mongodb.uri is ignored. existingSecret: name: "" + key: ""
Just put "mongodb-uri" as default here and in README
In stable/prometheus-mongodb-exporter/templates/_helpers.tpl:
> \ No newline at end of file +{{- end -}} + +{{/* +Determine secret key, can either be the self-created of an existing one +*/}} +{{- define "prometheus-mongodb-exporter.secretKey" -}}
Don't think this function is necessary. Can simplify with a default in values.yaml and use {{ .Values.existingSecret.key }}
in manifests
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.