mirror of
https://github.com/optim-enterprises-bv/homelab.git
synced 2025-11-01 18:37:52 +00:00
feat(dashboard): Deploying k8s dashboard with ArgoCD
This commit is contained in:
@@ -9,6 +9,8 @@ spec:
|
||||
destinations:
|
||||
- namespace: 'argocd'
|
||||
server: '*'
|
||||
- namespace: 'kubernetes-dashboard'
|
||||
server: '*'
|
||||
- namespace: 'metallb-system'
|
||||
server: '*'
|
||||
clusterResourceWhitelist:
|
||||
|
||||
21
infra/dashboard.yaml
Normal file
21
infra/dashboard.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: dashboard
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: infrastructure
|
||||
source:
|
||||
path: infra/dashboard
|
||||
repoURL: https://github.com/vehagn/homelab
|
||||
targetRevision: HEAD
|
||||
destination:
|
||||
namespace: kubernetes-dashboard
|
||||
name: in-cluster
|
||||
syncPolicy:
|
||||
automated:
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -11,9 +11,4 @@ resources:
|
||||
configMapGenerator:
|
||||
- name: configs
|
||||
files:
|
||||
- configs/traefik-forward-auth.ini
|
||||
|
||||
secretGenerator:
|
||||
- name: traefik-forward-auth-secrets
|
||||
envs:
|
||||
- secrets/traefik-forward-auth.env
|
||||
- configs/traefik-forward-auth.ini
|
||||
@@ -3,4 +3,5 @@ kind: Kustomization
|
||||
|
||||
resources:
|
||||
- arr.yaml
|
||||
- dashboard.yaml
|
||||
- whoami.yaml
|
||||
Reference in New Issue
Block a user