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