aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/postgres/templates/deployment-primary.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/common/postgres/templates/deployment-primary.yaml')
-rw-r--r--kubernetes/common/postgres/templates/deployment-primary.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/common/postgres/templates/deployment-primary.yaml b/kubernetes/common/postgres/templates/deployment-primary.yaml
index c8a000142e..535eefa8cf 100644
--- a/kubernetes/common/postgres/templates/deployment-primary.yaml
+++ b/kubernetes/common/postgres/templates/deployment-primary.yaml
@@ -13,4 +13,6 @@
# # See the License for the specific language governing permissions and
# # limitations under the License.
*/}}
+{{- if not .Values.global.postgres.useOperator }}
{{ include "common.postgres.deployment" (dict "dot" . "pgMode" "primary") }}
+{{- end }} \ No newline at end of file