diff --git a/apps/kustomization.yaml b/apps/kustomization.yaml index d0b92d7..c31e1b6 100644 --- a/apps/kustomization.yaml +++ b/apps/kustomization.yaml @@ -4,3 +4,4 @@ kind: Kustomization resources: - nginx-app.yaml - scriptscribe.yaml + - sealed-secrets.yaml diff --git a/apps/sealed-secrets.yaml b/apps/sealed-secrets.yaml new file mode 100644 index 0000000..3190ea5 --- /dev/null +++ b/apps/sealed-secrets.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: sealed-secrets + namespace: argocd +spec: + project: default + source: + repoURL: https://gitea.whyredfire.tech/whyredfire/gitops + targetRevision: main + path: infra/sealed-secrets + destination: + server: https://kubernetes.default.svc + namespace: sealed-secrets + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true + diff --git a/bootstrap/argocd/kustomization.yaml b/bootstrap/argocd/kustomization.yaml index 5ce5b17..2d378ef 100644 --- a/bootstrap/argocd/kustomization.yaml +++ b/bootstrap/argocd/kustomization.yaml @@ -2,5 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: + - namespace.yaml - root-app.yaml - ssh-known-hosts-cm.yaml diff --git a/bootstrap/namespace.yaml b/bootstrap/argocd/namespace.yaml similarity index 100% rename from bootstrap/namespace.yaml rename to bootstrap/argocd/namespace.yaml diff --git a/bootstrap/kustomization.yaml b/bootstrap/kustomization.yaml index 291eaed..f9f5fd1 100644 --- a/bootstrap/kustomization.yaml +++ b/bootstrap/kustomization.yaml @@ -4,8 +4,5 @@ kind: Kustomization namespace: argocd resources: - - namespace.yaml - # ArgoCD installation - https://raw.githubusercontent.com/argoproj/argo-cd/v3.2.0/manifests/install.yaml - # Bootstrap the app-of-apps - argocd diff --git a/infra/sealed-secrets/kustomization.yaml b/infra/sealed-secrets/kustomization.yaml new file mode 100644 index 0000000..ab93798 --- /dev/null +++ b/infra/sealed-secrets/kustomization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: + - https://github.com/bitnami-labs/sealed-secrets/releases/download/v0.33.1/controller.yaml +