Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update web helm #81

Merged
merged 4 commits into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/opensrp-web/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.8.1
version: 1.0.0

# 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
Expand Down
19 changes: 1 addition & 18 deletions charts/opensrp-web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,24 +165,10 @@ The following table lists the configurable parameters of the Opensrp-web chart a
| `reactEnvironmentVariables.REACT_APP_DISABLE_LOGIN_PROTECTION` | | `"false"` |
| `reactEnvironmentVariables.REACT_APP_ENABLE_OPENSRP_OAUTH` | | `"true"` |
| `reactEnvironmentVariables.REACT_APP_WEBSITE_NAME` | | `"opensrp-web"` |
| `reactEnvironmentVariables.REACT_APP_ACTION_UUID_NAMESPACE` | | `"35968df5-f335-44ae-8ae5-25804caa2d86"` |
| `reactEnvironmentVariables.REACT_APP_PLAN_UUID_NAMESPACE` | | `"85f7dbbf-07d0-4c92-aa2d-d50d141dde00"` |
| `reactEnvironmentVariables.REACT_APP_ENABLE_PRODUCT_CATALOGUE` | | `"false"` |
| `reactEnvironmentVariables.REACT_APP_ENABLE_PLANS` | | `"false"` |
| `reactEnvironmentVariables.REACT_APP_ENABLE_INVENTORY` | | `"false"` |
| `reactEnvironmentVariables.REACT_APP_ENABLE_LOCATIONS` | | `"false"` |
| `reactEnvironmentVariables.REACT_APP_ENABLE_TEAMS` | | `"false"` |
| `reactEnvironmentVariables.REACT_APP_ENABLE_CARD_SUPPORT` | | `"false"` |
| `reactEnvironmentVariables.REACT_APP_MAIN_LOGO_SRC` | | `"https://github.com/OpenSRP/web/raw/master/app/src/assets/images/opensrp-logo-color.png"` |
| `reactEnvironmentVariables.REACT_APP_DEFAULT_PLAN_DURATION_DAYS` | | `"20"` |
| `reactEnvironmentVariables.REACT_APP_DEFAULT_ACTIVITY_DURATION_DAYS` | | `"7"` |
| `reactEnvironmentVariables.REACT_APP_DATE_FORMAT` | | `"yyyy-mm-dd"` |
| `reactEnvironmentVariables.REACT_APP_ENABLE_TEAMS_ASSIGNMENT_MODULE` | | `"false"` |
| `reactEnvironmentVariables.REACT_APP_DEFAULT_PLAN_ID` | | `"27362060-0309-411a-910c-64f55ede3758"` |
| `reactEnvironmentVariables.SKIP_PREFLIGHT_CHECK` | | `"true"` |
| `reactEnvironmentVariables.REACT_APP_PLAN_ASSIGNMENT_AT_GEO_LEVEL` | | `"0"` |
| `reactEnvironmentVariables.REACT_APP_DEFAULT_PLAN_VERSION` | | `"1"` |
| `reactEnvironmentVariables.REACT_APP_TASK_GENERATION_STATUS` | | `"False"` |
| `reactEnvironmentVariables.REACT_APP_PROJECT_LANGUAGE_CODE` | | `"core"` |
| `reactEnvironmentVariables.REACT_APP_LANGUAGE_CODE` | | `"en"` |
| `reactEnvironmentVariables.REACT_APP_SUPPORTED_LANGUAGES` | | `"en"` |
Expand All @@ -193,15 +179,12 @@ The following table lists the configurable parameters of the Opensrp-web chart a
| `reactEnvironmentVariables.REACT_APP_FHIR_PATIENT_BUNDLE_SIZE` | | `"1000"` |
| `reactEnvironmentVariables.REACT_APP_DEFAULTS_TABLE_PAGE_SIZE` | | `"10"` |
| `reactEnvironmentVariables.REACT_APP_ENABLE_FHIR_LOCATIONS` | | `"false"` |
| `reactEnvironmentVariables.REACT_APP_FHIR_ROOT_LOCATION_IDENTIFIER` | | `""` |
| `reactEnvironmentVariables.REACT_APP_FHIR_ROOT_LOCATION_ID` | | `""` |
| `reactEnvironmentVariables.REACT_APP_ENABLE_REPORTS` | | `"false"` |
| `reactEnvironmentVariables.REACT_APP_ENABLE_FHIR_GROUP` | | `"false"` |
| `reactEnvironmentVariables.REACT_APP_OPENSRP_OAUTH_SCOPES` | | `"openid,profile"` |
| `reactEnvironmentVariables.REACT_APP_ENABLE_FHIR_COMMODITY` | | `"false"` |
| `reactEnvironmentVariables.REACT_APP_COMMODITIES_LIST_RESOURCE_ID` | | `""` |
| `reactEnvironmentVariables.REACT_APP_ENABLE_FORM_CONFIGURATION` | | `"false"` |
| `reactEnvironmentVariables.REACT_APP_NAVBAR_BRAND_IMG_SRC` | | `"https://github.com/OpenSRP/opensrp-web/raw/master/clients/core/src/assets/images/logo.png"` |
| `reactEnvironmentVariables.REACT_APP_DEFAULT_TIME` | | `"T00:00:00+00:00"` |
| `sharedVars.keycloakUrl` | | `""` |
| `sharedVars.appDomainName` | | `""` |
| `sharedVars.opensrpClientId` | | `""` |
Expand Down
27 changes: 3 additions & 24 deletions charts/opensrp-web/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,41 +105,27 @@ containerEnvironmentVariables:

# The react app environment variables
reactEnvironmentVariables:
REACT_APP_ACTION_UUID_NAMESPACE: "35968df5-f335-44ae-8ae5-25804caa2d86"
machariamuguku marked this conversation as resolved.
Show resolved Hide resolved
REACT_APP_BACKEND_ACTIVE: "true"
REACT_APP_DATE_FORMAT: "yyyy-MM-DD"
REACT_APP_DEFAULTS_TABLE_PAGE_SIZE: "10"
REACT_APP_DEFAULT_ACTIVITY_DURATION_DAYS: "7"
REACT_APP_DEFAULT_HOME_MODE: "default"
REACT_APP_DEFAULT_PLAN_DURATION_DAYS: "20"
REACT_APP_DEFAULT_PLAN_ID: "27362060-0309-411a-910c-64f55ede3758"
REACT_APP_DEFAULT_PLAN_VERSION: "1"
REACT_APP_DISABLE_LOGIN_PROTECTION: "false"
REACT_APP_DISABLE_TEAM_MEMBER_REASSIGNMENT: "true"
REACT_APP_DOMAIN_NAME: "https://{{ .Values.sharedVars.appDomainName }}"
REACT_APP_ENABLE_CARD_SUPPORT: "false"
REACT_APP_ENABLE_FHIR_CARE_TEAM: "false"
REACT_APP_ENABLE_FHIR_PATIENTS: "false"
REACT_APP_ENABLE_FHIR_TEAMS: "false"
REACT_APP_ENABLE_INVENTORY: "false"
REACT_APP_ENABLE_LANGUAGE_SWITCHER: "false"
REACT_APP_ENABLE_LOCATIONS: "false"
REACT_APP_ENABLE_OPENSRP_OAUTH: "true"
REACT_APP_ENABLE_PLANS: "false"
REACT_APP_ENABLE_PRODUCT_CATALOGUE: "false"
REACT_APP_ENABLE_SERVER_SETTINGS: "false"
REACT_APP_ENABLE_TEAMS: "false"
REACT_APP_ENABLE_QUEST: "false"
REACT_APP_ENABLE_TEAMS_ASSIGNMENT_MODULE: "false"
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_FHIR_API_BASE_URL: "https://{{ .Values.sharedVars.fhirServer }}/fhir"
REACT_APP_FILTER_BY_PARENT_ID: "true"
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_KEYCLOAK_USERS_PAGE_SIZE: "20"
REACT_APP_LANGUAGE_CODE: "en"
REACT_APP_MAIN_LOGO_SRC: "https://github.com/opensrp/web/raw/master/app/src/assets/images/opensrp-logo-color.png"
REACT_APP_MAIN_LOGO_SRC: "https://github.com/onaio/fhir-web/raw/{{ .Values.image.tag }}/app/src/assets/images/fhir-web-logo.png"
REACT_APP_OPENSRP_ACCESS_TOKEN_URL: "https://{{ .Values.sharedVars.keycloakUrl }}/auth/realms/{{ .Values.sharedVars.keycloakRealm }}/protocol/openid-connect/token"
REACT_APP_OPENSRP_API_BASE_URL: "https://{{ .Values.sharedVars.opensrpServer }}/opensrp/rest/"
REACT_APP_OPENSRP_API_V2_BASE_URL: "https://{{ .Values.sharedVars.opensrpServer }}/opensrp/rest/v2/"
Expand All @@ -148,15 +134,12 @@ reactEnvironmentVariables:
REACT_APP_OPENSRP_LOGOUT_URL: "https://{{ .Values.sharedVars.opensrpServer }}/opensrp/logout.do"
REACT_APP_OPENSRP_OAUTH_SCOPES: "openid,profile"
REACT_APP_OPENSRP_OAUTH_STATE: "opensrp"
REACT_APP_OPENSRP_ROLES: '{"USERS": "ROLE_EDIT_KEYCLOAK_USERS,ROLE_VIEW_KEYCLOAK_USERS","PLANS": "ROLE_VIEW_KEYCLOAK_USERS","LOCATIONS": "ROLE_VIEW_KEYCLOAK_USERS","CARD_SUPPORT": "ROLE_VIEW_KEYCLOAK_USERS","INVENTORY": "ROLE_VIEW_KEYCLOAK_USERS","TEAMS": "ROLE_VIEW_KEYCLOAK_USERS","PRODUCT_CATALOGUE": "ROLE_VIEW_KEYCLOAK_USERS","FORM_CONFIGURATION": "ROLE_VIEW_KEYCLOAK_USERS","CARE_TEAM": "ROLE_VIEW_KEYCLOAK_USERS","SERVER_SETTINGS": "ROLE_VIEW_KEYCLOAK_USERS", "QUEST": "ROLE_VIEW_KEYCLOAK_USERS", "COMMODITY": "ROLE_VIEW_KEYCLOAK_USERS"}'
REACT_APP_AUTHZ_STRATEGY: "keycloak"
REACT_APP_OPENSRP_USER_URL: "{{ tpl .Values.sharedVars.userDetailsUrl . }}"
REACT_APP_OPENSRP_WEB_VERSION: "{{ .Values.image.tag }}"
REACT_APP_PAGINATION_SIZE: "1000"
REACT_APP_PLAN_ASSIGNMENT_AT_GEO_LEVEL: "0"
REACT_APP_PLAN_UUID_NAMESPACE: "85f7dbbf-07d0-4c92-aa2d-d50d141dde00"
REACT_APP_PROJECT_LANGUAGE_CODE: "core"
REACT_APP_SUPPORTED_LANGUAGES: "en"
REACT_APP_TASK_GENERATION_STATUS: "False"
REACT_APP_USER_FORM_HIDDEN_FIELDS: ""
REACT_APP_USER_FORM_RENDER_FIELDS: ""
REACT_APP_WEBSITE_NAME: "opensrp-web"
Expand All @@ -169,14 +152,10 @@ reactEnvironmentVariables:
REACT_APP_ENABLE_FHIR_USER_MANAGEMENT: "false"
REACT_APP_FHIR_PATIENT_BUNDLE_SIZE: "1000"
REACT_APP_ENABLE_FHIR_LOCATIONS: "false"
REACT_APP_FHIR_ROOT_LOCATION_IDENTIFIER: ""
REACT_APP_ENABLE_REPORTS: "false"
REACT_APP_FHIR_ROOT_LOCATION_ID: ""
REACT_APP_ENABLE_FHIR_GROUP: "false"
REACT_APP_ENABLE_FHIR_COMMODITY: "false"
REACT_APP_COMMODITIES_LIST_RESOURCE_ID: ""
REACT_APP_ENABLE_FORM_CONFIGURATION: "false"
REACT_APP_NAVBAR_BRAND_IMG_SRC: "https://github.com/OpenSRP/opensrp-web/raw/master/clients/core/src/assets/images/logo.png"
REACT_APP_DEFAULT_TIME: "T00:00:00+00:00"

sharedVars:
keycloakUrl: ""
Expand Down
Loading