Add spire-agent to spire-agent pod path (#180)

This commit is contained in:
kfox1111
2024-01-11 10:39:12 +00:00
committed by GitHub
parent befa074763
commit b61d4f5ae1
@@ -71,8 +71,9 @@ spec:
image: {{ template "spire-lib.image" (dict "appVersion" $.Chart.AppVersion "image" .Values.image "global" .Values.global) }} image: {{ template "spire-lib.image" (dict "appVersion" $.Chart.AppVersion "image" .Values.image "global" .Values.global) }}
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
args: ["-config", "/run/spire/config/agent.conf"] args: ["-config", "/run/spire/config/agent.conf"]
{{- if or (gt (len .Values.extraEnvVars) 0) $cbh }}
env: env:
- name: PATH
value: "/opt/spire/bin:/bin"
{{- if $cbh }} {{- if $cbh }}
- name: MY_NODE_NAME - name: MY_NODE_NAME
valueFrom: valueFrom:
@@ -82,7 +83,6 @@ spec:
{{- with .Values.extraEnvVars }} {{- with .Values.extraEnvVars }}
{{- toYaml . | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
{{- end }}
ports: ports:
- containerPort: {{ .Values.healthChecks.port }} - containerPort: {{ .Values.healthChecks.port }}
name: healthz name: healthz