cert-manager

This commit is contained in:
ari committed 2023-03-16 01:20:36 +00:00
1 parent bc1af7d801
commit d40fa05815
8 files changed
+33

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
global:
deployment: dev
domain: "me.local"
tlsEnable: false
+3
View File
@@ -1,3 +1,6 @@
global:
deployment: prod
domain: "home.sosnovsky.ca"
ingressAnnotations:
cert-manager.io/cluster-issuer: letsencrypt
tlsEnable: true
+2
View File
@@ -18,3 +18,5 @@ selfapp:
sshkey: ""
global:
email: "ariel@sosnovsky.ca"
ingressAnnotations: {}
tlsEnable: false
+6
View File
@@ -0,0 +1,6 @@
apiVersion: v2
name: cert-manager
description: An infra service for homelab
type: application
version: 0.1.0
dependencies: []
@@ -0,0 +1,18 @@
{{ if .Values.global.tlsEnable }}
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt
spec:
acme:
server: {{ .Values.acmeServer }}
skipTLSVerify: {{ .Values.skipTLSVerify }}
email: {{ .Values.global.email }}
privateKeySecretRef:
name: letsencrypt
solvers:
- http01:
ingress:
class: traefik
{{ end }}
Whitespace-only changes.
Whitespace-only changes.
+3
View File
@@ -0,0 +1,3 @@
global: {}
acmeServer: ""
skipTLSVerify: "false"