Skip to content

Commit

Permalink
feat: added node name env to component
Browse files Browse the repository at this point in the history
  • Loading branch information
siredmar committed Jul 8, 2022
1 parent 9226239 commit 19565d2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cue/traits/edge-network-participant-trait.cue
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ template: {
{
"name": "DAPR_HTTP_ADDRESS",
"value": "localhost:3501"
},
{
"name": "NODE_NAME",
"valueFrom":
"fieldRef":
"fieldPath": "spec.nodeName"
}
],
"volumeMounts": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ spec:
name: "DAPR_HTTP_ADDRESS"
value: "localhost:3501"
},
{
name: "NODE_NAME"
valueFrom: fieldRef: fieldPath: "spec.nodeName"
},
]
volumeMounts: [
{
Expand Down

0 comments on commit 19565d2

Please sign in to comment.