Skip to content

Commit

Permalink
Merge pull request #586 from Dynatrace/fix-cloudNative-csi
Browse files Browse the repository at this point in the history
csi when operator is not classic
  • Loading branch information
IgnacioGoldman authored Feb 19, 2024
2 parents a57ff7d + a73c25a commit 53c1dc2
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,22 @@
delay: 5
until: dt_operator is not failed

- block:
- name: Download CSI manifest
ansible.builtin.get_url:
url: "https://github.com/Dynatrace/dynatrace-operator/releases/download/{{ dt_operator_release }}/kubernetes-csi.yaml"
dest: "{{ role_path }}/files/dt_operator-csi.yaml"
mode: '0664'
- name: Apply CSI manifest
kubernetes.core.k8s:
state: present
src: "{{ role_path }}/files/dt_operator-csi.yaml"
register: dt_operator_csi
retries: 10
delay: 5
until: dt_operator_csi is not failed
when: operator_mode != "classicFullStack"

- block:
- name: Template Dynakube manifest
ansible.builtin.template:
Expand Down

0 comments on commit 53c1dc2

Please sign in to comment.