File tree Expand file tree Collapse file tree 2 files changed +30
-4
lines changed
Expand file tree Collapse file tree 2 files changed +30
-4
lines changed Original file line number Diff line number Diff line change 99 release :
1010 permissions :
1111 contents : write
12+ packages : write
1213 runs-on : ubuntu-latest
1314 steps :
1415 - name : Checkout
3334 - name : Install Helm
3435 uses : azure/setup-helm@v4
3536 with :
36- version : v3.5 .0
37+ version : v3.19 .0
3738
3839 - name : Add Helm Repositories
3940 run : |
4849 env :
4950 CR_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
5051 CR_SKIP_EXISTING : true
52+
53+ - name : Login to GHCR
54+ 55+ with :
56+ registry : ghcr.io
57+ username : ${{ github.actor }}
58+ password : ${{ secrets.GITHUB_TOKEN }}
59+
60+ - name : Push chart to GHCR
61+ if : ${{ hashFiles('.cr-release-packages/*.tgz') != '' }}
62+ run : |
63+ set -euo pipefail
64+ shopt -s nullglob
65+ for pkg in .cr-release-packages/*.tgz; do
66+ helm push "${pkg}" "oci://ghcr.io/${{ github.repository_owner }}/helm-charts"
67+ done
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ helm repo add openfga https://openfga.github.io/helm-charts
99helm install openfga openfga/openfga
1010```
1111
12- ## Installing the Chart
12+ ## Installing the Chart via Helm Repository
1313
1414To install the chart with the release name ` openfga ` :
1515
@@ -22,6 +22,15 @@ This will deploy a 3-replica deployment of OpenFGA on the Kubernetes cluster usi
2222
2323> ** Tip** : List all releases using ` helm list `
2424
25+ ## Installing the chart via OCI Image
26+
27+ This chart is also available for installation from the GitHub OCI registry. It requires helm 3.8+.
28+ To pull from the GitHub OCI registry, run:
29+
30+ ``` sh
31+ helm install openfga -f values.yaml oci://ghcr.io/openfga/helm-charts
32+ ```
33+
2534## Customization
2635
2736If you wish to customize the OpenFGA deployment you may supply paremeters such as the ones listed in the [ values.yaml] ( /charts/openfga/values.yaml ) .
@@ -37,8 +46,8 @@ helm install openfga openfga/openfga \
3746
3847``` yaml
3948commonLabels :
40- app.example.com/system : permissions
41- app.example.com/domain : example
49+ app.example.com/system : permissions
50+ app.example.com/domain : example
4251` ` `
4352
4453### Installing with Postgres
You can’t perform that action at this time.
0 commit comments