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

Commit

Permalink
Fixup adding telemetry port in wrong place
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofranssen committed Feb 24, 2023
1 parent 18d1e37 commit e6ef725
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions charts/spire/charts/spire-agent/templates/daemonset.yaml
Expand Up @@ -48,6 +48,10 @@ spec:
ports:
- containerPort: {{ .Values.healthChecks.port }}
name: healthz
{{- if (dig "telemetry" "prometheus" "enabled" .Values.telemetry.prometheus.enabled .Values.global) }}
- containerPort: {{ .Values.telemetry.prometheus.port }}
name: prom
{{- end }}
volumeMounts:
- name: spire-config
mountPath: /run/spire/config
Expand All @@ -60,13 +64,6 @@ spec:
readOnly: false
- name: spire-token
mountPath: /var/run/secrets/tokens
ports:
- containerPort: {{ .Values.healthChecks.port }}
name: health
{{- if (dig "telemetry" "prometheus" "enabled" .Values.telemetry.prometheus.enabled .Values.global) }}
- containerPort: {{ .Values.telemetry.prometheus.port }}
name: prom
{{- end }}
livenessProbe:
httpGet:
path: /live
Expand Down

0 comments on commit e6ef725

Please sign in to comment.