Skip to content

Commit

Permalink
Merge pull request #66 from cbuto/fix-oci-docs
Browse files Browse the repository at this point in the history
docs: set OCI_CONFIG_FILE env var for oracle storage backend
  • Loading branch information
scbizu authored Jun 24, 2023
2 parents a668d8d + a1d6f6a commit 6d703ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/chartmuseum/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 6 additions & 1 deletion src/chartmuseum/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 6d703ec

Please sign in to comment.