Skip to content

Commit

Permalink
Merge pull request #20 from RasaHQ/generate_values_schema
Browse files Browse the repository at this point in the history
Add values schema
  • Loading branch information
Tomasz Czekajlo authored Jul 7, 2021
2 parents 8bc5dfb + af16963 commit 50ceb8e
Show file tree
Hide file tree
Showing 12 changed files with 1,295 additions and 18 deletions.
6 changes: 3 additions & 3 deletions charts/duckling/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,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.1
version: 1.1.2

# 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
Expand All @@ -42,5 +42,5 @@ dependencies:
annotations:
# See: https://artifacthub.io/docs/topics/annotations/helm/#supported-annotations
artifacthub.io/changes: |
- kind: changed
description: Update the sources links
- kind: added
description: Add values schema
4 changes: 2 additions & 2 deletions charts/duckling/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# duckling

![Version: 1.1.1](https://img.shields.io/badge/Version-1.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.6.5-r3](https://img.shields.io/badge/AppVersion-0.1.6.5--r3-informational?style=flat-square)
![Version: 1.1.2](https://img.shields.io/badge/Version-1.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.6.5-r3](https://img.shields.io/badge/AppVersion-0.1.6.5--r3-informational?style=flat-square)

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

Expand Down Expand Up @@ -42,7 +42,7 @@ Duckling is a Haskell library that parses text into structured data.
| image.name | string | `"duckling"` | Duckling image name to use (relative to `registry`) |
| image.pullPolicy | string | `"IfNotPresent"` | Duckling image pullPolicy |
| image.pullSecrets | list | `[]` | Duckling repository pullSecret |
| image.repository | string | `nil` | Override default registry + image.name for Duckling |
| image.repository | string | `""` | Override default registry + image.name for Duckling |
| image.tag | string | `"0.1.6.5-r3"` | Duckling image tag to use |
| ingress.annotations | object | `{}` | Ingress annotations |
| ingress.enabled | bool | `false` | Set to true to enable ingress |
Expand Down
267 changes: 267 additions & 0 deletions charts/duckling/values.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,267 @@
{
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"affinity": {
"type": "object"
},
"applicationSettings": {
"type": "object",
"properties": {
"port": {
"type": "integer"
},
"scheme": {
"type": "string"
}
}
},
"args": {
"type": "array"
},
"autoscaling": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"maxReplicas": {
"type": "integer"
},
"minReplicas": {
"type": "integer"
},
"targetCPUUtilizationPercentage": {
"type": "integer"
}
}
},
"command": {
"type": "array"
},
"deploymentAnnotations": {
"type": "object"
},
"deploymentLabels": {
"type": "object"
},
"extraEnv": {
"type": "array"
},
"fullnameOverride": {
"type": "null"
},
"image": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"pullPolicy": {
"type": "string"
},
"pullSecrets": {
"type": "array"
},
"repository": {
"type": "string"
},
"tag": {
"type": "string"
}
}
},
"ingress": {
"type": "object",
"properties": {
"annotations": {
"type": "object"
},
"enabled": {
"type": "boolean"
},
"extraPaths": {
"type": "object"
},
"hostname": {
"type": "string"
},
"labels": {
"type": "object"
},
"path": {
"type": "string"
},
"pathType": {
"type": "string"
},
"tls": {
"type": "array"
}
}
},
"initContainers": {
"type": "array"
},
"livenessProbe": {
"type": "object",
"properties": {
"failureThreshold": {
"type": "integer"
},
"httpGet": {
"type": "object",
"properties": {
"path": {
"type": "string"
},
"port": {
"type": "string"
},
"scheme": {
"type": "string"
}
}
},
"initialDelaySeconds": {
"type": "integer"
},
"periodSeconds": {
"type": "integer"
},
"successThreshold": {
"type": "integer"
},
"timeoutSeconds": {
"type": "integer"
}
}
},
"nameOverride": {
"type": "null"
},
"nodeSelector": {
"type": "object"
},
"podAnnotations": {
"type": "object"
},
"podLabels": {
"type": "object"
},
"podSecurityContext": {
"type": "object"
},
"readinessProbe": {
"type": "object",
"properties": {
"failureThreshold": {
"type": "integer"
},
"httpGet": {
"type": "object",
"properties": {
"path": {
"type": "string"
},
"port": {
"type": "string"
},
"scheme": {
"type": "string"
}
}
},
"initialDelaySeconds": {
"type": "integer"
},
"periodSeconds": {
"type": "integer"
},
"successThreshold": {
"type": "integer"
},
"timeoutSeconds": {
"type": "integer"
}
}
},
"registry": {
"type": "string"
},
"replicaCount": {
"type": "integer"
},
"resources": {
"type": "object"
},
"securityContext": {
"type": "object"
},
"service": {
"type": "object",
"properties": {
"annotations": {
"type": "object"
},
"externalTrafficPolicy": {
"type": "string"
},
"loadBalancerIP": {
"type": "null"
},
"nodePort": {
"type": "null"
},
"port": {
"type": "integer"
},
"type": {
"type": "string"
}
}
},
"serviceAccount": {
"type": "object",
"properties": {
"annotations": {
"type": "object"
},
"create": {
"type": "boolean"
},
"name": {
"type": "string"
}
}
},
"strategy": {
"type": "object",
"properties": {
"rollingUpdate": {
"type": "object",
"properties": {
"maxSurge": {
"type": "integer"
},
"maxUnavailable": {
"type": "integer"
}
}
},
"type": {
"type": "string"
}
}
},
"tolerations": {
"type": "array"
},
"volumeMounts": {
"type": "array"
},
"volumes": {
"type": "array"
}
}
}
2 changes: 1 addition & 1 deletion charts/duckling/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ image:
tag: "0.1.6.5-r3"

# -- Override default registry + image.name for Duckling
repository:
repository: ""

# -- Duckling image pullPolicy
pullPolicy: IfNotPresent
Expand Down
6 changes: 3 additions & 3 deletions 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.1
version: 1.0.2
# 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 All @@ -40,5 +40,5 @@ dependencies:
annotations:
# See: https://artifacthub.io/docs/topics/annotations/helm/#supported-annotations
artifacthub.io/changes: |
- kind: changed
description: Update the sources links
- kind: added
description: Add values schema
4 changes: 2 additions & 2 deletions 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.1](https://img.shields.io/badge/Version-1.0.1-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.2](https://img.shields.io/badge/Version-1.0.2-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 @@ -40,7 +40,7 @@ Rasa Action Server Helm chart for Kubernetes
| 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 |
| image.repository | string | `nil` | Override default registry + image.name for Action Server |
| image.repository | string | `""` | Override default registry + image.name for Action Server |
| image.tag | string | `"0.40.0"` | Action Server image tag to use |
| ingress.annotations | object | `{}` | Ingress annotations |
| ingress.enabled | bool | `false` | Set to true to enable ingress |
Expand Down
Loading

0 comments on commit 50ceb8e

Please sign in to comment.