Skip to content

Commit

Permalink
fix: gluuDocumentStoreType changes not reflected when using pygluu-ku…
Browse files Browse the repository at this point in the history
…bernetes installer (#617)

Release-As: 1.8.31
Signed-off-by: iromli <[email protected]>
  • Loading branch information
iromli authored Jan 4, 2024
1 parent 45539b1 commit 1644fad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pygluu/kubernetes/helm.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def analyze_global_values(self):
or self.settings.get("TEST_ENVIRONMENT") == "Y":
values_file_parser["global"]["cloud"]["testEnviroment"] = True
if self.settings.get("DEPLOYMENT_ARCH") == "microk8s":
values_file_parser["nginx-ingress"]["ingress"]["ingressClassName"] = "public"
values_file_parser["nginx-ingress"]["ingress"]["ingressClassName"] = "public"
values_file_parser["config"]["configmap"]["lbAddr"] = self.settings.get("LB_ADD")
values_file_parser["global"]["gluuPersistenceType"] = self.settings.get("PERSISTENCE_BACKEND")
values_file_parser["config"]["configmap"]["gluuPersistenceType"] = self.settings.get("PERSISTENCE_BACKEND")
Expand Down Expand Up @@ -457,6 +457,9 @@ def analyze_global_values(self):
# add custom salt
values_file_parser["config"]["salt"] = self.settings.get("SALT") or ""

# document store
values_file_parser["config"]["configmap"]["gluuDocumentStoreType"] = self.settings.get("DOCUMENT_STORE_TYPE") or "DB"

values_file_parser.dump_it()

def install_gluu(self, install_ingress=True):
Expand Down

0 comments on commit 1644fad

Please sign in to comment.