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

[chart/navi-back] chart syncup #493

Merged
merged 4 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all 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/navi-back/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ keywords:
- back
- backend
version: 1.27.0
appVersion: 7.25.0.3
appVersion: 7.27.1.2
dependencies:
- name: generic-chart
version: '*'
Expand Down
7 changes: 4 additions & 3 deletions charts/navi-back/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ See the [documentation](https://docs.2gis.com/en/on-premise/navigation) to learn
| Name | Description | Value |
| ------------------ | ----------- | --------------------------- |
| `image.repository` | Repository | `2gis-on-premise/navi-back` |
| `image.tag` | Tag | `7.25.0.3` |
| `image.tag` | Tag | `7.27.1.2` |
| `image.pullPolicy` | Pull Policy | `IfNotPresent` |

### Navi-Back application settings
Expand Down Expand Up @@ -161,8 +161,9 @@ See the [documentation](https://docs.2gis.com/en/on-premise/navigation) to learn
| `naviback.validation.isochrone.requestSchemaName` | Name of isochrone request validation schema | `IsochroneApiRequestModel.json` |
| `naviback.validation.isochrone.responseSchemaName` | Name of isochrone response validation schema | `IsochroneApiResponseModel.json` |
| `naviback.tilesMetricsThreshold` | The value at which we send tiles metrics (used for internal tests) | `0` |
| `naviback.hierarchies.enabled` | If hierarchies cache available | `false` |
| `naviback.hierarchies.skipPatches` | Skip patches in hierarchies cache | `false` |
| `naviback.hierarchies.enabled` | If SN cache available | `false` |
| `naviback.hierarchies.skipPatches` | Skip patches in hierarchies cache, ignored if skipShortcuts set | `false` |
| `naviback.hierarchies.skipShortcuts` | Skip shortcuts in SN cache | `false` |
| `naviback.hierarchies.s3path` | Hierarchies cache remote location | `""` |
| `naviback.etaScheduleIndex.enabled` | If Schedule Index available | `false` |
| `naviback.etaScheduleIndex.url` | Schedule Index remote url | `""` |
Expand Down
10 changes: 6 additions & 4 deletions charts/navi-back/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -576,11 +576,12 @@ data:
},
{{- end }}{{- /* if .Values.naviback.rtr.enabled */}}
{{- if .Values.naviback.hierarchies.enabled }}
{{- if (not .Values.naviback.hierarchies.skipShortcuts) }}
"hierarchies": {
"use_hierarchy": true,
{{- if (not .Values.naviback.hierarchies.skipPatches) }}
{{- if (not .Values.naviback.hierarchies.skipPatches) }}
"patches_file_name": "{PATCHES_PATH}",
{{- end }}{{- /* if (not .Values.naviback.hierarchies.skipPatches) */}}
{{- end }}{{- /* if (not .Values.naviback.hierarchies.skipPatches) */}}
"graphs_file_name": "{SHORTCUT_PATH}"
},
"hierarchy_shortcuts": {
Expand All @@ -592,7 +593,7 @@ data:
"count": 600
}
},
{{- if (not .Values.naviback.hierarchies.skipPatches) }}
{{- if (not .Values.naviback.hierarchies.skipPatches) }}
"hierarchy_patches": {
"update_period": {{ .Values.naviback.disableUpdates | ternary 604800 600 }},
"nodes": [
Expand All @@ -602,7 +603,8 @@ data:
"count": 600
}
},
{{- end }}{{- /* if (not .Values.naviback.hierarchies.skipPatches) */}}
{{- end }}{{- /* if (not .Values.naviback.hierarchies.skipPatches) */}}
{{- end }}{{- /* (not .Values.naviback.hierarchies.skipShortcuts) */}}
"sn_import": {
"update_period": {{ .Values.naviback.disableUpdates | ternary 604800 600 }},
"nodes": [
Expand Down
8 changes: 5 additions & 3 deletions charts/navi-back/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ args: []
image:
repository: 2gis-on-premise/navi-back
pullPolicy: IfNotPresent
tag: 7.25.0.3
tag: 7.27.1.2


# @section Navi-Back application settings
Expand Down Expand Up @@ -216,8 +216,9 @@ image:
# @param naviback.validation.isochrone.requestSchemaName Name of isochrone request validation schema
# @param naviback.validation.isochrone.responseSchemaName Name of isochrone response validation schema
# @param naviback.tilesMetricsThreshold The value at which we send tiles metrics (used for internal tests)
# @param naviback.hierarchies.enabled If hierarchies cache available
# @param naviback.hierarchies.skipPatches Skip patches in hierarchies cache
# @param naviback.hierarchies.enabled If SN cache available
# @param naviback.hierarchies.skipPatches Skip patches in hierarchies cache, ignored if skipShortcuts set
# @param naviback.hierarchies.skipShortcuts Skip shortcuts in SN cache
# @param naviback.hierarchies.s3path Hierarchies cache remote location
# @param naviback.etaScheduleIndex.enabled If Schedule Index available
# @param naviback.etaScheduleIndex.url Schedule Index remote url
Expand Down Expand Up @@ -347,6 +348,7 @@ naviback:
hierarchies:
enabled: false
skipPatches: false
skipShortcuts: false
s3path: ''
etaScheduleIndex:
enabled: false
Expand Down
Loading