Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
Enable prom on the controller manager
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
  • Loading branch information
kfox1111 committed Feb 24, 2023
1 parent a23cae4 commit c3de3c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ data:
namespace: {{ .Release.Namespace }}
labels:
{{- include "spire-server.labels" . | nindent 8 }}
{{- if (dig "telemetry" "prometheus" "enabled" .Values.telemetry.prometheus.enabled .Values.global) }}
metrics:
bindAddress: 127.0.0.1:8082
bindAddress: 0.0.0.0:8082
{{- end }}
healthProbe:
bindAddress: 127.0.0.1:8083
leaderElection:
Expand Down
4 changes: 4 additions & 0 deletions charts/spire/charts/spire-server/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ spec:
- name: https
containerPort: 9443
protocol: TCP
{{- if (dig "telemetry" "prometheus" "enabled" .Values.telemetry.prometheus.enabled .Values.global) }}
- containerPort: 8082
name: prom2
{{- end }}
# TODO: implement probes
# livenessProbe:
# httpGet:
Expand Down

0 comments on commit c3de3c0

Please sign in to comment.