Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ansible/roles/mno-post-cluster-install/defaults/main/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ wait_until_cluster_stable: true
minimum_stable_period: 2m
wait_until_cluster_stable_timeout: 20m

# Remove assisted-installer namespace from cluster after installation
remove_assisted_installer_namespace: false

# Deploy performance-dashboards
setup_performance_dashboards: false

Expand Down
5 changes: 5 additions & 0 deletions ansible/roles/mno-post-cluster-install/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
KUBECONFIG={{ bastion_cluster_config_dir }}/kubeconfig oc adm wait-for-stable-cluster --minimum-stable-period={{ minimum_stable_period }} --timeout={{ wait_until_cluster_stable_timeout }}
when: wait_until_cluster_stable

- name: Remove assisted-installer namespace
shell: |
KUBECONFIG={{ bastion_cluster_config_dir }}/kubeconfig oc delete ns assisted-installer
when: remove_assisted_installer_namespace

- name: Apply a label to the worker node(s)
shell: |
KUBECONFIG={{ bastion_cluster_config_dir }}/kubeconfig oc label no --overwrite -l node-role.kubernetes.io/worker jetlag=true
Expand Down
3 changes: 3 additions & 0 deletions ansible/roles/sno-post-cluster-install/defaults/main/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ wait_until_cluster_stable: true
minimum_stable_period: 2m
wait_until_cluster_stable_timeout: 20m

# Remove assisted-installer namespace from cluster after installation
remove_assisted_installer_namespace: false

# Deploy openshift-gitops-operator
setup_openshift_gitops: false
gitops_channel: stable
Expand Down
5 changes: 5 additions & 0 deletions ansible/roles/sno-post-cluster-install/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
KUBECONFIG={{ bastion_cluster_config_dir }}/{{ groups['sno'][0] }}/kubeconfig oc adm wait-for-stable-cluster --minimum-stable-period={{ minimum_stable_period }} --timeout={{ wait_until_cluster_stable_timeout }}
when: wait_until_cluster_stable

- name: Remove assisted-installer namespace
shell: |
KUBECONFIG={{ bastion_cluster_config_dir }}/{{ groups['sno'][0] }}/kubeconfig oc delete ns assisted-installer
when: remove_assisted_installer_namespace

- name: Apply a label to the SNO node
shell: |
KUBECONFIG={{ bastion_cluster_config_dir }}/{{ groups['sno'][0] }}/kubeconfig oc label no --all --overwrite jetlag=true
Expand Down