Files
Hrankin, Aleksandr (contracted) f243f440c3 init
2026-02-19 11:34:13 +00:00

66 lines
2.0 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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