Add Flux CD for Helm deployment
Sem-Ver: feature
Change-Id: I27b08b4be9504045727a4cc2793f7d71c190a1c1
diff --git a/roles/cilium/meta/main.yml b/roles/cilium/meta/main.yml
index 4a45f6f..0db2ae7 100644
--- a/roles/cilium/meta/main.yml
+++ b/roles/cilium/meta/main.yml
@@ -21,9 +21,3 @@
- name: Ubuntu
versions:
- focal
-
-dependencies:
- - role: helm_repository
- vars:
- helm_repository_name: cilium
- helm_repository_repo_url: https://helm.cilium.io/
diff --git a/roles/cilium/tasks/main.yml b/roles/cilium/tasks/main.yml
index dadbf7e..170d1b4 100644
--- a/roles/cilium/tasks/main.yml
+++ b/roles/cilium/tasks/main.yml
@@ -12,6 +12,11 @@
# License for the specific language governing permissions and limitations
# under the License.
+- name: Configure Helm repository
+ kubernetes.core.helm_repository:
+ name: cilium
+ repo_url: https://helm.cilium.io/
+
- name: Deploy Helm chart
kubernetes.core.helm:
name: cilium