diff --git a/roundcube/roundcubemail-cronjob-cleandb.yaml b/roundcube/roundcubemail-cronjob-cleandb.yaml index 67de8a5..78b5189 100644 --- a/roundcube/roundcubemail-cronjob-cleandb.yaml +++ b/roundcube/roundcubemail-cronjob-cleandb.yaml @@ -17,6 +17,35 @@ spec: - name: roundcubemail image: roundcube/roundcubemail:latest-fpm-alpine imagePullPolicy: "" - env: *env + env: + - name: ROUNDCUBEMAIL_DB_TYPE + value: pgsql + - name: ROUNDCUBEMAIL_DB_HOST + value: roundcubedb + - name: ROUNDCUBEMAIL_DB_NAME + value: roundcube + - name: ROUNDCUBEMAIL_DB_USER + valueFrom: + secretKeyRef: + name: roundcubemail-shared-secret + key: DB_USER + - name: ROUNDCUBEMAIL_DB_PASSWORD + valueFrom: + secretKeyRef: + name: roundcubemail-shared-secret + key: DB_PASSWORD + - name: ROUNDCUBEMAIL_DES_KEY + valueFrom: + secretKeyRef: + name: roundcubemail-shared-secret + key: DES_KEY + - name: ROUNDCUBEMAIL_DEFAULT_HOST + value: tls://mail.michaelthomson.dev + - name: ROUNDCUBEMAIL_SMTP_SERVER + value: tls://mail.michaelthomson.dev + - name: ROUNDCUBEMAIL_SKIN + value: elastic + - name: ROUNDCUBEMAIL_PLUGINS + value: archive,zipdownload,newmail_notifier args: - bin/cleandb.sh