Skip to content

Commit

Permalink
N21-2394 Update Tasks regarding WITH_SHD_CLIENT
Browse files Browse the repository at this point in the history
  • Loading branch information
mrikallab authored Feb 6, 2025
1 parent baa607c commit cd1f453
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ansible/roles/shd-client-core/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: svc.yml.j2
state: "{{ 'present' if WITH_SHD_CLIENT else 'absent'}}"
tags:
- service

Expand All @@ -12,6 +13,7 @@
namespace: "{{ NAMESPACE }}"
template: configmap.yml.j2
apply: yes
state: "{{ 'present' if WITH_SHD_CLIENT else 'absent'}}"
tags:
- configmap

Expand All @@ -20,6 +22,7 @@
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: deployment.yml.j2
state: "{{ 'present' if WITH_SHD_CLIENT else 'absent'}}"
tags:
- deployment

Expand All @@ -28,5 +31,6 @@
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: ingress.yml.j2
state: "{{ 'present' if WITH_SHD_CLIENT else 'absent'}}"
tags:
- ingress

0 comments on commit cd1f453

Please sign in to comment.