File tree Expand file tree Collapse file tree
charts/spire-client-example/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33 export CLIENT_EXAMPLE=$(kubectl -n {{ .Release.Namespace }} get pods -o jsonpath="{.items[0].metadata.name}" -l app.kubernetes.io/name={{ .Chart.Name }})
44 kubectl -n {{ .Release.Namespace }} exec -it $CLIENT_EXAMPLE -- \
5- bin/spire-agent api fetch -socketPath /run /spire/sockets/ agent.sock
5+ bin/spire-agent api fetch -socketPath /spiffe-workload-api /spire- agent.sock
Original file line number Diff line number Diff line change @@ -51,18 +51,18 @@ spec:
5151 - /opt/spire/bin/spire-agent
5252 - healthcheck
5353 - -socketPath
54- - /run /spire/sockets/ agent.sock
54+ - /spiffe-workload-api /spire- agent.sock
5555 resources :
5656 {{- toYaml .Values.resources | nindent 12 }}
5757 volumeMounts :
58- - name : spire-agent-socket
59- mountPath : /run/spire/sockets
58+ - name : spiffe-workload-api
59+ mountPath : /spiffe-workload-api
6060 readOnly : true
6161 volumes :
62- - name : spire-agent-socket
63- hostPath :
64- path : /run/spire/sockets
65- type : Directory
62+ - name : spiffe-workload-api
63+ csi :
64+ driver : " csi.spiffe.io "
65+ readOnly : true
6666 {{- with .Values.nodeSelector }}
6767 nodeSelector :
6868 {{- toYaml . | nindent 8 }}
You can’t perform that action at this time.
0 commit comments