forked from Ivasoft/traefik
Add TLSStores to Kubernetes CRD
This commit is contained in:
@@ -57,6 +57,22 @@ spec:
|
||||
singular: tlsoption
|
||||
scope: Namespaced
|
||||
|
||||
---
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: tlsstores.traefik.containo.us
|
||||
|
||||
spec:
|
||||
group: traefik.containo.us
|
||||
version: v1alpha1
|
||||
names:
|
||||
kind: TLSStore
|
||||
plural: tlsstores
|
||||
singular: tlsstore
|
||||
scope: Namespaced
|
||||
|
||||
|
||||
---
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
|
||||
@@ -19,3 +19,5 @@ spec:
|
||||
tls:
|
||||
options:
|
||||
name: mytlsoption
|
||||
store:
|
||||
name: mytlsstore
|
||||
|
||||
9
integration/fixtures/k8s/03-tlsstore.yml
Normal file
9
integration/fixtures/k8s/03-tlsstore.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: TLSStore
|
||||
metadata:
|
||||
name: mytlsstore
|
||||
namespace: default
|
||||
|
||||
spec:
|
||||
defaultCertificate:
|
||||
secretName: tls-cert
|
||||
@@ -16,3 +16,5 @@ spec:
|
||||
tls:
|
||||
options:
|
||||
name: mytlsoption
|
||||
store:
|
||||
name: mytlsstore
|
||||
|
||||
Reference in New Issue
Block a user