Skip to content

Commit

Permalink
Merge pull request #30 from mojaloop/add-node-taints
Browse files Browse the repository at this point in the history
first draft add taints
  • Loading branch information
dfry authored Mar 1, 2024
2 parents f2f002a + f0b20ed commit 0caf72b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mojaloop/iac/roles/argocd/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@
loop: "{{ node_pool_labels }}"
when: node_pool_labels is defined

- name: apply node taints
shell: |
kubectl --kubeconfig {{ kubeconfig_location }}/kubeconfig taint --overwrite nodes {{ item.node_name }} {% for taints in lookup('dict', item.node_taints, wantlist=True) %} {{ taints.value }}{% endfor %}
loop: "{{ node_pool_taints }}"
when: node_pool_taints is defined

- name: Upload ext secrets bootstrap files
template:
src: "templates/{{ item }}.yaml.j2"
Expand Down

0 comments on commit 0caf72b

Please sign in to comment.