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