Skip to content

Commit

Permalink
minikube: Add MY_POD variable to templates to fix running in debug mode
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Wilson <[email protected]>
  • Loading branch information
aaronnw committed Dec 19, 2024
1 parent 882d0ad commit 83c2ae8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/dev/k8s/kube_templates/aisproxy_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: MY_POD
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: AIS_NODE_ROLE
value: "proxy"
volumeMounts:
Expand Down
4 changes: 4 additions & 0 deletions deploy/dev/k8s/kube_templates/aistarget_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: MY_POD
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: AIS_NODE_ROLE
value: "target"
volumeMounts:
Expand Down

0 comments on commit 83c2ae8

Please sign in to comment.