From 98dc215e646bbd09b206560ddabf267d74d3daff Mon Sep 17 00:00:00 2001 From: Johannes Lohmer Date: Thu, 29 Aug 2024 11:46:50 +0200 Subject: [PATCH] fix(nubus): Only use one LDAP Primary and make replica count of Secondary and Proxy others configurable --- .../apps/nubus/values-opendesk-customization.yaml.gotmpl | 4 ++++ helmfile/environments/default/replicas.yaml | 9 +++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/helmfile/apps/nubus/values-opendesk-customization.yaml.gotmpl b/helmfile/apps/nubus/values-opendesk-customization.yaml.gotmpl index bcacd8fd..c27e393e 100644 --- a/helmfile/apps/nubus/values-opendesk-customization.yaml.gotmpl +++ b/helmfile/apps/nubus/values-opendesk-customization.yaml.gotmpl @@ -115,6 +115,10 @@ nubusLdapNotifier: {{ .Values.resources.umsLdapNotifier | toYaml | nindent 4 }} nubusLdapServer: + highAvailabilityMode: false + replicaCountPrimary: 1 + replicaCountSecondary: {{ .Values.replicas.umsLdapServerSecondary }} + replicaCountProxy: {{ .Values.replicas.umsLdapServerProxy }} additionalAnnotations: intents.otterize.com/service-name: "ums-ldap-server" serviceAccount: diff --git a/helmfile/environments/default/replicas.yaml b/helmfile/environments/default/replicas.yaml index 8e7e141b..4165d311 100644 --- a/helmfile/environments/default/replicas.yaml +++ b/helmfile/environments/default/replicas.yaml @@ -82,8 +82,13 @@ replicas: umsKeycloakExtensionsProxy: 1 # -- scalable: tbd umsLdapNotifier: 1 - # -- scalable: tbd - umsLdapServer: 1 + # -- scalable: false + # -- comment: Experimental feature and not supported. + umsLdapServerPrimary: 1 + # -- scalable: true + umsLdapServerSecondary: 1 + # -- scalable: true + umsLdapServerProxy: 1 # -- scalable: tbd umsNotificationsApi: 1 # -- scalable: true