This commit is contained in:
2023-08-11 17:41:13 +02:00
parent 76fafed977
commit 640104a958
4 changed files with 62 additions and 53 deletions

View File

@@ -62,10 +62,19 @@ resource "kubectl_manifest" "haraka_deploy" {
- name: config
mountPath: /app/config/wildduck.yaml
subPath: wildduck.yaml
- name: tls
mountPath: /app/config/tls_key.pem
subPath: tls.key
- name: tls
mountPath: /app/config/tls_cert.pem
subPath: tls.crt
volumes:
- name: config
configMap:
name: "${var.instance}-haraka"
- name: tls
secret:
secretName: "${var.instance}-cert"
EOF
}