Skip to content

Commit

Permalink
breaking: Update dependencies (#259)
Browse files Browse the repository at this point in the history
* chore: Update Redis helm chart to 15.7.2 version

* Update RabbitMQ chart to the 8.26.0 version

* Update postgresql chart

* Update a link for postgresql chart spec

* Update Chart.lock

* Add example values for OpenShift

* Update network policies

* Add missing network policies

* Apply suggestions from code review

Co-authored-by: Alejandro Lazaro <[email protected]>

Co-authored-by: Alejandro Lazaro <[email protected]>
  • Loading branch information
Tomasz Czekajlo and virtualroot authored Jan 19, 2022
1 parent 07d259e commit 422e710
Show file tree
Hide file tree
Showing 9 changed files with 279 additions and 77 deletions.
37 changes: 33 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,36 @@ helm upgrade <your release name> rasa-x/rasa-x
helm delete <your release name>
```

## To 4.0.0

The rasa-x-helm chart in version 4.0.0 introduces the following breaking changes:

Update chart dependencies to the latest available version, below you can find listed a summary of major changes compared to the previous version used by the rasa-x-helm chart:

* Redis - the chart for Redis is updated to version 15.

- Credentials parameter are reorganized under the `auth` parameter.
- The `cluster.enabled` parameter is deprecated in favor of `architecture` parameter that accepts two values: `standalone` and `replication`.
- `securityContext.*` is deprecated in favor of `XXX.podSecurityContext` and `XXX.containerSecurityContext` (`XXX` can be replaces with `master` or `replica`).
- `redis.redisPort` is deprecated in favor of `master.service.port` and `replica.service.port`.

A full list of changes between 10.5.14 and 15.7.4 versions for the Bitnami Redis chart can be found in the [changelog](https://artifacthub.io/packages/helm/bitnami/redis#to-15-0-0).

* RabbitMQ - the chart for RabbitMQ is updated to version 8.

- `securityContext.*` is deprecated in favor of `podSecurityContext` and `containerSecurityContext`.
- Authentication parameters were reorganized under the `auth.*` parameter:
- `rabbitmq.username`, `rabbitmq.password`, and `rabbitmq.erlangCookie` are now `auth.username`, `auth.password`, and `auth.erlangCookie` respectively.

A full list of changes between 6.19.2 and 8.26.0 versions for the Bitnami RabbitMQ chart can be found in the [changelog](https://artifacthub.io/packages/helm/bitnami/rabbitmq#to-8-21-0).

* PostgreSQL - the chart for PostgreSQL is updated to version 10.

- Default PostgresSQL version is updated from `12.8.0` to `12.9.0` (a dump/restore is not required for those running 12.X)
- The term `master` has been replaced with `primary` and `slave` with `readReplicas` throughout the chart. Role names have changed from `master` and `slave` to `primary` and `read`.

A full list of changes between 6.19.2 and 8.26.0 versions for the Bitnami RabbitMQ chart can be found in the [changelog](https://artifacthub.io/packages/helm/bitnami/postgresql#to-8-0-0).

## To 3.0.0

The rasa-x-helm chart in version 3.0.0 introduces the following breaking changes:
Expand Down Expand Up @@ -120,10 +150,10 @@ recommend to set at least these values:
| `rasa.command` | Override the default command to run in the container. | `[]` |
| `rasa.args` | Override the default arguments to run in the container. | `[]` |
| `rasa.extraArgs` | Additional rasa arguments. | `[]` |
| `rabbitmq.rabbitmq.password` | Password for RabbitMq. | `test` |
| `rabbitmq.auth.password` | Password for RabbitMQ. | `test` |
| `global.postgresql.postgresqlPassword` | Password for the Postgresql database. | `password` |
| `global.redis.password` | Password for redis. | `password` |
| `rasax.tag` | Version of Rasa X which you want to use. | `1.0.1` |
| `rasax.tag` | Version of Rasa X which you want to use. | `1.0.1` |
| `rasa.version` | Version of Rasa Open Source which you want to use. | `2.8.1` |
| `rasa.tag` | Image tag which should be used for Rasa Open Source. Uses `rasa.version` if empty. | `` |
| `app.name` | Name of your action server image. | `rasa/rasa-x-demo` |
Expand All @@ -138,7 +168,7 @@ recommend to set at least these values:
| `duckling.args` | Override the default arguments to run in the container. | `[]` |
| `global.progressDeadlineSeconds` | Specifies the number of seconds you want to wait for your Deployment to progress before the system reports back that the Deployment has failed progressing. | `600` |
| `networkPolicy.enabled` | If enabled, will generate NetworkPolicy configs for all combinations of internal ingress/egress | `false` |
| `postgresql.image.tag` | The PostgreSQL Image tag | `12.8.0` |
| `postgresql.image.tag` | The PostgreSQL Image tag | `12.8.0` |

## Where to get help

Expand Down Expand Up @@ -189,7 +219,6 @@ where `type` is the category of the change, `description` is a short sentence to
- style
- test
- doc
- ...

For more information, please see [here](https://github.com/lob/generate-changelog#usage).

Expand Down
10 changes: 5 additions & 5 deletions charts/rasa-x/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
dependencies:
- name: postgresql
repository: https://charts.bitnami.com/bitnami
version: 8.6.13
version: 10.15.1
- name: redis
repository: https://charts.bitnami.com/bitnami
version: 10.5.14
version: 15.7.4
- name: rabbitmq
repository: https://charts.bitnami.com/bitnami
version: 6.19.2
digest: sha256:1f80702e13e30d2de7801b5f80cf1622dfebded992151f2d07dfe6678c109650
generated: "2021-06-28T12:31:27.53084+02:00"
version: 8.26.0
digest: sha256:e5e68596ad301c5f6b26e912c570bd99cbf603f88b60d5c416f4c92a3f8b82ec
generated: "2022-01-12T13:44:45.71615+01:00"
18 changes: 13 additions & 5 deletions charts/rasa-x/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
apiVersion: v2

version: "3.1.3"
version: "4.0.0"

appVersion: "1.0.1"

Expand All @@ -24,22 +24,30 @@ maintainers:

dependencies:
- name: postgresql
version: ~8.6.4
version: ~10.15.1
repository: https://charts.bitnami.com/bitnami
condition: postgresql.install

- name: redis
version: ~10.5.12
version: ~15.7.2
repository: https://charts.bitnami.com/bitnami
condition: redis.install

- name: rabbitmq
version: ~6.19.2
version: ~8.26.0
repository: https://charts.bitnami.com/bitnami
condition: rabbitmq.install

annotations:
# See: https://artifacthub.io/docs/topics/annotations/helm/#supported-annotations
artifacthub.io/changes: |
- kind: changed
description: Update dependency for Redis to 15.7.2 version
- kind: changed
description: Update dependency for PostgreSQL to 10.15.1 version
- kind: changed
description: Update dependency for RabbitMQ to 8.26.0 version
- kind: changed
description: Change default PostgreSQL version from 12.8.0 to 12.9.0
- kind: fixed
description: Don't create an ingress resource for Rasa OSS if Rasa OSS deployment is disabled.
description: Add network policies that allow for communication between Rasa OSS, Event Service deployments and db-migration-service
2 changes: 1 addition & 1 deletion charts/rasa-x/templates/_rabbitmq.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Return the rabbitmq host.
Return the rabbitmq password secret name.
*/}}
{{- define "rasa-x.rabbitmq.password.secret" -}}
{{- default (include "rabbitmq.fullname" .) .Values.rabbitmq.rabbitmq.existingPasswordSecret | quote -}}
{{- default (include "rabbitmq.fullname" .) .Values.rabbitmq.auth.existingPasswordSecret | quote -}}
{{- end -}}

{{/*
Expand Down
Loading

0 comments on commit 422e710

Please sign in to comment.