Fix traefik extensions
This commit is contained in:
parent
9b3fd3c895
commit
c3ffa693c2
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: softplayer-lib-workload
|
name: softplayer-lib-workload
|
||||||
description: A library to be reused accross softplayer charts
|
description: A library to be reused accross softplayer charts
|
||||||
type: library
|
type: library
|
||||||
version: 0.1.1
|
version: 0.1.2
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: allanger
|
- name: allanger
|
||||||
email: allanger@badhouseplants.net
|
email: allanger@badhouseplants.net
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{{- range $k, $v := .Values.traefik.tcpRoutes }}
|
{{- range $k, $v := .Values.traefik.tcpRoutes }}
|
||||||
{{- $customName := printf "%s-%s" (include "chart.fullname" $) $k }}
|
{{- $customName := printf "%s-%s" (include "chart.fullname" $) $k }}
|
||||||
---
|
---
|
||||||
{{- if .Capabilities.APIVersions.Has "traefik.io/v1alpha1/IngressRouteTCP" }}
|
{{- if $.Capabilities.APIVersions.Has "traefik.io/v1alpha1/IngressRouteTCP" }}
|
||||||
apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: IngressRouteTCP
|
kind: IngressRouteTCP
|
||||||
{{- include "lib.metadata" (dict "Context" $ "customName" $customName)}}
|
{{- include "lib.metadata" (dict "Context" $ "customName" $customName)}}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{{- range $k, $v := .Values.traefik.udpRoutes }}
|
{{- range $k, $v := .Values.traefik.udpRoutes }}
|
||||||
{{- $customName := printf "%s-%s" (include "chart.fullname" $) $k }}
|
{{- $customName := printf "%s-%s" (include "chart.fullname" $) $k }}
|
||||||
---
|
---
|
||||||
{{- if .Capabilities.APIVersions.Has "traefik.io/v1alpha1/IngressRouteUDP" }}
|
{{- if $.Capabilities.APIVersions.Has "traefik.io/v1alpha1/IngressRouteUDP" }}
|
||||||
apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: IngressRouteUDP
|
kind: IngressRouteUDP
|
||||||
{{- include "lib.metadata" (dict "Context" $ "customName" $customName)}}
|
{{- include "lib.metadata" (dict "Context" $ "customName" $customName)}}
|
||||||
|
Loading…
Reference in New Issue
Block a user