Skip to content

Commit 6809faf

Browse files
author
Alan Christie
committed
fix: Fix DM deployment
1 parent 7a2743b commit 6809faf

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

roles/operator/tasks/dm.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,19 @@
88

99
# Check the Data Manager Namespace and Service Account exists...
1010

11-
- name: Deploy DataManager RBAC objects
11+
- name: Deploy DataManager RBAC objects (kubeconfig)
12+
when: jo_kubeconfig != 'SetMe'
1213
module_defaults:
1314
group/k8s:
1415
kubeconfig: "{{ jo_kubeconfig }}"
1516
block:
1617

17-
- name: Patch the Data Manager ({{ jo_dmapi_namespace }})
18+
- name: Patch the Data Manager ({{ jo_dmapi_namespace }}) (kubeconfig)
19+
ansible.builtin.include_tasks: dm-patch.yaml
20+
21+
- name: Deploy DataManager RBAC objects (k8s API)
22+
when: jo_kubeconfig == 'SetMe'
23+
block:
24+
25+
- name: Patch the Data Manager ({{ jo_dmapi_namespace }}) (k8s API)
1826
ansible.builtin.include_tasks: dm-patch.yaml

0 commit comments

Comments
 (0)