REFACTOR(obs): integrate ingress to helm-values

- alertmanager: move ingress to karma inline, servicemonitor to manifests
- goldilocks: move ingress to helm-values
- grafana: move ingress to helm-values
- uptime-kuma: move ingress to helm-values
This commit is contained in:
2026-01-06 01:57:03 +09:00
parent 28ba50d1a3
commit 7b9abaf9c8
13 changed files with 64 additions and 134 deletions

View File

@@ -18,17 +18,21 @@ dashboard:
type: ClusterIP
port: 80
# Ingress configuration (optional)
ingress:
enabled: false
# Uncomment below to enable ingress
# enabled: true
# ingressClassName: nginx
# hosts:
# - host: goldilocks.example.com
# paths:
# - path: /
# type: Prefix
enabled: true
ingressClassName: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
traefik.ingress.kubernetes.io/router.middlewares: authelia-authelia-auth@kubernetescrd
hosts:
- host: goldilocks0213.kro.kr
paths:
- path: /
type: Prefix
tls:
- secretName: goldilocks-dashboard-tls
hosts:
- goldilocks0213.kro.kr
# Controller configuration
controller:

View File

@@ -1,25 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: goldilocks-dashboard-ingress
namespace: goldilocks
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
traefik.ingress.kubernetes.io/router.middlewares: authelia-authelia-auth@kubernetescrd
spec:
ingressClassName: traefik
tls:
- hosts:
- goldilocks0213.kro.kr
secretName: goldilocks-dashboard-tls
rules:
- host: goldilocks0213.kro.kr
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: goldilocks-dashboard
port:
number: 80

View File

@@ -1,4 +1,3 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ingress.yaml
resources: []