Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@cniackz
Copy link
Contributor

@cniackz cniackz commented Apr 5, 2022

There was an issue on PR: #1071
I did not tested until now, and it is not working because of this issue:

Error: INSTALLATION FAILED: parse error at (tenant/templates/tenant.yaml:17): function "http" not defined

The solution is simple, this is a string value by default, and it is not a function (Solution: "http"):

-    prometheus.io/scheme: {{ dig "metrics" "protocol" http . | quote }}
+    prometheus.io/scheme: {{ dig "metrics" "protocol" "http" . | quote }}

By doing so and if we enable the Annotations then we will get proper value and not a crash when deploying:

Screen Shot 2022-04-05 at 7 12 41 PM

@cniackz cniackz added the bug Something isn't working label Apr 5, 2022
@cniackz cniackz self-assigned this Apr 5, 2022
@cniackz cniackz merged commit 3ddb9e1 into minio:master Apr 6, 2022
@cniackz cniackz deleted the fix-annotation-issue-on-helm-chart branch April 6, 2022 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants