💄 fix cert names

This commit is contained in:
auricom
2023-09-17 18:52:47 +02:00
parent 55e4197ca5
commit dbd88d9a70
3 changed files with 4 additions and 3 deletions

View File

@@ -85,6 +85,7 @@ spec:
l7proxy: true l7proxy: true
ingressController: ingressController:
enabled: true enabled: true
defaultSecretNamespace: ${SECRET_CLUSTER_DOMAIN//./-}-tls
loadbalancerMode: shared loadbalancerMode: shared
service: service:
loadBalancerIP: "${CLUSTER_LB_CILIUM}" loadBalancerIP: "${CLUSTER_LB_CILIUM}"

View File

@@ -66,7 +66,7 @@ spec:
any: true any: true
extraArgs: extraArgs:
default-ssl-certificate: |- default-ssl-certificate: |-
networking/${SECRET_CLUSTER_DOMAIN/./-}-tls networking/${SECRET_CLUSTER_DOMAIN//./-}-tls
topologySpreadConstraints: topologySpreadConstraints:
- maxSkew: 1 - maxSkew: 1
topologyKey: kubernetes.io/hostname topologyKey: kubernetes.io/hostname

View File

@@ -2,10 +2,10 @@
apiVersion: cert-manager.io/v1 apiVersion: cert-manager.io/v1
kind: Certificate kind: Certificate
metadata: metadata:
name: ${SECRET_CLUSTER_DOMAIN/./-} name: ${SECRET_CLUSTER_DOMAIN//./-}
namespace: networking namespace: networking
spec: spec:
secretName: ${SECRET_CLUSTER_DOMAIN/./-}-tls secretName: ${SECRET_CLUSTER_DOMAIN//./-}-tls
issuerRef: issuerRef:
name: letsencrypt-production name: letsencrypt-production
kind: ClusterIssuer kind: ClusterIssuer