Add spire-agent to spire-agent pod path (#180)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user