From 78d73717573959ca3977a72f3856c2651f21baa3 Mon Sep 17 00:00:00 2001 From: Casey Buto Date: Fri, 23 Jun 2023 09:23:41 -0400 Subject: [PATCH 1/2] docs: set OCI_CONFIG_FILE env var for oracle storage backend --- src/chartmuseum/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/chartmuseum/README.md b/src/chartmuseum/README.md index 40985c5..f42b06b 100644 --- a/src/chartmuseum/README.md +++ b/src/chartmuseum/README.md @@ -15,6 +15,10 @@ Please also see https://github.com/helm/chartmuseum - [Prerequisites](#prerequisites) - [Configuration](#configuration) - [Installation](#installation) + - [Add repository](#add-repository) + - [Install chart (Helm v3)](#install-chart-helm-v3) + - [Install chart (Helm v2)](#install-chart-helm-v2) + - [Installation using custom config](#installation-using-custom-config) - [Using with Amazon S3](#using-with-amazon-s3) - [permissions grant with access keys](#permissions-grant-with-access-keys) - [permissions grant with IAM instance profile](#permissions-grant-with-iam-instance-profile) @@ -550,7 +554,7 @@ kubectl create secret generic chartmuseum-secret --from-file=config=".oci/config Then you can either use a `VALUES` yaml with your values or set those values in the command line: ```shell -helm install chartmuseum/chartmuseum --debug --set env.open.STORAGE=oracle,env.open.STORAGE_ORACLE_COMPARTMENTID=ocid1.compartment.oc1..abc123,env.open.STORAGE_ORACLE_BUCKET=myocibucket,env.open.STORAGE_ORACLE_PREFIX=chartmuseum,oracle.secret.enabled=true,oracle.secret.name=chartmuseum-secret +helm install chartmuseum/chartmuseum --debug --set env.open.STORAGE=oracle,env.open.STORAGE_ORACLE_COMPARTMENTID=ocid1.compartment.oc1..abc123,env.open.STORAGE_ORACLE_BUCKET=myocibucket,env.open.STORAGE_ORACLE_PREFIX=chartmuseum,oracle.secret.enabled=true,oracle.secret.name=chartmuseum-secret,env.open.OCI_CONFIG_FILE=/home/chartmuseum/.oci/config ``` If you prefer to use a yaml file: @@ -562,6 +566,7 @@ env: STORAGE_ORACLE_COMPARTMENTID: ocid1.compartment.oc1..abc123 STORAGE_ORACLE_BUCKET: myocibucket STORAGE_ORACLE_PREFIX: chartmuseum + OCI_CONFIG_FILE: /home/chartmuseum/.oci/config oracle: secret: From a1d6f6a27c12ad5e3c3921f3084c5b69b06ed325 Mon Sep 17 00:00:00 2001 From: Casey Buto Date: Fri, 23 Jun 2023 11:12:22 -0400 Subject: [PATCH 2/2] chore: bumping chart version for CI --- src/chartmuseum/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chartmuseum/Chart.yaml b/src/chartmuseum/Chart.yaml index fed1275..d20fe56 100644 --- a/src/chartmuseum/Chart.yaml +++ b/src/chartmuseum/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 description: Host your own Helm Chart Repository name: chartmuseum -version: 3.10.0 +version: 3.10.1 appVersion: 0.16.0 home: https://github.com/helm/chartmuseum icon: https://raw.githubusercontent.com/chartmuseum/charts/main/logo.jpg