Skip to content

Commit

Permalink
Merge pull request #128 from nokia/hard-coded-tmp
Browse files Browse the repository at this point in the history
fixed hardcoded tmp directories
  • Loading branch information
s3wong authored Jan 25, 2023
2 parents 5731dfe + 7d43ecd commit 5410cc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- create

- name: Deploy cluster {{ item.key }}
shell: "kind create cluster --name {{ item.key }} --kubeconfig ~/.kube/{{ item.key }}-config --config /tmp/{{ item.key }}-cluster-config.yaml"
shell: "kind create cluster --name {{ item.key }} --kubeconfig ~/.kube/{{ item.key }}-config --config {{ tmp_directory }}/{{ item.key }}-cluster-config.yaml"
register: result
failed_when:
- result.rc > 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ networking:
nodes:
- role: control-plane
extraMounts:
- hostPath: /tmp/cni
- hostPath: "{{ tmp_directory }}/cni"
containerPath: /opt/cni/bin

0 comments on commit 5410cc7

Please sign in to comment.