diff --git a/infrastructure/certmanager/clusterissuer.yaml b/infrastructure/certmanager/clusterissuer.yaml index 42ccce9..2b71775 100644 --- a/infrastructure/certmanager/clusterissuer.yaml +++ b/infrastructure/certmanager/clusterissuer.yaml @@ -1,7 +1,7 @@ apiVersion: cert-manager.io/v1 kind: ClusterIssuer metadata: - name: letsencrypt + name: letsencrypt-dns spec: acme: email: jethro.cotton3@gmail.com @@ -9,6 +9,9 @@ spec: privateKeySecretRef: name: letsencrypt-account-key solvers: - - http01: - ingress: - class: traefik + - dns01: + cloudflare: + email: jethro.cotton3@gmail.com + apiTokenSecretRef: + name: cloudflare-api-token + key: cloudflare-api-key diff --git a/infrastructure/certmanager/jethrocottonwildcardcert.yaml b/infrastructure/certmanager/jethrocottonwildcardcert.yaml new file mode 100644 index 0000000..a3fc78c --- /dev/null +++ b/infrastructure/certmanager/jethrocottonwildcardcert.yaml @@ -0,0 +1,13 @@ +apiVersion: cert-manager.io/v1 +kind: Certificate +metadata: + name: wildcard-jethrocotton-com + namespace: cert-manager +spec: + secretName: wildcard-jethrocotton-com-tls + issuerRef: + name: letsencrypt-dns + kind: ClusterIssuer + commonName: "*.jethrocotton.com" + dnsNames: + - "*.jethrocotton.com" diff --git a/infrastructure/certmanager/jpcitwildcardcert.yaml b/infrastructure/certmanager/jpcitwildcardcert.yaml new file mode 100644 index 0000000..83230e9 --- /dev/null +++ b/infrastructure/certmanager/jpcitwildcardcert.yaml @@ -0,0 +1,13 @@ +apiVersion: cert-manager.io/v1 +kind: Certificate +metadata: + name: wildcard-jpcit-coza + namespace: cert-manager +spec: + secretName: wildcard-jpcit-coza-tls + issuerRef: + name: letsencrypt-dns + kind: ClusterIssuer + commonName: "*.jpcit.co.za" + dnsNames: + - "*.jpcit.co.za" diff --git a/infrastructure/certmanager/numbergoupwildcartcert.yaml b/infrastructure/certmanager/numbergoupwildcartcert.yaml new file mode 100644 index 0000000..dba9a7d --- /dev/null +++ b/infrastructure/certmanager/numbergoupwildcartcert.yaml @@ -0,0 +1,13 @@ +apiVersion: cert-manager.io/v1 +kind: Certificate +metadata: + name: wildcard-numbergoup-coza + namespace: cert-manager +spec: + secretName: wildcard-numbergoup-coza-tls + issuerRef: + name: letsencrypt-dns + kind: ClusterIssuer + commonName: "*.numbergoup.co.za" + dnsNames: + - "*.numbergoup.co.za"