mirror of
https://github.com/wahyd4/home-argocd.git
synced 2026-08-08 21:05:09 +10:00
54 lines
1.4 KiB
YAML
54 lines
1.4 KiB
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: headlamp
|
|
namespace: argocd
|
|
spec:
|
|
project: default
|
|
source:
|
|
chart: headlamp
|
|
repoURL: https://kubernetes-sigs.github.io/headlamp/
|
|
path: headlamp
|
|
targetRevision: 0.30.1
|
|
helm:
|
|
releaseName: headlamp
|
|
# https://github.com/headlamp-k8s/headlamp/blob/main/charts/headlamp/values.yaml
|
|
values: |
|
|
ingress:
|
|
enabled: true
|
|
ingressClassName: nginx
|
|
annotations:
|
|
kubernetes.io/ingress.class: "nginx"
|
|
kubernetes.io/tls-acme: "true"
|
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
|
nginx.ingress.kubernetes.io/proxy-body-size: 50m
|
|
hosts:
|
|
- host: k8s.junv.cc
|
|
paths:
|
|
- path: /
|
|
type: Prefix
|
|
tls:
|
|
- secretName: headlamp-tls
|
|
hosts:
|
|
- k8s.junv.cc
|
|
|
|
# Add this config to use in-cluster configuration
|
|
config:
|
|
# Enable in-cluster mode (runs with the service account)
|
|
inCluster: true
|
|
|
|
# Add proper RBAC configuration
|
|
serviceAccount:
|
|
create: true
|
|
|
|
clusterRoleBinding:
|
|
create: true
|
|
clusterRoleName: cluster-admin
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: default
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|