Update .gitlab-ci.yml, apply.yml, destroy.yml

This commit is contained in:
2022-09-27 11:31:03 +00:00
parent b90b7a875e
commit a7ff14a792
3 changed files with 44 additions and 5 deletions

26
apply.yml Normal file
View File

@@ -0,0 +1,26 @@
- hosts: localhost
gather_facts: no
tasks:
- name: Create argocd namespace
kubernetes.core.k8s:
name: argocd
kind: Namespace
state: present
- name: deploy kubeseal
kubernetes.core.k8s:
src: ./kubeseal.key
state: present
force: yes
- name: deploy argocd
kubernetes.core.k8s:
src: ./argocd/argocd/argocd.yaml
namespace: argocd
state: present
- name: deploy apps for argocd
kubernetes.core.k8s:
src: ./argocd/argocd/apps.yaml
namespace: argocd
state: present