Skip to content

Commit

Permalink
Platform 0.15.0 (#483)
Browse files Browse the repository at this point in the history
* GEFEST-82: update platform to 0-15-0

* GEFEST-82: update pages comment

---------

Co-authored-by: Milov Dmitriy <[email protected]>
  • Loading branch information
Senneer and Milov Dmitriy authored Aug 29, 2024
1 parent 7f321c4 commit 3f905ea
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 10 deletions.
4 changes: 2 additions & 2 deletions charts/platform/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: platform
type: application
description: A Helm chart for Kubernetes to deploy Platform

version: 1.26.0
appVersion: 0.8.1
version: 1.27.0
appVersion: 0.15.0

maintainers:
- name: 2gis
Expand Down
18 changes: 12 additions & 6 deletions charts/platform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ Use this Helm chart to deploy Platform service, which is a part of 2GIS's [On-Pr
| Name | Description | Value |
| --------------------- | ------------------------------ | ----------------------------- |
| `ui.image.repository` | Repository | `2gis-on-premise/platform-ui` |
| `ui.image.tag` | Tag | `0.8.1` |
| `ui.image.tag` | Tag | `0.15.0` |
| `imagePullSecrets` | Kubernetes image pull secrets. | `[]` |

### UI service settings

| Name | Description | Value |
| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ |
| `ui.appPort` | Service port. | `3000` |
| `ui.brand` | Branding inside the app. Possible values: `"2gis"` or `"urbi"`. | `""` |
| `ui.pages` | A list of pages available in application. Values must be written with a comma. Possible values: `"status"`, `"playground"`. E.g. "status, playground". The first page in a list is the one a user's going to be redirected to from deactivated ones. | `""` |
| Name | Description | Value |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------ |
| `ui.appPort` | Service port. | `3000` |
| `ui.brand` | Branding inside the app. Possible values: `"2gis"` or `"urbi"`. | `""` |
| `ui.pages` | A list of pages available in application. Values must be written with a comma. Possible values: `"status"`, `"playground", "map_styles"`. E.g. "status, playground". The first page in a list is the one a user's going to be redirected to from deactivated ones. | `""` |

### Statuses for services. A value is a string containing pairs of label and healthcheck URL for a service. Pairs must be divided with a comma. Each pair must be connected with a symbol "=", e.g. `mapgl: 'MapGL JS=https://example.com/healthcheck'`. URL must be an absolute. You can specify only one URL, e.g. `mapgl: 'https://example.com/healthcheck'`.

Expand All @@ -65,6 +65,12 @@ Use this Helm chart to deploy Platform service, which is a part of 2GIS's [On-Pr
| `ui.mapgl.key` | A key to the [MapGL JS API](https://docs.2gis.com/en/on-premise/map) service. | `""` |
| `ui.mapgl.initCenter` | Optional default map coordinates. Contains of two numbers in an array: `[lon,lat]` (e.g., `"[55.27,25.2]"` stands for Dubai, `"[37.64,55.74]"` — for Moscow). | `""` |

### Map styles API settings

| Name | Description | Value |
| ------------------ | ---------------------- | ----- |
| `ui.mapStyles.url` | URL to Map Styles API. | `""` |

### Search API settings

| Name | Description | Value |
Expand Down
2 changes: 2 additions & 0 deletions charts/platform/templates/ui/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ spec:
value: {{ .Values.ui.navi.url | quote }}
- name: NAVI_API_KEY
value: {{ .Values.ui.navi.key | quote }}
- name: MAP_STYLES_API_URL
value: {{ .Values.ui.mapStyles.url | quote }}
- name: MAPGL_URL
value: {{ .Values.ui.mapgl.url | quote }}
- name: MAPGL_SCRIPT_PATH
Expand Down
11 changes: 9 additions & 2 deletions charts/platform/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ ui:

image:
repository: 2gis-on-premise/platform-ui
tag: 0.8.1
tag: 0.15.0

# @section UI service settings

Expand All @@ -49,7 +49,7 @@ ui:

# @param ui.brand Branding inside the app. Possible values: `"2gis"` or `"urbi"`.
# @skip ui.defaultLocale
# @param ui.pages A list of pages available in application. Values must be written with a comma. Possible values: `"status"`, `"playground"`. E.g. "status, playground". The first page in a list is the one a user's going to be redirected to from deactivated ones.
# @param ui.pages A list of pages available in application. Values must be written with a comma. Possible values: `"status"`, `"playground", "map_styles"`. E.g. "status, playground". The first page in a list is the one a user's going to be redirected to from deactivated ones.
# @skip ui.googleAnalyticsId
# @skip ui.googleTagManagerId

Expand Down Expand Up @@ -89,6 +89,13 @@ ui:
key: ''
initCenter: ''

# @section Map styles API settings

# @param ui.mapStyles.url URL to Map Styles API.

mapStyles:
url: ''

# @section Search API settings

# @param ui.catalog.url URL for [Search API](https://docs.2gis.com/en/on-premise/search).
Expand Down

0 comments on commit 3f905ea

Please sign in to comment.