Merge pull request #1256 from AlexeyKasatkin/add_MY_NODE_NAME_var

add MY_NODE_NAME variable into netchecker-agent environment
This commit is contained in:
Matthew Mosesohn 2017-04-25 18:12:25 +03:00 committed by GitHub
commit 677d9c47ac
3 changed files with 12 additions and 0 deletions

View file

@ -20,6 +20,10 @@ spec:
valueFrom: valueFrom:
fieldRef: fieldRef:
fieldPath: metadata.name fieldPath: metadata.name
- name: MY_NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
args: args:
- "-v=5" - "-v=5"
- "-alsologtostderr=true" - "-alsologtostderr=true"

View file

@ -24,6 +24,10 @@ spec:
valueFrom: valueFrom:
fieldRef: fieldRef:
fieldPath: metadata.name fieldPath: metadata.name
- name: MY_NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
args: args:
- "-v=5" - "-v=5"
- "-alsologtostderr=true" - "-alsologtostderr=true"

View file

@ -24,6 +24,10 @@ spec:
valueFrom: valueFrom:
fieldRef: fieldRef:
fieldPath: metadata.name fieldPath: metadata.name
- name: MY_NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
args: args:
- "-v=5" - "-v=5"
- "-alsologtostderr=true" - "-alsologtostderr=true"