add config

This commit is contained in:
Kasper Juul Hermansen 2022-05-09 16:12:15 +02:00
parent a7ee800fc9
commit 53b9b067b7
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23
3 changed files with 34 additions and 34 deletions

View File

@ -1,32 +1,32 @@
#apiVersion: helm.cattle.io/v1
#kind: HelmChartConfig
#metadata:
# name: traefik
# namespace: kube-system
#spec:
# valuesContent: |-
# providers:
# kubernetesCRD:
# enabled: true
# allowCrossNamespace: true
# allowExternalNameServices: true
# # ingressClass: traefik-internal
# # labelSelector: environment=production,method=traefik
# namespaces:
# - "default"
# - "wishlist"
# - "kube-system"
#
# kubernetesIngress:
# enabled: true
# allowExternalNameServices: true
# allowEmptyServices: true
# # ingressClass: traefik-internal
# # labelSelector: environment=production,method=traefik
# namespaces:
# - "default"
# - "wishlist"
# - "kube-system"
# # IP used for Kubernetes Ingress endpoints
# publishedService:
# enabled: true
apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
name: traefik
namespace: kube-system
spec:
valuesContent: |-
providers:
kubernetesCRD:
enabled: true
allowCrossNamespace: true
allowExternalNameServices: true
# ingressClass: traefik-internal
# labelSelector: environment=production,method=traefik
namespaces:
- "default"
- "wishlist"
- "kube-system"
kubernetesIngress:
enabled: true
allowExternalNameServices: true
allowEmptyServices: true
# ingressClass: traefik-internal
# labelSelector: environment=production,method=traefik
namespaces:
- "default"
- "wishlist"
- "kube-system"
# IP used for Kubernetes Ingress endpoints
publishedService:
enabled: true

View File

@ -16,7 +16,7 @@ spec:
kind: TraefikService
tls:
secretName: clank-cert
---
#---
#apiVersion: traefik.containo.us/v1alpha1
#kind: IngressRoute
#metadata:

View File

@ -2,5 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- release.yaml
# - helm-chart-config.traefik.yaml
- helm-chart-config.traefik.yaml
- ingress.yaml