Skip to content

Commit

Permalink
update j2 template
Browse files Browse the repository at this point in the history
Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com>
  • Loading branch information
zhou1203 committed Oct 13, 2022
1 parent 8189ccc commit 658a53c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions roles/ks-core/ks-core/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,13 @@
# register: source_state
# failed_when: "source_state.stderr and 'already exists' not in source_state.stderr"

- name: KubeSphere | Creating manifests
template:
src: "{{ item.file }}.j2"
dest: "{{ kubesphere_dir }}/{{ item.file }}"
with_items:
- { path: ks-core, file: ks-upgrade.yaml }

- name: Kubesphere | Checking Users Manger and Workspaces Manger
shell:
{{ bin_dir }}/kubectl get globalroles.iam.kubesphere.io users-manager workspaces-manager --no-header | wc -l
Expand Down
2 changes: 1 addition & 1 deletion roles/ks-migration/templates/ks-upgrade.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
namespace: kubesphere-system
labels:
job: ks-upgrade
version: v3.0.0
version: v3.3.1
spec:
template:
spec:
Expand Down

0 comments on commit 658a53c

Please sign in to comment.