mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 14:53:19 +00:00
feat(whoami): Deploying whoami with ArgoCD and secret delivery
This commit is contained in:
@@ -32,3 +32,4 @@ override.tf.json
|
||||
.idea
|
||||
certs/
|
||||
**/secrets/*
|
||||
!secrets/kustomization.yaml
|
||||
@@ -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
|
||||
@@ -3,7 +3,6 @@ kind: Kustomization
|
||||
namespace: whoami
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- ingress.yaml
|
||||
- traefik-forward-auth
|
||||
- whoami
|
||||
@@ -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
|
||||
@@ -0,0 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- whoami.yaml
|
||||
Reference in New Issue
Block a user