We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc623ee commit d27c579Copy full SHA for d27c579
k8s/quickstart/agent-configmap.yaml
@@ -34,6 +34,7 @@ data:
34
# Minikube does not have a cert in the cluster CA bundle that
35
# can authenticate the kubelet cert, so skip validation.
36
skip_kubelet_verification = true
37
+ node_name_env = "MY_NODE_NAME"
38
}
39
40
k8s/quickstart/agent-daemonset.yaml
@@ -30,6 +30,11 @@ spec:
30
- name: spire-agent
31
image: ghcr.io/spiffe/spire-agent:1.5.1
32
args: ["-config", "/run/spire/config/agent.conf"]
33
+ env:
+ - name: MY_NODE_NAME
+ valueFrom:
+ fieldRef:
+ fieldPath: status.podIP
volumeMounts:
- name: spire-config
mountPath: /run/spire/config
0 commit comments