cert
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2025-10-23 20:45:53 +02:00
parent 56dbf87d7f
commit f0c3a986ee
5 changed files with 41 additions and 7 deletions

View File

@@ -1,3 +1,28 @@
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: exim-forwarder-cert
spec:
secretName: exim-forwarder-cert
duration: 2160h
renewBefore: 360h
subject:
organizations:
- hottis-de
isCA: false
privateKey:
algorithm: RSA
encoding: PKCS1
size: 2048
usages:
- server auth
dnsNames:
- mx.mainscnt.eu
issuerRef:
name: letsencrypt-staging-http
kind: ClusterIssuer
group: cert-manager.io
---
apiVersion: v1
kind: ConfigMap
metadata:
@@ -35,6 +60,9 @@ spec:
- name: exim-config
mountPath: /etc/exim/db
readOnly: true
- name: tls-cert
mountPath: /etc/exim/db
readOnly: true
volumes:
- name: exim-config
configMap:
@@ -44,6 +72,14 @@ spec:
path: forward_domains
- key: addresses
path: forward_addresses
- name: tls-cert
secret:
secretName: exim-forwarder-cert
items:
- key: tls.crt
path: server.crt
- key: tls.key
path: server.key
---
apiVersion: v1
kind: Service