Skip to content
Merged
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
2 changes: 1 addition & 1 deletion platform/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,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: "0.17.1"
version: "0.18.0"

# 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 Down
17 changes: 11 additions & 6 deletions platform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A Helm chart to deploy Seqera Platform (formerly known as Tower) on Kubernetes.

![Version: 0.17.1](https://img.shields.io/badge/Version-0.17.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v25.2.3](https://img.shields.io/badge/AppVersion-v25.2.3-informational?style=flat-square)
![Version: 0.18.0](https://img.shields.io/badge/Version-0.18.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v25.2.3](https://img.shields.io/badge/AppVersion-v25.2.3-informational?style=flat-square)

> [!WARNING]
> This chart is currently still in development and breaking changes are expected.
Expand All @@ -17,6 +17,8 @@ A Helm chart to deploy Seqera Platform (formerly known as Tower) on Kubernetes.

For a full list of requirements, refer to the [documentation](https://docs.seqera.io/platform-enterprise/enterprise/overview).

Make sure to vendor the Seqera container images to your private registry as described in the [documentation](https://docs.seqera.io/platform-enterprise/enterprise/prerequisites/common#vendoring-seqera-container-images-to-your-own-registry).

## Platform architecture

The [Seqera Platform architecture](https://docs.seqera.io/platform-enterprise/enterprise/overview)
Expand All @@ -42,7 +44,10 @@ Values in the `.redis` section take precedence over values in the `.global.redis
To install the chart with the release name `my-release`:

```console
helm install my-release oci://public.cr.seqera.io/charts/platform --version 0.17.1 --namespace my-namespace --create-namespace
helm install my-release oci://public.cr.seqera.io/charts/platform \
--version 0.18.0 \
--namespace my-namespace \
--create-namespace
```

For a list of available chart versions, see the chart repository: https://public.cr.seqera.io/repo/charts/platform
Expand Down Expand Up @@ -618,7 +623,7 @@ false
<td>backend.image.registry</td>
<td>string</td>
<td><pre lang="json">
"cr.seqera.io"
""
</pre>
</td>
<td>Backend container image registry</td>
Expand Down Expand Up @@ -1141,7 +1146,7 @@ true
<td>frontend.image.registry</td>
<td>string</td>
<td><pre lang="json">
"cr.seqera.io"
""
</pre>
</td>
<td>Frontend container image registry</td>
Expand Down Expand Up @@ -1658,7 +1663,7 @@ true
<td>cron.image.registry</td>
<td>string</td>
<td><pre lang="json">
"cr.seqera.io"
""
</pre>
</td>
<td>Cron container image registry</td>
Expand Down Expand Up @@ -2188,7 +2193,7 @@ true
<td>cron.dbMigrationInitContainer.image.registry</td>
<td>string</td>
<td><pre lang="json">
"cr.seqera.io"
""
</pre>
</td>
<td>Database migration container image registry</td>
Expand Down
7 changes: 6 additions & 1 deletion platform/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

For a full list of requirements, refer to the [documentation](https://docs.seqera.io/platform-enterprise/enterprise/overview).

Make sure to vendor the Seqera container images to your private registry as described in the [documentation](https://docs.seqera.io/platform-enterprise/enterprise/prerequisites/common#vendoring-seqera-container-images-to-your-own-registry).

## Platform architecture

The [Seqera Platform architecture](https://docs.seqera.io/platform-enterprise/enterprise/overview)
Expand All @@ -41,7 +43,10 @@ Values in the `.redis` section take precedence over values in the `.global.redis
To install the chart with the release name `my-release`:

```console
helm install my-release oci://public.cr.seqera.io/charts/{{ template "chart.name" . }} --version {{ template "chart.version" . }} --namespace my-namespace --create-namespace
helm install my-release oci://public.cr.seqera.io/charts/{{ template "chart.name" . }} \
--version {{ template "chart.version" . }} \
--namespace my-namespace \
--create-namespace
```

For a list of available chart versions, see the chart repository: https://public.cr.seqera.io/repo/charts/{{ template "chart.name" . }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ should produce a Deployment resource with minimal values:
name: release-name-platform-backend
- configMapRef:
name: release-name-platform-shared-backend-cron
image: cr.seqera.io/private/nf-tower-enterprise/backend:v9.9.9
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where are these tests run. will the registry need to substituted here by the users?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where are these tests run.

these are snapshots of the rendered manifests, produced by https://github.com/helm-unittest/helm-unittest/?tab=readme-ov-file#snapshot-testing
they are executed at each commit by pre-commit and are also executed by the GHA that packages the chart as a requirement
more details on how to collaborate on the chart and how to run them is in the CONTRIBUTING readme

will the registry need to substituted here by the users?

yes, that's the idea of this PR and of the prerequisite page added to our docs with instructions for customers on how to vendor the seqera platform images: see PR seqeralabs/docs#911

image: private/nf-tower-enterprise/backend:v9.9.9
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 10
Expand Down Expand Up @@ -260,7 +260,7 @@ should render the backend deployment with the correct checksums, labels and anno
name: release-name-platform-backend
- configMapRef:
name: release-name-platform-shared-backend-cron
image: cr.seqera.io/private/nf-tower-enterprise/backend:9.9.9
image: private/nf-tower-enterprise/backend:9.9.9
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 10
Expand Down
8 changes: 4 additions & 4 deletions platform/tests/__snapshot__/deployment-cron_test.yaml.snap
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ should produce a Deployment resource with minimal values:
name: release-name-platform-cron
- configMapRef:
name: release-name-platform-shared-backend-cron
image: cr.seqera.io/private/nf-tower-enterprise/backend:v9.9.9
image: private/nf-tower-enterprise/backend:v9.9.9
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 10
Expand Down Expand Up @@ -154,7 +154,7 @@ should produce a Deployment resource with minimal values:
name: release-name-platform-shared-backend-cron
- secretRef:
name: release-name-platform-backend
image: cr.seqera.io/private/nf-tower-enterprise/migrate-db:v9.9.9
image: private/nf-tower-enterprise/migrate-db:v9.9.9
imagePullPolicy: IfNotPresent
name: migrate-db
securityContext:
Expand Down Expand Up @@ -256,7 +256,7 @@ should render the cron deployment with the correct checksums, labels and annotat
name: release-name-platform-cron
- configMapRef:
name: release-name-platform-shared-backend-cron
image: cr.seqera.io/private/nf-tower-enterprise/backend:9.9.9
image: private/nf-tower-enterprise/backend:9.9.9
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 10
Expand Down Expand Up @@ -379,7 +379,7 @@ should render the cron deployment with the correct checksums, labels and annotat
name: release-name-platform-shared-backend-cron
- secretRef:
name: release-name-platform-backend
image: cr.seqera.io/private/nf-tower-enterprise/migrate-db:9.9.9
image: private/nf-tower-enterprise/migrate-db:9.9.9
imagePullPolicy: IfNotPresent
name: migrate-db
securityContext:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ should produce a Deployment resource with minimal values:
- name: NGINX_LISTEN_PORT
value: "8083"
envFrom: null
image: cr.seqera.io/private/nf-tower-enterprise/frontend:v9.9.9-unprivileged
image: private/nf-tower-enterprise/frontend:v9.9.9-unprivileged
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 10
Expand Down Expand Up @@ -133,7 +133,7 @@ should render the frontend deployment with the correct labels and annotations:
- name: NGINX_LISTEN_PORT
value: "8083"
envFrom: null
image: cr.seqera.io/private/nf-tower-enterprise/frontend:9.9.9-unprivileged
image: private/nf-tower-enterprise/frontend:9.9.9-unprivileged
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 10
Expand Down
4 changes: 2 additions & 2 deletions platform/tests/deployment-backend_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ tests:
asserts:
- equal:
path: spec.template.spec.containers[0].image
value: "cr.seqera.io/private/nf-tower-enterprise/backend:9.0.0"
value: "private/nf-tower-enterprise/backend:9.0.0"

- it: should render the backend deployment with the specified digest, overriding the tag
template: deployment-backend.yaml
Expand All @@ -57,7 +57,7 @@ tests:
asserts:
- equal:
path: spec.template.spec.containers[0].image
value: "cr.seqera.io/private/nf-tower-enterprise/backend@sha256:1234abcdef"
value: "private/nf-tower-enterprise/backend@sha256:1234abcdef"

- it: should render the backend deployment with the correct checksums, labels and annotations
template: deployment-backend.yaml
Expand Down
6 changes: 3 additions & 3 deletions platform/tests/deployment-cron_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ tests:
asserts:
- equal:
path: spec.template.spec.containers[0].image
value: "cr.seqera.io/private/nf-tower-enterprise/backend:9.0.0"
value: "private/nf-tower-enterprise/backend:9.0.0"

- it: should render the cron deployment with the specified digest, overriding the tag
template: deployment-cron.yaml
Expand All @@ -57,7 +57,7 @@ tests:
asserts:
- equal:
path: spec.template.spec.containers[0].image
value: "cr.seqera.io/private/nf-tower-enterprise/backend@sha256:1234abcdef"
value: "private/nf-tower-enterprise/backend@sha256:1234abcdef"

- it: should render the cron deployment with the correct checksums, labels and annotations
template: deployment-cron.yaml
Expand Down Expand Up @@ -405,7 +405,7 @@ tests:
value: migrate-db
- equal:
path: spec.template.spec.initContainers[2].image
value: cr.seqera.io/private/nf-tower-enterprise/migrate-db:v9.9.9
value: private/nf-tower-enterprise/migrate-db:v9.9.9
- equal:
path: spec.template.spec.initContainers[0].env
value:
Expand Down
6 changes: 3 additions & 3 deletions platform/tests/deployment-frontend_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ tests:
asserts:
- equal:
path: spec.template.spec.containers[0].image
value: "cr.seqera.io/private/nf-tower-enterprise/frontend:9.0.0"
value: "private/nf-tower-enterprise/frontend:9.0.0"

- it: should render the frontend deployment with a tag version ending with -unprivileged depending on the chart appVersion
chart:
Expand All @@ -45,7 +45,7 @@ tests:
asserts:
- equal:
path: spec.template.spec.containers[0].image
value: "cr.seqera.io/private/nf-tower-enterprise/frontend:9.8.7-unprivileged"
value: "private/nf-tower-enterprise/frontend:9.8.7-unprivileged"

- it: should render the frontend deployment with the specified digest, overriding the tag
set:
Expand All @@ -56,7 +56,7 @@ tests:
asserts:
- equal:
path: spec.template.spec.containers[0].image
value: "cr.seqera.io/private/nf-tower-enterprise/frontend@sha256:1234abcdef"
value: "private/nf-tower-enterprise/frontend@sha256:1234abcdef"

- it: should render the frontend deployment with the correct labels and annotations
# the chart version is included in the annotations, so it needs to be set
Expand Down
8 changes: 4 additions & 4 deletions platform/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ commonLabels: {}
backend:
image:
# -- Backend container image registry
registry: cr.seqera.io
registry: ""
# -- Backend container image repository
repository: private/nf-tower-enterprise/backend
# -- Backend container image tag
Expand Down Expand Up @@ -475,7 +475,7 @@ backend:
frontend:
image:
# -- Frontend container image registry
registry: cr.seqera.io
registry: ""
# -- Frontend container image repository
repository: private/nf-tower-enterprise/frontend
# -- Specify a tag to override the version defined in .Chart.appVersion
Expand Down Expand Up @@ -694,7 +694,7 @@ frontend:
cron:
image:
# -- Cron container image registry
registry: cr.seqera.io
registry: ""
# -- Cron container image repository
repository: private/nf-tower-enterprise/backend
# -- Cron container image tag
Expand Down Expand Up @@ -907,7 +907,7 @@ cron:
dbMigrationInitContainer:
image:
# -- Database migration container image registry
registry: cr.seqera.io
registry: ""
# -- Database migration container image repository
repository: private/nf-tower-enterprise/migrate-db
# -- Specify a tag to override the version defined in .Chart.appVersion
Expand Down