forked from hitachienergy/epiphany
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes needed to upgrade 0.6.0 to 0.7.0 (hitachienergy#1405)
Fixes
- Loading branch information
Showing
4 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
core/src/epicli/data/common/ansible/playbooks/roles/upgrade/tasks/provide-kubeconfig.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
- name: Create .kube directory | ||
file: | ||
path: "/home/{{ admin_user.name }}/.kube/" | ||
state: directory | ||
owner: "{{ admin_user.name }}" | ||
group: "{{ admin_user.name }}" | ||
|
||
- name: Provide .kube/config | ||
copy: | ||
dest: "/home/{{ admin_user.name }}/.kube/config" | ||
content: "{{ hostvars[groups.kubernetes_master.0].kube_config.content | b64decode }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters