Skip to content

Commit

Permalink
Bring helm charts up to date with needs of fhir-web
Browse files Browse the repository at this point in the history
  • Loading branch information
peterMuriuki committed Sep 28, 2023
1 parent 71486d0 commit 3e1d4c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 40 deletions.
17 changes: 0 additions & 17 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 @@ -199,9 +185,6 @@ The following table lists the configurable parameters of the Opensrp-web chart a
| `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
25 changes: 2 additions & 23 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"
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 @@ -170,13 +153,9 @@ reactEnvironmentVariables:
REACT_APP_FHIR_PATIENT_BUNDLE_SIZE: "1000"
REACT_APP_ENABLE_FHIR_LOCATIONS: "false"
REACT_APP_FHIR_ROOT_LOCATION_ID: ""
REACT_APP_ENABLE_REPORTS: "false"
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

0 comments on commit 3e1d4c4

Please sign in to comment.