Enable agent to kubelet connection to use hostname (#112)

Co-authored-by: Marco Franssen <[email protected]>
This commit is contained in:
kfox1111
2023-11-28 08:43:09 +01:00
committed by GitHub
co-authored by Marco Franssen
parent e68f6170a6
commit d936293d50
5 changed files with 104 additions and 84 deletions
-6
View File
@@ -27,12 +27,6 @@ spire-agent:
runAsUser: null
runAsGroup: null
fsGroup: null
# Talk from the agent to kubelet based on hostname instead of localhost
extraEnvVars:
- name: MY_NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
upstream-spire-agent:
podSecurityContext: