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:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
@@ -1,4 +1,3 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ingress.yaml
|
||||
resources: []
|
||||
|
||||
Reference in New Issue
Block a user