cert-manager updates
This commit is contained in:
12
kubernetes/certmanager/templates/certificate.yaml
Normal file
12
kubernetes/certmanager/templates/certificate.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: Certificate
|
||||||
|
metadata:
|
||||||
|
name: your-certificate
|
||||||
|
namespace: your-namespace
|
||||||
|
spec:
|
||||||
|
secretName: your-secret
|
||||||
|
issuerRef:
|
||||||
|
name: ssl-issuer
|
||||||
|
kind: ClusterIssuer
|
||||||
|
dnsNames:
|
||||||
|
- your-hostname
|
||||||
@@ -2,9 +2,6 @@ apiVersion: cert-manager.io/v1
|
|||||||
kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
metadata:
|
metadata:
|
||||||
name: acme-issuer
|
name: acme-issuer
|
||||||
# (Optional) Metadata
|
|
||||||
# ---
|
|
||||||
# namespace: your-namespace
|
|
||||||
spec:
|
spec:
|
||||||
acme:
|
acme:
|
||||||
# Configure your email here...
|
# Configure your email here...
|
||||||
@@ -42,9 +39,8 @@ spec:
|
|||||||
# (Optional) Add DNS selectors
|
# (Optional) Add DNS selectors
|
||||||
# ---
|
# ---
|
||||||
# selector:
|
# selector:
|
||||||
# dnsNames:
|
# dnsZones:
|
||||||
# - 'your-domain'
|
# - 'your-domain'
|
||||||
# - '*.your-domain'
|
|
||||||
|
|
||||||
# HTTP Challenge:
|
# HTTP Challenge:
|
||||||
# - http01:
|
# - http01:
|
||||||
|
|||||||
@@ -2,8 +2,5 @@ apiVersion: cert-manager.io/v1
|
|||||||
kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
metadata:
|
metadata:
|
||||||
name: selfsigned-issuer
|
name: selfsigned-issuer
|
||||||
# (Optional) Metadata
|
|
||||||
# ---
|
|
||||||
# namespace: your-namespace
|
|
||||||
spec:
|
spec:
|
||||||
selfSigned: {}
|
selfSigned: {}
|
||||||
@@ -42,9 +42,8 @@ spec:
|
|||||||
# (Optional) Add DNS selectors
|
# (Optional) Add DNS selectors
|
||||||
# ---
|
# ---
|
||||||
# selector:
|
# selector:
|
||||||
# dnsNames:
|
# dnsZones:
|
||||||
# - 'your-domain'
|
# - 'your-domain'
|
||||||
# - '*.your-domain'
|
|
||||||
|
|
||||||
# HTTP Challenge:
|
# HTTP Challenge:
|
||||||
# - http01:
|
# - http01:
|
||||||
|
|||||||
Reference in New Issue
Block a user