Forum Widgets
Recent Discussions
simon The OpenMetrics exporter for FA is not accepting
simon The OpenMetrics exporter for FA is not accepting the hardcoded (unless you do some kind of jerryrig with relabeling) "target" parameter when receiving the GET request from Prometheus Operator. It is expecting the "endpoint" parameter instead. I made a small mistake opening a PR against the main repo with the simple substitution I made for internal purposes, but I believe a retro-compatible solution would be the best, one the accepts both parameter names. How would you prefer to handle it?bcdonadio3 years agoNovice I12Views0likes0CommentsHello all I have a Helm Template helper function
Hello all I have a Helm Template helper function that is creating a JSON object that I am using in a Helm chart to template out the px-pure-secret from my values file: ```{{/* Template flashblade secret */}} {{- define "sd_portworx.flashbladeSecret" -}} {{- with .Values.flashblade }} {{- printf "{\"FlashBlades\": [{\"MgmtEndPoint\": \"%s\", \"APIToken\": \"%s\", \"NFSEndPoint\": \"%s\"}]}" .managementEndpoint .apiToken .nfsEndpoint | b64enc }} {{- end }} {{- end }}``` I can really simply add a function to template out the flasharraySecret from values as well: ```flasharray: managementEndpoint: "my_array" apiToken: "my_token"``` Is there any way to have helm concat those two templates together and have it be a valid json?craig_gill4 years agoNovice I10Views0likes0Comments
Tags
No tags to show