Skip to content

Commit

Permalink
Merge pull request #544 from 2gis/develop
Browse files Browse the repository at this point in the history
release-1.32.0 (master)
  • Loading branch information
golovanovsv authored Nov 28, 2024
2 parents 5fb603e + 53d0f8b commit 50fc0b0
Show file tree
Hide file tree
Showing 75 changed files with 995 additions and 191 deletions.
6 changes: 6 additions & 0 deletions Breaking-Changes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# 2GIS On-Premise Breaking-Changes

## [1.32.0]

### tiles-api
- proxy.access.bss.enabled renamed to proxy.access.stat.enabled
- proxy.access.bss.url renamed to proxy.access.stat.url

## [1.30.0]

### pro-api
Expand Down
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
# 2GIS On-Premise Changelog

## [1.32.0] (2024-11-28)
#### [Breaking-Changes](Breaking-Changes.md#1320)
#### Images
```
citylens
- citylens-api:1.14.2
+ citylens-api:1.15.0
- citylens-database:1.14.0
+ citylens-database:1.15.0
- citylens-web:1.14.2
+ citylens-web:1.15.0
- citylens-workers:1.14.2
+ citylens-workers:1.15.0
pro-api
- pro-api:1.41.0
+ pro-api:1.50.1
- pro-importer:1.41.0
+ pro-importer:1.50.1
- pro-importer:1.41.0
+ pro-importer:1.50.1
- pro-permissions-api:1.41.0
+ pro-permissions-api:1.50.1
+ pro-tasks-api:1.50.1
pro-ui
- pro-importer:1.41.0
+ pro-importer:1.50.1
- pro-ui:2.27.0
+ pro-ui:3.5.0
```

## [1.31.0] (2024-11-07)
#### Images
```
Expand Down
2 changes: 1 addition & 1 deletion charts/catalog-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: catalog-api
type: application
description: A Helm chart for Kubernetes to deploy Catalog APIs

version: 1.31.0
version: 1.32.0
appVersion: 3.625.0

maintainers:
Expand Down
19 changes: 10 additions & 9 deletions charts/catalog-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,16 @@ See the [documentation](https://docs.2gis.com/en/on-premise/search) to learn abo

### Common settings

| Name | Description | Value |
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------- | ----- |
| `nodeSelector` | Kubernetes [node selectors](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector) | `{}` |
| `affinity` | Kubernetes [pod affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity) | `{}` |
| `tolerations` | Kubernetes [tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) settings | `[]` |
| `annotations` | Kubernetes [annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/). | `{}` |
| `podAnnotations` | Kubernetes [pod annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/) | `{}` |
| `podLabels` | Kubernetes [pod labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) | `{}` |
| `imagePullSecrets` | Kubernetes [secrets for pulling the image from the registry](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/) | `[]` |
| Name | Description | Value |
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | ----- |
| `nodeSelector` | Kubernetes [node selectors](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector) | `{}` |
| `affinity` | Kubernetes [pod affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity) | `{}` |
| `tolerations` | Kubernetes [tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) settings | `[]` |
| `annotations` | Kubernetes [annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/). | `{}` |
| `podAnnotations` | Kubernetes [pod annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/) | `{}` |
| `podLabels` | Kubernetes [pod labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) | `{}` |
| `podSecurityContext` | Kubernetes [pod security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) | `{}` |
| `imagePullSecrets` | Kubernetes [secrets for pulling the image from the registry](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/) | `[]` |

### Kubernetes [Pod Disruption Budget](https://kubernetes.io/docs/concepts/workloads/pods/disruptions/#pod-disruption-budgets) settings

Expand Down
4 changes: 4 additions & 0 deletions charts/catalog-api/templates/api/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.podSecurityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.api.postgres.tls.enabled }}
initContainers:
- name: copy-certs
Expand Down
4 changes: 4 additions & 0 deletions charts/catalog-api/templates/importer/cleaner/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ spec:
labels:
{{- include "catalog.importer.labels" . | nindent 8 }}
spec:
{{- with .Values.podSecurityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
restartPolicy: Never
{{- if .Values.importer.postgres.tls.enabled }}
initContainers:
Expand Down
4 changes: 4 additions & 0 deletions charts/catalog-api/templates/importer/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ spec:
labels:
{{- include "catalog.importer.labels" . | nindent 8 }}
spec:
{{- with .Values.podSecurityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
restartPolicy: Never
{{- if or .Values.importer.initialDelaySeconds .Values.importer.postgres.tls.enabled }}
initContainers:
Expand Down
2 changes: 2 additions & 0 deletions charts/catalog-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ dgctlDockerRegistry: ''
# @param annotations Kubernetes [annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/).
# @param podAnnotations Kubernetes [pod annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/)
# @param podLabels Kubernetes [pod labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/)
# @param podSecurityContext Kubernetes [pod security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
# @param imagePullSecrets Kubernetes [secrets for pulling the image from the registry](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/)

nodeSelector: {}
Expand All @@ -21,6 +22,7 @@ tolerations: []
annotations: {}
podAnnotations: {}
podLabels: {}
podSecurityContext: {}
imagePullSecrets: []


Expand Down
4 changes: 2 additions & 2 deletions charts/citylens/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: citylens
type: application
description: A Helm chart for Kubernetes to deploy Citylens service

version: 1.31.0
appVersion: 1.14.2
version: 1.32.0
appVersion: 1.15.0

maintainers:
- name: 2gis
Expand Down
8 changes: 4 additions & 4 deletions charts/citylens/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ See the [documentation]() to learn about:
| Name | Description | Value |
| ---------------------- | ------------ | ------------------------------ |
| `api.image.repository` | Repository. | `2gis-on-premise/citylens-api` |
| `api.image.tag` | Tag. | `1.14.2` |
| `api.image.tag` | Tag. | `1.15.0` |
| `api.image.pullPolicy` | Pull Policy. | `IfNotPresent` |

### Resources settings
Expand Down Expand Up @@ -133,7 +133,7 @@ See the [documentation]() to learn about:
| Name | Description | Value |
| ---------------------- | ------------ | ------------------------------ |
| `web.image.repository` | Repository. | `2gis-on-premise/citylens-web` |
| `web.image.tag` | Tag. | `1.14.2` |
| `web.image.tag` | Tag. | `1.15.0` |
| `web.image.pullPolicy` | Pull Policy. | `IfNotPresent` |

### Resources settings
Expand Down Expand Up @@ -352,7 +352,7 @@ See the [documentation]() to learn about:
| Name | Description | Value |
| -------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------- |
| `worker.dashboardBatchEvents.image.repository` | Repository. | `2gis-on-premise/citylens-workers` |
| `worker.dashboardBatchEvents.image.tag` | Tag. | `1.14.2` |
| `worker.dashboardBatchEvents.image.tag` | Tag. | `1.15.0` |
| `worker.dashboardBatchEvents.image.pullPolicy` | Pull Policy. | `IfNotPresent` |
| `worker.dashboardBatchEvents.logLevel` | Worker's log level. | `INFO` |
| `worker.dashboardBatchEvents.revisionHistoryLimit` | Revision history limit (used for [rolling back](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) a deployment). | `3` |
Expand All @@ -370,7 +370,7 @@ See the [documentation]() to learn about:
| -------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| `migrations.enabled` | If migrations needed. | `true` |
| `migrations.image.repository` | Repository. | `2gis-on-premise/citylens-database` |
| `migrations.image.tag` | Tag. | `1.14.0` |
| `migrations.image.tag` | Tag. | `1.15.0` |
| `migrations.image.pullPolicy` | Pull Policy | `IfNotPresent` |
| `migrations.resources.requests.cpu` | A CPU request. | `100m` |
| `migrations.resources.requests.memory` | A memory request. | `1Gi` |
Expand Down
6 changes: 5 additions & 1 deletion charts/citylens/templates/helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,12 @@ postgresql://{{ required "A valid .Values.postgres.username entry required" .use
{{- end -}}

{{/*
S3 key template for frames
S3 key templates for frames & frames crops
*/}}
{{- define "citylens.s3_constants.frame_key_template" -}}
{track_uuid}/{frame_timestamp_ms}.jpg
{{- end -}}

{{- define "citylens.s3_constants.crop_frame_key_template" -}}
{track_uuid}/{frame_timestamp_ms}_{theta}.jpg
{{- end -}}
1 change: 1 addition & 0 deletions charts/citylens/templates/web/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ data:
log: '{track_uuid}/log_{log_timestamp_ms}'
log_prefix: '{track_uuid}/log_'
frame: {{ include "citylens.s3_constants.frame_key_template" . | squote }}
crop_frame: {{ include "citylens.s3_constants.crop_frame_key_template" . | squote }}
videos: '{track_uuid}/{resource_type}'
client_params:
aws_access_key_id: {{ required "A valid .Values.s3.accessKey entry required" .accessKey | squote }}
Expand Down
8 changes: 4 additions & 4 deletions charts/citylens/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ api:
image:
repository: 2gis-on-premise/citylens-api
pullPolicy: IfNotPresent
tag: 1.14.2
tag: 1.15.0

replicas: 4

Expand Down Expand Up @@ -231,7 +231,7 @@ web:
image:
repository: 2gis-on-premise/citylens-web
pullPolicy: IfNotPresent
tag: 1.14.2
tag: 1.15.0

replicas: 1

Expand Down Expand Up @@ -614,7 +614,7 @@ worker:
image:
repository: 2gis-on-premise/citylens-workers
pullPolicy: IfNotPresent
tag: 1.14.2
tag: 1.15.0

revisionHistoryLimit: 3

Expand Down Expand Up @@ -650,7 +650,7 @@ migrations:
image:
repository: 2gis-on-premise/citylens-database
pullPolicy: IfNotPresent
tag: 1.14.0
tag: 1.15.0

resources:
requests:
Expand Down
2 changes: 1 addition & 1 deletion charts/dgtt/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: dgtt
description: DGTT Helm chart for Kubernetes
type: application

version: 1.31.0
version: 1.32.0
appVersion: 0.2.27-b188673e09

maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/floors-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: floors-api
description: Helm for floors service
type: application

version: 1.31.0
version: 1.32.0
appVersion: 1.1.0

maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/generic-chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Generic library Helm chart for 2Gis
type: library
keywords:
- library
version: 1.31.0
version: 1.32.0
maintainers:
- name: 2gis
url: https://github.com/2gis
Expand Down
2 changes: 1 addition & 1 deletion charts/gis-platform/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: GIS Platform

type: application

version: 1.31.0
version: 1.32.0
appVersion: 2023.8.3-0

dependencies:
Expand Down
2 changes: 1 addition & 1 deletion charts/keycloak/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: keycloak
type: application
description: Keycloak is a high performance Java-based identity and access management solution. It lets developers add an authentication layer to their applications with minimum effort.

version: 1.31.0
version: 1.32.0
appVersion: 21.1.1-debian-11-r4

maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/keys/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: keys
type: application
description: A Helm chart for Kubernetes to deploy API Keys service

version: 1.31.0
version: 1.32.0
appVersion: 1.89.0

maintainers:
Expand Down
Loading

0 comments on commit 50fc0b0

Please sign in to comment.