- Updated the namespace for the internal wildcard certificate from 'internal' to 'cert-manager'. - Adjusted the DNS zone selectors in Let's Encrypt configurations to use CLOUDFLARE_DOMAIN consistently. - Changed the namespace for the wildcard certificate from 'default' to 'cert-manager'. - Modified ExternalDNS configuration to use OWNER_ID instead of CLUSTER_ID for TXT owner ID. - Cleaned up setup-cert-manager.sh by removing unnecessary internal namespace creation and secret duplication. - Updated certificate wait commands to reflect the new namespace structure. - Simplified the copying of certificates to the example-admin namespace. - Removed test service deployment from setup-externaldns.sh for a cleaner setup process.
19 lines
422 B
YAML
19 lines
422 B
YAML
---
|
|
apiVersion: cert-manager.io/v1
|
|
kind: Certificate
|
|
metadata:
|
|
name: wildcard-internal-sovereign-cloud
|
|
namespace: cert-manager
|
|
spec:
|
|
secretName: wildcard-internal-sovereign-cloud-tls
|
|
dnsNames:
|
|
- "*.internal.${DOMAIN}"
|
|
- "internal.${DOMAIN}"
|
|
issuerRef:
|
|
name: letsencrypt-prod
|
|
kind: ClusterIssuer
|
|
duration: 2160h # 90 days
|
|
renewBefore: 360h # 15 days
|
|
privateKey:
|
|
algorithm: RSA
|
|
size: 2048 |