some traefik fixes

This commit is contained in:
kjeld Schouten-Lebbing
2021-09-03 18:59:18 +02:00
parent a36ff5a66d
commit be2a701f36
4 changed files with 96 additions and 94 deletions
+1 -1
View File
@@ -22,4 +22,4 @@ sources:
- https://github.com/traefik/traefik-helm-chart - https://github.com/traefik/traefik-helm-chart
- https://traefik.io/ - https://traefik.io/
type: application type: application
version: 0.0.3 version: 0.0.4
@@ -57,7 +57,7 @@ questions:
label: "(Advanced) Controller Type" label: "(Advanced) Controller Type"
schema: schema:
type: string type: string
default: "daemonset" default: "deployment"
enum: enum:
- value: "deployment" - value: "deployment"
description: "Deployment" description: "Deployment"
@@ -280,7 +280,7 @@ questions:
label: "Log Level" label: "Log Level"
schema: schema:
type: string type: string
default: "Error" default: "ERROR"
enum: enum:
- value: "INFO" - value: "INFO"
description: "Info" description: "Info"
@@ -830,6 +830,8 @@ questions:
schema: schema:
type: boolean type: boolean
default: false default: false
show_subquestions_if: true
subquestions:
- variable: type - variable: type
label: "Service Type" label: "Service Type"
description: "ClusterIP's are only internally available, nodePorts expose the container to the host node System, Loadbalancer exposes the service using the system loadbalancer" description: "ClusterIP's are only internally available, nodePorts expose the container to the host node System, Loadbalancer exposes the service using the system loadbalancer"
@@ -1,6 +1,6 @@
{{/* Define the ingressClass */}} {{/* Define the ingressClass */}}
{{- define "traefik.ingressClass" -}} {{- define "traefik.ingressClass" -}}
{{- if and .Values.ingressClass.enabled }} {{- if .Values.ingressClass.enabled }}
--- ---
kind: IngressClass kind: IngressClass
metadata: metadata:
@@ -14,7 +14,7 @@ metadata:
{{- include "common.labels" . | nindent 4 }} {{- include "common.labels" . | nindent 4 }}
spec: spec:
entryPoints: entryPoints:
- traefik - main
routes: routes:
- match: PathPrefix(`/dashboard`) || PathPrefix(`/api`) - match: PathPrefix(`/dashboard`) || PathPrefix(`/api`)
kind: Rule kind: Rule