From 8ff6a515438d1378c530f08bd1f3a34eafc6937c Mon Sep 17 00:00:00 2001 From: Ushitora Anqou Date: Sun, 15 Sep 2024 09:58:34 +0900 Subject: [PATCH] charts: add gateway.enabled option --- charts/magout/templates/gateway.yaml | 2 ++ charts/magout/values.yaml | 1 + 2 files changed, 3 insertions(+) diff --git a/charts/magout/templates/gateway.yaml b/charts/magout/templates/gateway.yaml index 6dc0de3..2726458 100644 --- a/charts/magout/templates/gateway.yaml +++ b/charts/magout/templates/gateway.yaml @@ -1,3 +1,4 @@ +{{- if .Values.gateway.enabled }} apiVersion: apps/v1 kind: Deployment metadata: @@ -242,3 +243,4 @@ data: error_page 404 500 501 502 503 504 /500.html; } +{{- end }} diff --git a/charts/magout/values.yaml b/charts/magout/values.yaml index 4c14e7d..0288572 100644 --- a/charts/magout/values.yaml +++ b/charts/magout/values.yaml @@ -122,6 +122,7 @@ operator: affinity: {} gateway: + enabled: true deploy: replicas: 1 image: nginx:1