webhook: add NODE_NAME environment variable to admission webhook
Longhorn 3562
@@ -120,6 +120,10 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
+ - name: NODE_NAME
+ valueFrom:
+ fieldRef:
+ fieldPath: spec.nodeName
# imagePullSecrets:
# - name: ""
# priorityClassName:
