mirror of
https://github.com/optim-enterprises-bv/homelab.git
synced 2025-11-03 11:27:52 +00:00
feat(dashboard): Deploying k8s dashboard with ArgoCD
This commit is contained in:
@@ -9,6 +9,8 @@ spec:
|
|||||||
destinations:
|
destinations:
|
||||||
- namespace: 'argocd'
|
- namespace: 'argocd'
|
||||||
server: '*'
|
server: '*'
|
||||||
|
- namespace: 'kubernetes-dashboard'
|
||||||
|
server: '*'
|
||||||
- namespace: 'metallb-system'
|
- namespace: 'metallb-system'
|
||||||
server: '*'
|
server: '*'
|
||||||
clusterResourceWhitelist:
|
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:
|
configMapGenerator:
|
||||||
- name: configs
|
- name: configs
|
||||||
files:
|
files:
|
||||||
- configs/traefik-forward-auth.ini
|
- configs/traefik-forward-auth.ini
|
||||||
|
|
||||||
secretGenerator:
|
|
||||||
- name: traefik-forward-auth-secrets
|
|
||||||
envs:
|
|
||||||
- secrets/traefik-forward-auth.env
|
|
||||||
@@ -3,4 +3,5 @@ kind: Kustomization
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
- arr.yaml
|
- arr.yaml
|
||||||
|
- dashboard.yaml
|
||||||
- whoami.yaml
|
- whoami.yaml
|
||||||
Reference in New Issue
Block a user