-
Notifications
You must be signed in to change notification settings - Fork 85
feat: add prometheus credentials to helm chart #96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
feat: add prometheus credentials to helm chart #96
Conversation
|
@davidzhao this is an attempt to bring livekit/livekit#2252 over to the helm chart. It's currently completely untested because I don't fully understand how to test local changes with flux/helm/... yet. |
24ef91f to
8d6b2d1
Compare
|
@davidzhao Meantime I figured out how to develop and test helm charts 😄 Here's an update PR that allows credentials to be set. They are
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use with instatt of if when using the value inside the block.
PS @livekit: why you do not merge any PRs?
| {{- if (include "livekit-server.prometheus_port" .) }} | ||
| - port: {{ include "livekit-server.prometheus_port" . }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| {{- if (include "livekit-server.prometheus_port" .) }} | |
| - port: {{ include "livekit-server.prometheus_port" . }} | |
| {{- with (include "livekit-server.prometheus_port" .) }} | |
| - port: {{ . }} |
| {{- if (include "livekit-server.prometheus_port" .) }} | ||
| - name: metrics | ||
| containerPort: {{ .Values.livekit.prometheus_port }} | ||
| hostPort: {{ .Values.livekit.prometheus_port }} | ||
| containerPort: {{ include "livekit-server.prometheus_port" . }} | ||
| hostPort: {{ include "livekit-server.prometheus_port" . }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| {{- if (include "livekit-server.prometheus_port" .) }} | |
| - name: metrics | |
| containerPort: {{ .Values.livekit.prometheus_port }} | |
| hostPort: {{ .Values.livekit.prometheus_port }} | |
| containerPort: {{ include "livekit-server.prometheus_port" . }} | |
| hostPort: {{ include "livekit-server.prometheus_port" . }} | |
| {{- with (include "livekit-server.prometheus_port" .) }} | |
| - name: metrics | |
| containerPort: {{ . }} | |
| hostPort: {{ . }} |
No description provided.