Compare commits

..

No commits in common. "main" and "archivista-0.6.0" have entirely different histories.

5 changed files with 36 additions and 118 deletions

View File

@ -1,45 +0,0 @@
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,50 +2,4 @@
in-toto helm charts in-toto helm charts
This repository is the source code of https://in-toto.github.io/helm-charts This repository is the source code of https://in-toto.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.8.3 version: 0.6.0
keywords: keywords:
- in-toto - in-toto
@ -34,4 +34,4 @@ sources:
maintainers: maintainers:
- name: in-toto - name: in-toto
appVersion: "0.9.2" appVersion: "0.6.0"

View File

@ -12,28 +12,13 @@ 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 in-toto/archivista helm install archivista .
``` ```
## Uninstallation ## Uninstallation
To uninstall the Helm chart run following command. To uninstall the Helm chart run following command.
@ -55,9 +40,33 @@ helm uninstall archivista
## Values ## Values
Run: | Key | Type | Default |
|--- |--- |--- |
```shell | affinity | object | `{}` |
helm show values in-toto/archivista | autoscaling.enabled | bool | `false` |
``` | 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 2024 The Archivista Contributors # Copyright 2023 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.9.2" tag: "0.7.0"
nameOverride: "" nameOverride: ""
fullnameOverride: "" fullnameOverride: ""