diff --git a/charts/opensrp-web/Chart.yaml b/charts/opensrp-web/Chart.yaml index 2e583e1..f440f15 100644 --- a/charts/opensrp-web/Chart.yaml +++ b/charts/opensrp-web/Chart.yaml @@ -19,7 +19,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.1 +version: 0.1.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/opensrp-web/values.yaml b/charts/opensrp-web/values.yaml index 992466e..25ebdbd 100644 --- a/charts/opensrp-web/values.yaml +++ b/charts/opensrp-web/values.yaml @@ -82,37 +82,44 @@ containerEnvironmentVariables: # The react app environment variables reactEnvironmentVariables: - REACT_APP_BACKEND_ACTIVE: "{{ .Values.frontEnd.appBackendActive }}" - REACT_APP_DISABLE_LOGIN_PROTECTION: "{{ .Values.frontEnd.appDisableLoginProtection }}" REACT_APP_DOMAIN_NAME: "https://{{ .Values.sharedVars.appDomainName }}" - REACT_APP_ENABLE_OPENSRP_OAUTH: "{{ .Values.frontEnd.appEnableOpensrpOauth }}" REACT_APP_EXPRESS_OAUTH_GET_STATE_URL: "https://{{ .Values.sharedVars.appDomainName }}/oauth/state" REACT_APP_EXPRESS_OAUTH_LOGOUT_URL: "https://{{ .Values.sharedVars.appDomainName }}/logout" REACT_APP_KEYCLOAK_API_BASE_URL: "https://{{ .Values.sharedVars.keycloakUrl }}/auth/admin/realms/{{ .Values.sharedVars.keycloakRealm }}" REACT_APP_KEYCLOAK_LOGOUT_URL: "https://{{ .Values.sharedVars.keycloakUrl }}/auth/realms/{{ .Values.sharedVars.keycloakRealm }}/protocol/openid-connect/logout" - REACT_APP_NAVBAR_BRAND_IMG_SRC: "{{ .Values.frontEnd.appNavbarBrandImgSrc }}" REACT_APP_OPENSRP_ACCESS_TOKEN_URL: "https://{{ .Values.sharedVars.keycloakUrl }}/auth/realms/{{ .Values.sharedVars.keycloakRealm }}/protocol/openid-connect/token" REACT_APP_OPENSRP_AUTHORIZATION_URL: "https://{{ .Values.sharedVars.keycloakUrl }}/auth/realms/{{ .Values.sharedVars.keycloakRealm }}/protocol/openid-connect/auth" - REACT_APP_OPENSRP_CLIENT_ID: "{{ .Values.sharedVars.opensrpClientId }}" REACT_APP_OPENSRP_LOGOUT_URL: "https://{{ .Values.sharedVars.opensrpServer }}/opensrp/logout.do" REACT_APP_OPENSRP_USER_URL: "https://{{ .Values.sharedVars.opensrpServer }}/opensrp/user-details/" - REACT_APP_WEBSITE_NAME: "{{ .Values.express.appWebsiteName }}" - REACT_APP_ACTION_UUID_NAMESPACE: "{{ .Values.frontEnd.appActionUUIDNamespace }}" - REACT_APP_PLAN_UUID_NAMESPACE: "{{ .Values.frontEnd.appPlanUUIDNamespace }}" - REACT_APP_ENABLE_PRODUCT_CATALOGUE: "{{ .Values.frontEnd.appEnableProductCatalogue }}" - REACT_APP_ENABLE_PLANS: "{{ .Values.frontEnd.appEnablePlans }}" - REACT_APP_ENABLE_INVENTORY: "{{ .Values.frontEnd.appEnableInventory }}" - REACT_APP_ENABLE_LOCATIONS: "{{ .Values.frontEnd.appEnableLocations }}" - REACT_APP_ENABLE_TEAMS: "{{ .Values.frontEnd.appEnableTeams }}" - REACT_APP_ENABLE_CARD_SUPPORT: "{{ .Values.frontEnd.appEnableCardSupport }}" REACT_APP_OPENSRP_API_BASE_URL: "https://{{ .Values.sharedVars.opensrpServer }}/opensrp/rest/" - REACT_APP_DEFAULT_PLAN_DURATION_DAYS: "{{ .Values.frontEnd.appDefaultPlanDurationDays }}" - REACT_APP_DEFAULT_ACTIVITY_DURATION_DAYS: "{{ .Values.frontEnd.appDefaultActivityDurationDays }}" - REACT_APP_DATE_FORMAT: "{{ .Values.frontEnd.appDateFormat }}" - REACT_ENABLE_TEAMS_ASSIGNMENT_MODULE: "{{ .Values.frontEnd.appEnableTeamsAssignment }}" - REACT_APP_DEFAULT_PLAN_ID: "{{ .Values.frontEnd.appDefaultPlanId }}" - SKIP_PREFLIGHT_CHECK: "{{ .Values.frontEnd.skipPreflightCheck }}" - REACT_APP_PLAN_ASSIGNMENT_AT_GEO_LEVEL: "{{ .Values.frontEnd.planAssignmentAtGeoLevel }}" + REACT_APP_OPENSRP_CLIENT_ID: "{{ .Values.sharedVars.opensrpClientId }}" + REACT_APP_BACKEND_ACTIVE: "true" + REACT_APP_DISABLE_LOGIN_PROTECTION: "false" + REACT_APP_ENABLE_OPENSRP_OAUTH: "true" + REACT_APP_WEBSITE_NAME: "opensrp-web" + REACT_APP_ACTION_UUID_NAMESPACE: "35968df5-f335-44ae-8ae5-25804caa2d86" + REACT_APP_PLAN_UUID_NAMESPACE: "85f7dbbf-07d0-4c92-aa2d-d50d141dde00" + REACT_APP_ENABLE_PRODUCT_CATALOGUE: "false" + REACT_APP_ENABLE_PLANS: "false" + REACT_APP_ENABLE_INVENTORY: "false" + REACT_APP_ENABLE_LOCATIONS: "false" + REACT_APP_ENABLE_TEAMS: "false" + REACT_APP_ENABLE_CARD_SUPPORT: "false" + REACT_APP_MAIN_LOGO_SRC: "" + REACT_APP_DEFAULT_PLAN_DURATION_DAYS: "20" + REACT_APP_DEFAULT_ACTIVITY_DURATION_DAYS: "7" + REACT_APP_DATE_FORMAT: "yyyy-mm-dd" + REACT_APP_ENABLE_TEAMS_ASSIGNMENT_MODULE: "false" + REACT_APP_DEFAULT_PLAN_ID: "27362060-0309-411a-910c-64f55ede3758" + SKIP_PREFLIGHT_CHECK: "true" + REACT_APP_PLAN_ASSIGNMENT_AT_GEO_LEVEL: "0" + REACT_APP_SENTRY_DSN: "" + REACT_APP_DEFAULT_PLAN_VERSION: "1" + REACT_APP_TASK_GENERATION_STATUS: "False" + REACT_APP_PROJECT_LANGUAGE_CODE: "core" + REACT_APP_LANGUAGE_CODE: "en" + REACT_APP_SUPPORTED_LANGUAGES: "en" + REACT_APP_ENABLE_LANGUAGE_SWITCHER: "false" sharedVars: keycloakUrl: "keycloakUrl" @@ -135,25 +142,3 @@ express: reactBuildPath: "/usr/src/web" nodeEnv: "development" frontEndLogoutUrl: "/logout" - -frontEnd: - appEnableProductCatalogue: "false" - appEnablePlans: "false" - appEnableInventory: "false" - appEnableLocations: "false" - appEnableCardSupport: "false" - appEnableTeamsAssignment: "false" - appEnableTeams: "false" - appWebsiteName: "opensrp-web" - appBackendActive: "true" - appDisableLoginProtection: "false" - appEnableOpensrpOauth: "true" - appActionUUIDNamespace: "35968df5-f335-44ae-8ae5-25804caa2d86" - appPlanUUIDNamespace: "85f7dbbf-07d0-4c92-aa2d-d50d141dde00" - appDefaultPlanId: "27362060-0309-411a-910c-64f55ede3758" - appDefaultPlanDurationDays: 20 - appDefaultActivityDurationDays: 7 - appDateFormat: "yyyy-mm-dd" - appNavbarBrandImgSrc: "" - skipPreflightCheck: "true" - planAssignmentAtGeoLevel: '0'