This commit is contained in:
Simen Røstvik 2022-11-30 15:53:03 +01:00
parent 0e8c42762a
commit 53c05d9831
No known key found for this signature in database

View File

@ -18,6 +18,9 @@ spec:
prometheus: prometheus:
enabled: false enabled: false
extraArgs:
- --enable-certificate-owner-ref=true
repoURL: https://charts.jetstack.io repoURL: https://charts.jetstack.io
targetRevision: 1.10.1 targetRevision: 1.10.1
@ -39,6 +42,8 @@ spec:
name: cloudflare-issuer-account-key name: cloudflare-issuer-account-key
solvers: solvers:
- dns01: - dns01:
ingress:
class: traefik
cloudflare: cloudflare:
apiTokenSecretRef: apiTokenSecretRef:
name: cloudflare-api-token-secret name: cloudflare-api-token-secret
@ -47,7 +52,6 @@ spec:
dnsNames: dnsNames:
- 'roxedus.com' - 'roxedus.com'
- '*.roxedus.com' - '*.roxedus.com'
- http01:
--- ---
apiVersion: cert-manager.io/v1 apiVersion: cert-manager.io/v1
kind: Certificate kind: Certificate
@ -57,7 +61,7 @@ metadata:
spec: spec:
# Secret names are always required. # Secret names are always required.
secretName: example-com-tls secretName: example-com-tls
commonName: test.roxedus.com
dnsNames: dnsNames:
- test.roxedus.com - test.roxedus.com
issuerRef: issuerRef:
@ -65,3 +69,24 @@ spec:
# We can reference ClusterIssuers by changing the kind here. # We can reference ClusterIssuers by changing the kind here.
# The default value is Issuer (i.e. a locally namespaced Issuer) # The default value is Issuer (i.e. a locally namespaced Issuer)
kind: ClusterIssuer kind: ClusterIssuer
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
certmanager.k8s.io/acme-challenge-type: dns01
certmanager.k8s.io/cluster-issuer: test-roxedus-com
name: ingress-rule
namespace: default
spec:
rules:
- host: hostname
http:
paths:
- backend:
serviceName: backend-service
servicePort: 8080
tls:
- hosts:
- test.roxedus.com
secretName: test-roxedus-com