Skip to content
Snippets Groups Projects
Commit dd69942b authored by kaiyou's avatar kaiyou
Browse files

Hardcode the order bootstrap kustomizations are run in

parent 49840d80
No related branches found
No related tags found
No related merge requests found
Pipeline #30935 failed
...@@ -76,9 +76,10 @@ ...@@ -76,9 +76,10 @@
- name: Deploy bootstrap kustomizations - name: Deploy bootstrap kustomizations
# Sleep after applying, so that any CRD has time to settle down (the CRD registration # Sleep after applying, so that any CRD has time to settle down (the CRD registration
# controller is on a fixed timer) # controller is on a fixed timer)
ansible.builtin.shell: "kubectl apply -k /tmp/hepto/{{ item.path }}; sleep 30" ansible.builtin.shell: "kubectl apply -k /tmp/hepto/{{ item }}; sleep 30"
with_community.general.filetree: "{{ playbook_dir }}/../../kustomizations" loop:
when: item.state == 'directory' - calico
- bootstrap
environment: environment:
KUBECONFIG: "{{ kubeconfig }}" KUBECONFIG: "{{ kubeconfig }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment