some traefik fixes
This commit is contained in:
@@ -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"
|
||||||
@@ -333,41 +333,41 @@ questions:
|
|||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "10ms"
|
default: "10ms"
|
||||||
- variable: fields
|
- variable: fields
|
||||||
label: "Fields"
|
label: "Fields"
|
||||||
schema:
|
|
||||||
type: dict
|
|
||||||
attrs:
|
|
||||||
- variable: general
|
|
||||||
label: "General"
|
|
||||||
schema:
|
schema:
|
||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
- variable: defaultmode
|
- variable: general
|
||||||
label: "Default Mode"
|
label: "General"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: dict
|
||||||
default: "keep"
|
attrs:
|
||||||
enum:
|
- variable: defaultmode
|
||||||
- value: "keep"
|
label: "Default Mode"
|
||||||
description: "Keep"
|
schema:
|
||||||
- value: "drop"
|
type: string
|
||||||
description: "Drop"
|
default: "keep"
|
||||||
- variable: headers
|
enum:
|
||||||
label: "Headers"
|
- value: "keep"
|
||||||
schema:
|
description: "Keep"
|
||||||
type: dict
|
- value: "drop"
|
||||||
attrs:
|
description: "Drop"
|
||||||
- variable: defaultmode
|
- variable: headers
|
||||||
label: "Default Mode"
|
label: "Headers"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: dict
|
||||||
default: "drop"
|
attrs:
|
||||||
enum:
|
- variable: defaultmode
|
||||||
- value: "keep"
|
label: "Default Mode"
|
||||||
description: "Keep"
|
schema:
|
||||||
- value: "drop"
|
type: string
|
||||||
description: "Drop"
|
default: "drop"
|
||||||
|
enum:
|
||||||
|
- value: "keep"
|
||||||
|
description: "Keep"
|
||||||
|
- value: "drop"
|
||||||
|
description: "Drop"
|
||||||
|
|
||||||
- variable: middlewares
|
- variable: middlewares
|
||||||
label: ""
|
label: ""
|
||||||
@@ -830,71 +830,73 @@ questions:
|
|||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
- variable: type
|
show_subquestions_if: true
|
||||||
label: "Service Type"
|
subquestions:
|
||||||
description: "ClusterIP's are only internally available, nodePorts expose the container to the host node System, Loadbalancer exposes the service using the system loadbalancer"
|
- variable: type
|
||||||
schema:
|
label: "Service Type"
|
||||||
type: string
|
description: "ClusterIP's are only internally available, nodePorts expose the container to the host node System, Loadbalancer exposes the service using the system loadbalancer"
|
||||||
default: "LoadBalancer"
|
|
||||||
enum:
|
|
||||||
- value: "ClusterIP"
|
|
||||||
description: "ClusterIP"
|
|
||||||
- value: "LoadBalancer"
|
|
||||||
description: "LoadBalancer"
|
|
||||||
- variable: loadBalancerIP
|
|
||||||
label: "LoadBalancer IP"
|
|
||||||
description: "LoadBalancerIP"
|
|
||||||
schema:
|
|
||||||
show_if: [["type", "=", "LoadBalancer"]]
|
|
||||||
type: string
|
|
||||||
default: ""
|
|
||||||
- variable: externalIPs
|
|
||||||
label: "External IP's"
|
|
||||||
description: "External IP's"
|
|
||||||
schema:
|
|
||||||
show_if: [["type", "=", "LoadBalancer"]]
|
|
||||||
type: list
|
|
||||||
default: []
|
|
||||||
items:
|
|
||||||
- variable: externalIP
|
|
||||||
label: "External IP"
|
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
- variable: portsList
|
default: "LoadBalancer"
|
||||||
label: "Additional TCP Entrypoints"
|
enum:
|
||||||
schema:
|
- value: "ClusterIP"
|
||||||
type: list
|
description: "ClusterIP"
|
||||||
default: []
|
- value: "LoadBalancer"
|
||||||
items:
|
description: "LoadBalancer"
|
||||||
- variable: portsListEntry
|
- variable: loadBalancerIP
|
||||||
label: "Custom Entrypoints"
|
label: "LoadBalancer IP"
|
||||||
|
description: "LoadBalancerIP"
|
||||||
schema:
|
schema:
|
||||||
type: dict
|
show_if: [["type", "=", "LoadBalancer"]]
|
||||||
attrs:
|
type: string
|
||||||
- variable: enabled
|
default: ""
|
||||||
label: "Enable the port"
|
- variable: externalIPs
|
||||||
schema:
|
label: "External IP's"
|
||||||
type: boolean
|
description: "External IP's"
|
||||||
default: true
|
schema:
|
||||||
hidden: true
|
show_if: [["type", "=", "LoadBalancer"]]
|
||||||
- variable: name
|
type: list
|
||||||
label: "Entrypoints Name"
|
default: []
|
||||||
|
items:
|
||||||
|
- variable: externalIP
|
||||||
|
label: "External IP"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: ""
|
- variable: portsList
|
||||||
- variable: protocol
|
label: "Additional TCP Entrypoints"
|
||||||
label: "Entrypoints Type"
|
schema:
|
||||||
|
type: list
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
- variable: portsListEntry
|
||||||
|
label: "Custom Entrypoints"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: dict
|
||||||
default: "UDP"
|
attrs:
|
||||||
enum:
|
- variable: enabled
|
||||||
- value: UDP
|
label: "Enable the port"
|
||||||
description: "UDP"
|
schema:
|
||||||
- variable: port
|
type: boolean
|
||||||
label: "Container Port"
|
default: true
|
||||||
schema:
|
hidden: true
|
||||||
type: int
|
- variable: name
|
||||||
required: true
|
label: "Entrypoints Name"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: ""
|
||||||
|
- variable: protocol
|
||||||
|
label: "Entrypoints Type"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: "UDP"
|
||||||
|
enum:
|
||||||
|
- value: UDP
|
||||||
|
description: "UDP"
|
||||||
|
- variable: port
|
||||||
|
label: "Container Port"
|
||||||
|
schema:
|
||||||
|
type: int
|
||||||
|
required: true
|
||||||
- variable: metrics
|
- variable: metrics
|
||||||
label: "metrics Service"
|
label: "metrics Service"
|
||||||
description: "The metrics Entrypoint service"
|
description: "The metrics Entrypoint service"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user