This commit is contained in:
Hrankin, Aleksandr (contracted)
2026-02-19 11:34:13 +00:00
commit f243f440c3
191 changed files with 6183 additions and 0 deletions

View File

@@ -0,0 +1,65 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: netbird-dashboard
namespace: argocd
spec:
project: default
source:
repoURL: https://charts.jaconi.io
chart: netbird-dashboard
targetRevision: "*"
helm:
releaseName: netbird-dashboard
values: |-
image:
# Версия образа UI
tag: v2.22.2
auth:
authority: https://keycloak.example.com/realms/homelab
audience: netbird
clientID: netbird
supportedScopes: >
openid profile email offline_access netbird-api
netbird:
# !!! ВАЖНО !!!
# Здесь указываем тот же домен, по которому приходит трафик снаружи.
# На первом этапе можем просто использовать netbird.local он будет
# ходить к backend'у через ingress-nginx.
managementApiEndpoint: https://netbird.local
managementGrpcApiEndpoint: https://netbird.local
ingress:
enabled: true
className: nginx
annotations: {}
hosts:
- host: netbird.local
paths:
- path: /
pathType: Prefix
# Пока TLS можно не поднимать (нет cert-manager / real cert'ов):
tls: []
# Если будешь использовать cert-manager:
# annotations:
# cert-manager.io/cluster-issuer: letsencrypt
# tls:
# - secretName: netbird-tls-certificate
# hosts:
# - netbird.local
destination:
server: https://kubernetes.default.svc
namespace: netbird
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
# kubectl apply -f main.yaml -n argocd