Compare commits
13 Commits
archivista
...
main
Author | SHA1 | Date |
---|---|---|
|
3765365ccd | |
|
92a6b433b0 | |
|
a2d76b68dd | |
|
eb6f198b81 | |
|
6f354f26f5 | |
|
0fadb1b462 | |
|
b58447a42e | |
|
7cb8fe9e50 | |
|
b0e08a07e6 | |
|
1172151d70 | |
|
e2bf467269 | |
|
f186529557 | |
|
c306c2ce4b |
|
@ -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 }}
|
48
README.md
48
README.md
|
@ -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.
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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 | `[]` |
|
|
||||||
|
|
|
@ -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: ""
|
||||||
|
|
Loading…
Reference in New Issue