Skip to content
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

Helm: Support https for serviceAccounts and InternalTrafficPolicy for services. #6383

Merged
merged 12 commits into from
Feb 20, 2024
Prev Previous commit
Next Next commit
enable tlsConfig in servicemonitor
  • Loading branch information
captncraig committed Feb 17, 2024
commit f1013b25f1b6bbbf72410eb4adb466d61625a724
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Test rendering of the chart with the service monitor enabled
agent:
listenScheme: HTTPS
service:
enabled: true
serviceMonitor:
enabled: true
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ spec:
relabelings:
{{ tpl (toYaml .Values.serviceMonitor.relabelings | nindent 6) . }}
{{- end }}
{{- with .Values.serviceMonitor.tlsConfig }}
{{- toYaml . | nindent 4 }}
{{- end }}
selector:
matchLabels:
{{- include "grafana-agent.selectorLabels" . | nindent 6 }}
Expand Down
3 changes: 3 additions & 0 deletions operations/helm/charts/grafana-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ serviceMonitor:
# targetLabel: nodename
# replacement: $1
# action: replace

# -- Customize tls parameters for the service monitor
tlsConfig: {}

ingress:
# -- Enables ingress for the agent (faro port)
Expand Down