Skip to content

Commit

Permalink
Add extendable-workflow chart
Browse files Browse the repository at this point in the history
Signed-off-by: gabriel-farache <[email protected]>
  • Loading branch information
gabriel-farache committed Oct 17, 2024
1 parent d32e61c commit 6a542df
Show file tree
Hide file tree
Showing 6 changed files with 94 additions and 0 deletions.
23 changes: 23 additions & 0 deletions charts/extendable-workflow/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
17 changes: 17 additions & 0 deletions charts/extendable-workflow/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: v2
name: extendable-workflow
description: A Helm chart for the extendable-workflow serverless workflow
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.3.0-rc1

# 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.
# It is recommended to use it with quotes.
appVersion: "1.16.0"

icon: https://raw.githubusercontent.com/parodos-dev/parodos-dev.github.io/main/assets/images/WO_black.svg
1 change: 1 addition & 0 deletions charts/extendable-workflow/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
See [documentation for the workflow](../../docs/main/extendable-workflow/README.md)
10 changes: 10 additions & 0 deletions charts/extendable-workflow/values.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "http://example.com/example.json",
"type": "object",
"default": {},
"title": "Root Schema",
"required": [],
"properties": {},
"examples": [{}]
}
Empty file.
43 changes: 43 additions & 0 deletions docs/main/extendable-workflow/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@

extendable-workflow
===========

A Helm chart for the extendable-workflow serverless workflow

The extendable-workflow workflow is a basic workflow without any external dependencies.
Its purpose is to demonstrate functionality of the workflows system.

# Helm Configuration

The following table lists the configurable parameters of the extendable-workflow chart and their default values.

| Parameter | Description | Default |
| ------------------------ | ----------------------- | -------------- |
| | | |


# Installation
## Persistence pre-requisites
If persistence is enabled, you must have a PostgreSQL instance running in the cluster, in the same `namespace` as the workflows.

A `secret` containing the instance credentials must exists as well.

See https://www.parodos.dev/orchestrator-helm-chart/postgresql on how to install a PostgreSQL instance. Please follow the section detailing how to install using helm. In this document, a `secret` holding the credentials is created.

## Prerequisites
Set `TARGET_NS` to the target namespace:
```console
TARGET_NS=sonataflow-infra
```
## Installing helm chart

```console
helm repo add orchestrator-workflows https://parodos.dev/serverless-workflows-config
helm install extendable-workflow orchestrator-workflows/extendable-workflow -n ${TARGET_NS}
```

Verify the extendable-workflow workflow is ready:
```console
oc wait sonataflow extendable-workflow -n -n ${TARGET_NS} --for=condition=Running=True --timeout=5m
sonataflow.sonataflow.org/extendable-workflow condition met
```

0 comments on commit 6a542df

Please sign in to comment.