From fb920b3a4da3967282b774bc21618b36f677826c Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Wed, 6 Jul 2022 15:30:09 -0300 Subject: [PATCH] Default postfix to a statefulset --- charts/postfix/v0.1.0/templates/{deployment.yaml => app.yaml} | 2 +- charts/postfix/v0.1.0/values.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) rename charts/postfix/v0.1.0/templates/{deployment.yaml => app.yaml} (98%) diff --git a/charts/postfix/v0.1.0/templates/deployment.yaml b/charts/postfix/v0.1.0/templates/app.yaml similarity index 98% rename from charts/postfix/v0.1.0/templates/deployment.yaml rename to charts/postfix/v0.1.0/templates/app.yaml index 7c791bd..8039231 100644 --- a/charts/postfix/v0.1.0/templates/deployment.yaml +++ b/charts/postfix/v0.1.0/templates/app.yaml @@ -1,5 +1,5 @@ apiVersion: apps/v1 -kind: Deployment +kind: {{ .Values.postfix.kind }} metadata: name: {{ include "postfix.fullname" . }} labels: diff --git a/charts/postfix/v0.1.0/values.yaml b/charts/postfix/v0.1.0/values.yaml index 69412c3..7e563c7 100644 --- a/charts/postfix/v0.1.0/values.yaml +++ b/charts/postfix/v0.1.0/values.yaml @@ -45,6 +45,7 @@ postfix: relayHost: "" relayNets: 10.42.0.0/16 senderBcc: "" + kind: StatefulSet autoscaling: enabled: false