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

[Test] Feat/add host aliases #154

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open
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
3 changes: 2 additions & 1 deletion .github/workflows/chart-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.RASABOT_HELM_TOKEN }}

- name: Update README.md
working-directory: charts/${{ matrix.chart }}
Expand All @@ -45,3 +45,4 @@ jobs:
default_author: github_actor
add: 'charts/${{ matrix.chart }}/README.md'
message: '[helm-docs] Update README.md'
github_token: ${{ secrets.RASABOT_HELM_TOKEN }}
2 changes: 1 addition & 1 deletion charts/duckling/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.1.5
version: 1.1.6
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
2 changes: 1 addition & 1 deletion charts/duckling/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# duckling

![Version: 1.1.4](https://img.shields.io/badge/Version-1.1.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.2.0.2-r0](https://img.shields.io/badge/AppVersion-0.2.0.2--r0-informational?style=flat-square)
![Version: 1.1.6](https://img.shields.io/badge/Version-1.1.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.2.0.2-r0](https://img.shields.io/badge/AppVersion-0.2.0.2--r0-informational?style=flat-square)

Duckling is a Haskell library that parses text into structured data.

Expand Down
2 changes: 1 addition & 1 deletion charts/rasa-action-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.7
version: 1.0.8
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
3 changes: 2 additions & 1 deletion charts/rasa-action-server/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# rasa-action-server

![Version: 1.0.3](https://img.shields.io/badge/Version-1.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.7.0](https://img.shields.io/badge/AppVersion-2.7.0-informational?style=flat-square)
![Version: 1.0.8](https://img.shields.io/badge/Version-1.0.8-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.7.0](https://img.shields.io/badge/AppVersion-2.7.0-informational?style=flat-square)

Rasa Action Server Helm chart for Kubernetes

Expand Down Expand Up @@ -37,6 +37,7 @@ Rasa Action Server Helm chart for Kubernetes
| deploymentLabels | object | `{}` | Labels to add to the action-server deployment |
| extraEnv | list | `[]` | Add extra environment variables |
| fullnameOverride | string | `""` | Override the full qualified app name |
| hostAliases | list | `[]` | Specify the hostAliases of the Action Server pods |
| image.name | string | `"rasa-x-demo"` | Action Server image name to use (relative to `registry`) |
| image.pullPolicy | string | `"IfNotPresent"` | Action Server image pullPolicy |
| image.pullSecrets | list | `[]` | Action Server repository pullSecret # See https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod |
Expand Down
4 changes: 4 additions & 0 deletions charts/rasa-action-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- with .Values.hostAliases }}
hostAliases:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
Expand Down
6 changes: 6 additions & 0 deletions charts/rasa-action-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ applicationSettings:
# -- Specify the number of Action Server replicas
replicaCount: 1

# -- Specify the hostAliases of the Action Server pods
hostAliases: []
# - ip: 127.0.0.1
# hostnames:
# - "localhost"

# -- Override the default arguments for the container
args: []

Expand Down
2 changes: 1 addition & 1 deletion charts/rasa/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.17.6
version: 1.17.7
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
13 changes: 7 additions & 6 deletions charts/rasa/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# rasa

![Version: 1.17.3](https://img.shields.io/badge/Version-1.17.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.2.6](https://img.shields.io/badge/AppVersion-3.2.6-informational?style=flat-square)
![Version: 1.17.7](https://img.shields.io/badge/Version-1.17.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.2.6](https://img.shields.io/badge/AppVersion-3.2.6-informational?style=flat-square)

The Rasa Helm chart deploy a Rasa Open Source Server. Rasa is an open source machine learning framework for automated text and voice-based conversations.

Expand All @@ -19,12 +19,12 @@ helm repo update

| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | postgresql | ~10.16.2 |
| https://charts.bitnami.com/bitnami | rabbitmq | ~8.32.2 |
| https://charts.bitnami.com/bitnami | redis | ~15.7.6 |
| https://helm.rasa.com | duckling | ~1.0.0 |
| https://helm.rasa.com | rasa-action-server | ~1.0.0 |
| https://helm.rasa.com | duckling | ~1.1.4 |
| https://helm.rasa.com | rasa-action-server | ~1.0.4 |
| https://helm.rasa.com | rasa-common | ~1.0.2 |
| oci://europe-west3-docker.pkg.dev/rasa-releases/rasa-x-helm | postgresql | 10.16.2 |
| oci://europe-west3-docker.pkg.dev/rasa-releases/rasa-x-helm | rabbitmq | 8.32.2 |
| oci://europe-west3-docker.pkg.dev/rasa-releases/rasa-x-helm | redis | 15.7.6 |

## Quick start

Expand Down Expand Up @@ -303,6 +303,7 @@ In the [`examples/rasa`](../../examples) directory you can find more detailed ex
| global.postgresql.servicePort | int | `5432` | servicePort which is used to expose postgres to the other components |
| global.redis | object | `{"password":"redis-password"}` | global settings of the redis subchart |
| global.redis.password | string | `"redis-password"` | password to use in case there no external secret was provided |
| hostAliases | list | `[]` | Specify the hostAliases of Rasa Open Source pods |
| image.name | string | `"rasa"` | Rasa Open Source image name to use (relative to `registry`) |
| image.pullPolicy | string | `"IfNotPresent"` | Rasa Open Source image pullPolicy |
| image.pullSecrets | list | `[]` | Rasa Open Source repository pullSecret # See https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod |
Expand Down
4 changes: 4 additions & 0 deletions charts/rasa/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- with .Values.hostAliases }}
hostAliases:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
Expand Down
6 changes: 6 additions & 0 deletions charts/rasa/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,12 @@ applicationSettings:
# -- Specify the number of Rasa Open Source replicas
replicaCount: 1

# -- Specify the hostAliases of Rasa Open Source pods
hostAliases: []
# - ip: 127.0.0.1
# hostnames:
# - "localhost"

networkPolicy:
# -- Enable Kubernetes Network Policy
enabled: false
Expand Down
Loading