Cannot disable admin UI by deploy.restapi in helm
Summary
When deploying with Helm, deploy.restapi
cannot disable the Admin UI.
Current Behaviour
Steps to reproduce
Install/upgrade stackgres with below Helm command:
STACKGRES_VERSION=1.10.0
helm repo add stackgres-charts https://stackgres.io/downloads/stackgres-k8s/stackgres/helm/
helm repo update
helm --debug upgrade --install stackgres-operator stackgres-charts/stackgres-operator \
--namespace stackgres --create-namespace \
--version "$STACKGRES_VERSION" \
-f values-stackgres.yaml
values-stackgres.yaml:
deploy:
restapi: false
grafana:
autoEmbed: false
forceUpgradeFromUnsupportedVersion: true
But the stackgres-restapi always appear:
> kubectl get pod -n stackgres
NAME READY STATUS RESTARTS AGE
stackgres-operator-6696ffb88c-46hp4 1/1 Running 0 97m
stackgres-restapi-544d5d4b98-glc8t 2/2 Running 0 25m
Tried even manually scale to 0 but few minutes later the pod will come back to 2.
Expected Behaviour
Admin UI should stay in 0 replica / not deploy to the k8s cluster.
Possible Solution
N/A
Environment
-
StackGres version: 1.10.0
-
Kubernetes version: Client Version: v1.28.1 Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 Server Version: v1.27.10
-
Cloud provider or hardware configuration: Oracle Cloud (ARM)
Relevant logs and/or screenshots
N/A