feat(whoami): Deploying whoami with ArgoCD and secret delivery

This commit is contained in:
Vegard Hagen
2023-01-07 13:48:12 +01:00
parent 6140fc8370
commit 600a7043f3
6 changed files with 29 additions and 12 deletions
+1
View File
@@ -32,3 +32,4 @@ override.tf.json
.idea
certs/
**/secrets/*
!secrets/kustomization.yaml
+21
View File
@@ -0,0 +1,21 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: whoami
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
path: apps/whoami
repoURL: https://github.com/vehagn/homelab
targetRevision: HEAD
destination:
namespace: whoami
name: in-cluster
syncPolicy:
automated:
selfHeal: true
syncOptions:
- CreateNamespace=true
-1
View File
@@ -3,7 +3,6 @@ kind: Kustomization
namespace: whoami
resources:
- namespace.yaml
- ingress.yaml
- traefik-forward-auth
- whoami
-4
View File
@@ -1,4 +0,0 @@
apiVersion: v1
kind: Namespace
metadata:
name: whoami
@@ -12,8 +12,3 @@ configMapGenerator:
- name: configs
files:
- configs/traefik-forward-auth.ini
secretGenerator:
- name: traefik-forward-auth-secrets
envs:
- secrets/traefik-forward-auth.env
+5
View File
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- whoami.yaml