feat: create tls certificate if tls is enabled and the app has domains
This commit is contained in:
1 parent
b0485495e4
commit
63a6e9087f
6 files changed
+227
-26
No files matched your search
@@ -4,6 +4,7 @@ import (
|
||||
"embed"
|
||||
"sync"
|
||||
|
||||
certmanagerv1 "github.com/cert-manager/cert-manager/pkg/apis/certmanager/v1"
|
||||
traefikv1alpha1 "github.com/traefik/traefik/v2/pkg/provider/kubernetes/crd/traefikio/v1alpha1"
|
||||
appsv1 "k8s.io/api/apps/v1"
|
||||
batchv1 "k8s.io/api/batch/v1"
|
||||
@@ -118,6 +119,7 @@ func init() {
|
||||
k8sNativeSchemeOnce.Do(func() {
|
||||
_ = appsv1.AddToScheme(runtimeScheme)
|
||||
_ = batchv1.AddToScheme(runtimeScheme)
|
||||
_ = certmanagerv1.AddToScheme(runtimeScheme)
|
||||
_ = corev1.AddToScheme(runtimeScheme)
|
||||
_ = traefikv1alpha1.AddToScheme(runtimeScheme)
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user