Skip to content

Commit

Permalink
[worker] Worker compatible with Frinx Machine 6.1 (#385)
Browse files Browse the repository at this point in the history
Co-authored-by: Jozef Volak <[email protected]>
  • Loading branch information
Jozefiel and Jozef Volak authored Jul 8, 2024
1 parent 3bb4a03 commit 869247d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 14 deletions.
18 changes: 4 additions & 14 deletions charts/worker/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: worker
version: 3.1.0
appVersion: "6.0.0"
version: 4.0.0
appVersion: "6.1.0"
description: A Helm chart for conductor workers
type: application
home: https://github.com/FRINXio/helm-charts
Expand All @@ -10,18 +10,8 @@ maintainers:
icon: https://avatars.githubusercontent.com/u/23452093?s=200&v=4
annotations:
artifacthub.io/changes: |
- kind: added
description: Added default resource limits for init initContainers
links:
- name: GitHub PR
url: https://github.com/FRINXio/helm-charts/pull/376
- kind: added
description: Added possibility to disable initContainers
links:
- name: GitHub PR
url: https://github.com/FRINXio/helm-charts/pull/376
- kind: added
description: Copy imagePullPolicy setting from container to worker-copy initContainer
- kind: changed
description: Changed env variables compatible with Frinx Machine 6.1.0
links:
- name: GitHub PR
url: https://github.com/FRINXio/helm-charts/pull/376
2 changes: 2 additions & 0 deletions charts/worker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ helm uninstall [RELEASE_NAME]
| `env.X_TENANT_ID` | X_TENANT_ID env variable | `frinx` |
| `env.X_AUTH_USER_GROUP` | X_AUTH_USER_GROUP env variable | `network-admin` |
| `env.UNICONFIG_URL_BASE` | UNICONFIG_URL_BASE env variable | `http://uniconfig:8181/rests` |
| `env.CONDUCTOR_URL_BASE` | CONDUCTOR_URL_BASE env variable | `http://conductor-server:8080/api` |
| `env.SCHELLAR_URL_BASE` | SCHELLAR_URL_BASE env variable | `http://conductor-server:3000/query` |
| `configMaps` | Option to attach configmaps into the pod. [See example in values.yaml](https://github.com/FRINXio/helm-charts/blob/main/charts/worker/values.yaml) | |
| `extraSecrets` | Option to add secrets into the pod. [See example in values.yaml](https://github.com/FRINXio/helm-charts/blob/main/charts/worker/values.yaml) | |
| `fileSecrets` | Option to attach secrets as a file into the pod. Need to define secret name, env name and target path. [See example in values.yaml](https://github.com/FRINXio/helm-charts/blob/main/charts/worker/values.yaml) | |
Expand Down
2 changes: 2 additions & 0 deletions charts/worker/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ env:
X_TENANT_ID: frinx
X_AUTH_USER_GROUP: network-admin
UNICONFIG_URL_BASE: http://uniconfig:8181/rests
CONDUCTOR_URL_BASE: http://conductor-server:8080/api
SCHELLAR_URL_BASE: http://conductor-server:3000/query

configMaps:
# - name: properties-file
Expand Down

0 comments on commit 869247d

Please sign in to comment.