From f2ad245ff735c999853e6e18a439b793e77dbe71 Mon Sep 17 00:00:00 2001 From: Mihail Radkov Date: Mon, 25 Mar 2024 14:13:29 +0200 Subject: [PATCH] GDB-9222: Added repo install and provenance information - Added examples on how to install GraphDB Helm chart from Ontotext Helm repository - Added examples on how to verify the Helm chart provenance and integrity with our public GnuPG key - Added additional .helmignore rules --- .helmignore | 7 ++++++- README.md | 36 ++++++++++++++++++++++++++++++++++++ README.md.gotmpl | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 78 insertions(+), 1 deletion(-) diff --git a/.helmignore b/.helmignore index 93c67a58..69021818 100644 --- a/.helmignore +++ b/.helmignore @@ -24,8 +24,13 @@ # Custom *.license +*.gpg +*.pgp .github/ examples/ template_output.yaml trivy.yaml -values_overrides.yaml +values_*.yaml +.helmignore +*.md.gotmpl +*.tgz diff --git a/README.md b/README.md index fb1e274f..17f5dca3 100644 --- a/README.md +++ b/README.md @@ -253,6 +253,42 @@ Endpoints: * GraphDB workbench: http://graphdb.local/graphdb ``` +### Repository + +You can install GraphDB's Helm chart from our public Helm repository as well. + +1. Add Ontotext repository with + + ```shell + helm repo add ontotext https://maven.ontotext.com/repository/helm-public/ + ``` + +2. Install GraphDB + + ```shell + helm install graphdb ontotext/graphdb + ``` + +### Provenance + +Helm can verify the origin and integrity of the Helm chart by + +1. Importing the public GnuPG key: + + ```shell + gpg --keyserver keyserver.ubuntu.com --recv-keys 8E1B45AF8157DB82 + # Helm uses the legacy gpg format + gpg --export > ~/.gnupg/pubring.gpg + ``` + +2. Running `helm install` with the `--verify` flag, i.e.: + + ```shell + helm install --verify graphdb ontotext/graphdb + ``` + +Note that the verification works only when installing from a local tar.gz or when installing from the repository. + ## Persistence By default, the Helm chart is deploying persistent volumes that store data on the host path. diff --git a/README.md.gotmpl b/README.md.gotmpl index 934548fd..e15a57c2 100644 --- a/README.md.gotmpl +++ b/README.md.gotmpl @@ -253,6 +253,42 @@ Endpoints: * GraphDB workbench: http://graphdb.local/graphdb ``` +### Repository + +You can install GraphDB's Helm chart from our public Helm repository as well. + +1. Add Ontotext repository with + + ```shell + helm repo add ontotext https://maven.ontotext.com/repository/helm-public/ + ``` + +2. Install GraphDB + + ```shell + helm install graphdb ontotext/graphdb + ``` + +### Provenance + +Helm can verify the origin and integrity of the Helm chart by + +1. Importing the public GnuPG key: + + ```shell + gpg --keyserver keyserver.ubuntu.com --recv-keys 8E1B45AF8157DB82 + # Helm uses the legacy gpg format + gpg --export > ~/.gnupg/pubring.gpg + ``` + +2. Running `helm install` with the `--verify` flag, i.e.: + + ```shell + helm install --verify graphdb ontotext/graphdb + ``` + +Note that the verification works only when installing from a local tar.gz or when installing from the repository. + ## Persistence By default, the Helm chart is deploying persistent volumes that store data on the host path.