Browse Source

Add Pod IP to Flannel manifest. (#3379)

pull/3426/merge
Luke Seelenbinder 6 years ago
committed by k8s-ci-robot
parent
commit
3cfbc1a79a
1 changed files with 4 additions and 0 deletions
  1. 4
      roles/network_plugin/flannel/templates/cni-flannel.yml.j2

4
roles/network_plugin/flannel/templates/cni-flannel.yml.j2

@ -85,6 +85,10 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
volumeMounts:
- name: run
mountPath: /run

Loading…
Cancel
Save