Compare commits

...

13 Commits

Author SHA1 Message Date
Kairo Araujo 3765365ccd
Merge pull request #12 from in-toto/archivista-0.9.2
archivista: helm v0.8.3
2025-05-08 21:16:42 +02:00
Kairo Araujo 92a6b433b0 archivista: helm v0.8.3
Bump Archivista version to 0.9.2

Signed-off-by: Kairo Araujo <kairo@dearaujo.nl>
2025-05-08 21:06:23 +02:00
Kairo Araujo a2d76b68dd
Merge pull request #8 from kairoaraujo/archivista-0.9.1
archivista: update to release 0.9.1
2025-04-02 19:50:27 +01:00
Kairo Araujo eb6f198b81 archivista: update to release 0.9.1
Signed-off-by: Kairo Araujo <kairo@dearaujo.nl>
2025-04-02 19:46:13 +01:00
Kairo Araujo 6f354f26f5
Merge pull request #5 from in-toto/update-archivista-docs
docs: update the archivista helm docs
2025-02-05 21:42:36 +01:00
Kairo Araujo 0fadb1b462
Merge pull request #7 from kairoaraujo/update-archivista-0.9.0
archivista: update charts to v0.9.0
2025-02-05 21:42:23 +01:00
Kairo Araujo b58447a42e docs: update the archivista helm docs
- use reference to the in-toto repository
- remove the values and use dynamic values from the repository

Signed-off-by: Kairo Araujo <kairo.araujo@testifysec.com>
2025-02-04 09:57:51 +01:00
Kairo Araujo 7cb8fe9e50 archivista: update charts to v0.9.0
Signed-off-by: Kairo Araujo <kairo@dearaujo.nl>
2025-02-04 09:52:54 +01:00
Kairo Araujo b0e08a07e6
docs: update helm charts landing page (#4)
Signed-off-by: Kairo Araujo <kairo.araujo@testifysec.com>
2024-12-09 08:14:24 -05:00
Kairo Araujo 1172151d70
Merge pull request #2 from in-toto/archivista-0.8.0
release(archivista): Update Archivista image v0.8.0
2024-12-06 15:17:29 +01:00
Kairo Araujo e2bf467269 release(archivista): Update Archivista image v0.8.0
Signed-off-by: Kairo Araujo <kairo.araujo@testifysec.com>
2024-12-06 15:11:11 +01:00
Kairo Araujo f186529557
Merge pull request #3 from in-toto/charts-tests-gh
build: GHA tests for helm charts
2024-12-06 15:10:10 +01:00
Kairo Araujo c306c2ce4b build: GHA tests for helm charts
Signed-off-by: Kairo Araujo <kairo.araujo@testifysec.com>
2024-12-06 12:55:36 +01:00
5 changed files with 118 additions and 36 deletions

45
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,45 @@
name: Lint and Test Charts
on: pull_request
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814
with:
version: v3.14.4
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
with:
python-version: '3.x'
check-latest: true
- name: Set up chart-testing
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
if [[ -n "$changed" ]]; then
echo "changed=true" >> "$GITHUB_OUTPUT"
fi
- name: Run chart-testing (lint)
if: steps.list-changed.outputs.changed == 'true'
run: ct lint --target-branch ${{ github.event.repository.default_branch }}
- name: Create kind cluster
if: steps.list-changed.outputs.changed == 'true'
uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde
- name: Run chart-testing (install)
if: steps.list-changed.outputs.changed == 'true'
run: ct install --target-branch ${{ github.event.repository.default_branch }}

View File

@ -2,4 +2,50 @@
in-toto helm charts in-toto helm charts
This repository is the source code of https://in-toto.io/helm-charts This repository is the source code of https://in-toto.github.io/helm-charts
## Usage
[Helm](https://helm.sh) must be installed to use the charts. Please refer to
Helm's [documentation](https://helm.sh/docs) to get started.
Also, check Visit [https://in-toto.io](https://in-toto.io) to get started with
in-toto.
Once Helm has been set up correctly, add the repo as follows:
```bash
helm repo add in-toto https://in-toto.github.io/helm-charts
```
If you had already added this repo earlier, run `helm repo update` to retrieve
the latest versions of the packages. You can then run `helm search repo
in-toto` to see the charts.
## Charts
You can search all in-toto charts using following command:
```bash
helm search repo in-toto
```
### Archivista
This is a helm chart to deploy the Archivista.
#### Values
```bash
helm show values in-toto/archivista
```
### Installing
```bash
helm install archivista in-toto/archivista
```
See https://github.com/in-toto/helm-charts/tree/main/charts/archivista for more
information.

View File

@ -17,7 +17,7 @@ name: archivista
description: A Helm chart for Archivista description: A Helm chart for Archivista
type: application type: application
version: 0.6.0 version: 0.8.3
keywords: keywords:
- in-toto - in-toto
@ -34,4 +34,4 @@ sources:
maintainers: maintainers:
- name: in-toto - name: in-toto
appVersion: "0.6.0" appVersion: "0.9.2"

View File

@ -12,13 +12,28 @@ to establish connections to each datastore. These environment variables can be a
## Quick Installation ## Quick Installation
Archivista helm charts are hosted by in-toto helm repository.
To add the repository run following command.
```shell
helm repo add in-toto https://in-toto.io/helm-charts
```
If you have already added the repository, run following command to update the
repository.
```shell
helm repo update
```
To install the helm chart with default values run following command. To install the helm chart with default values run following command.
The [Values](#Values) section describes the configuration options for this chart. The [Values](#Values) section describes the configuration options for this chart.
```shell ```shell
helm install archivista . helm install archivista in-toto/archivista
``` ```
## Uninstallation ## Uninstallation
To uninstall the Helm chart run following command. To uninstall the Helm chart run following command.
@ -40,33 +55,9 @@ helm uninstall archivista
## Values ## Values
| Key | Type | Default | Run:
|--- |--- |--- |
| affinity | object | `{}` | ```shell
| autoscaling.enabled | bool | `false` | helm show values in-toto/archivista
| autoscaling.maxReplicas | int | `10` | ```
| autoscaling.minReplicas | int | `1` |
| autoscaling.targetCPUUtilizationPercentage | int | `80` |
| deployment.env | list | `[]` |
| fullnameOverride | string | `""` |
| image.pullPolicy | string | `"IfNotPresent"` |
| image.repository | string | `"ghcr.io/testifysec/archivista"` |
| image.tag | string | `"0.1.1"` |
| ingress.annotations | object | `{}` |
| ingress.className | string | `""` |
| ingress.enabled | bool | `true` |
| ingress.hosts[0].host | string | `"archivista.localhost"` |
| ingress.hosts[0].path | string | `"/"` |
| ingress.tls | list | `[]` |
| nameOverride | string | `""` |
| nodeSelector | object | `{}` |
| podAnnotations | object | `{}` |
| podSecurityContext | object | `{}` |
| replicaCount | int | `1` |
| resources | object | `{}` |
| serviceAccount.annotations | object | `{}` |
| serviceAccount.create | bool | `false` |
| serviceAccount.name | string | `""` |
| service.port | int | `8082` |
| service.type | string | `"ClusterIP"` |
| tolerations | list | `[]` |

View File

@ -1,4 +1,4 @@
# Copyright 2023 The Archivista Contributors # Copyright 2024 The Archivista Contributors
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
@ -17,7 +17,7 @@ image:
repository: ghcr.io/in-toto/archivista repository: ghcr.io/in-toto/archivista
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion. # Overrides the image tag whose default is the chart appVersion.
tag: "0.7.0" tag: "0.9.2"
nameOverride: "" nameOverride: ""
fullnameOverride: "" fullnameOverride: ""