Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
release:
permissions:
contents: write
packages: write
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -33,7 +34,7 @@ jobs:
- name: Install Helm
uses: azure/setup-helm@v4
with:
version: v3.5.0
version: v3.19.0

- name: Add Helm Repositories
run: |
Expand All @@ -48,3 +49,19 @@ jobs:
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_SKIP_EXISTING: true

- name: Login to GHCR
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push chart to GHCR
if: ${{ hashFiles('.cr-release-packages/*.tgz') != '' }}
run: |
set -euo pipefail
shopt -s nullglob
for pkg in .cr-release-packages/*.tgz; do
helm push "${pkg}" "oci://ghcr.io/${{ github.repository_owner }}/helm-charts"
done
15 changes: 12 additions & 3 deletions charts/openfga/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ helm repo add openfga https://openfga.github.io/helm-charts
helm install openfga openfga/openfga
```

## Installing the Chart
## Installing the Chart via Helm Repository

To install the chart with the release name `openfga`:

Expand All @@ -22,6 +22,15 @@ This will deploy a 3-replica deployment of OpenFGA on the Kubernetes cluster usi

> **Tip**: List all releases using `helm list`

## Installing the chart via OCI Image

This chart is also available for installation from the GitHub OCI registry. It requires helm 3.8+.
To pull from the GitHub OCI registry, run:

```sh
helm install openfga -f values.yaml oci://ghcr.io/openfga/helm-charts
```

## Customization

If you wish to customize the OpenFGA deployment you may supply paremeters such as the ones listed in the [values.yaml](/charts/openfga/values.yaml).
Expand All @@ -37,8 +46,8 @@ helm install openfga openfga/openfga \

```yaml
commonLabels:
app.example.com/system: permissions
app.example.com/domain: example
app.example.com/system: permissions
app.example.com/domain: example
```

### Installing with Postgres
Expand Down