Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
9cc52f5
fix: update dev config and deposit flow mapping
stephane-segning Apr 8, 2026
50ecac4
chore: update dependencies and refactor API routes
stephane-segning Apr 8, 2026
e4c2faf
chore: downgrade sha2 and hmac versions
stephane-segning Apr 8, 2026
f173a2a
feat: implement conceptual unit test plan for ID Document KYC flow
marcjazz Apr 9, 2026
8e1ff4d
Merge branch 'chore/rollback-critical-fineractid-changes' of https://…
marcjazz Apr 9, 2026
b1351f8
feat: add GitHub Actions workflow for publishing user-storage Helm chart
marcjazz Apr 10, 2026
2c6c2ca
feat: implement user-storage Helm chart with configurations and depen…
marcjazz Apr 11, 2026
943d732
feat: Add GitHub MCP server configuration and update Helm chart for u…
marcjazz Apr 11, 2026
f11f20a
feat: Update .gitignore to include .env and modify GitHub MCP server …
marcjazz Apr 11, 2026
2e48da4
feat: update MinIO image version to RELEASE.2024-01-16T16-07-38Z
marcjazz Apr 11, 2026
7e24a24
feat: update Helm release workflow and add session configuration file…
marcjazz Apr 11, 2026
96801a1
feat: add dependency chart repositories to Helm release workflow
marcjazz Apr 11, 2026
a9af627
feat: update Helm release workflow to use main branch and adjust perm…
marcjazz Apr 11, 2026
9db2232
feat: add Helm repository configuration and update chart push command…
marcjazz Apr 11, 2026
5faf4c7
feat: add installation instructions for user-storage chart from GHCR …
marcjazz Apr 11, 2026
dbb7bc1
Merge branch 'master' into feat/helm-realease-to-gh
marcjazz Apr 11, 2026
3717665
feat: update user-storage chart configuration and change ingress host
marcjazz Apr 11, 2026
7af81bf
feat: remove unused secret references from database and redis configu…
marcjazz Apr 11, 2026
b05389e
feat: add server mode argument to user-storage controller configuration
marcjazz Apr 11, 2026
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
53 changes: 32 additions & 21 deletions .github/workflows/helm-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish user-storage Helm chart
name: Publish user-storage Helm chart (OCI)

on:
workflow_dispatch:
Expand All @@ -12,27 +12,38 @@ on:

jobs:
release:
permissions:
contents: write
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/checkout@v6

- uses: azure/setup-helm@v4

- name: Login to GHCR
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | helm registry login ghcr.io \
-u ${{ github.actor }} \
--password-stdin

- name: Add Helm repositories
run: |
helm repo add bjw-s https://bjw-s-labs.github.io/helm-charts
helm repo update

- name: Build dependencies
run: helm dependency build deploy/charts/user-storage

- name: Lint chart
run: helm lint deploy/charts/user-storage

- name: Package chart
run: helm package deploy/charts/user-storage

- name: Configure Git
# This is needed for chart-releaser to push to gh-pages branch
- name: Push chart to GHCR
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"

- name: Install Helm
uses: azure/setup-helm@v4

- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.6.0
with:
charts_dir: deploy/charts
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CHART_VERSION=$(grep '^version:' deploy/charts/user-storage/Chart.yaml | awk '{print $2}')
OWNER_LOWER=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')
helm push user-storage-$CHART_VERSION.tgz oci://ghcr.io/$OWNER_LOWER/charts
18 changes: 18 additions & 0 deletions deploy/charts/user-storage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,24 @@ cd deploy/charts/user-storage
helm install user-storage . -f values-dev.yaml
```

## Installation from GHCR

### Installation

1. Prerequisites

Ensure you have Helm v3.8.0 or later installed, as OCI support is required.

2. Install the chart from the OCI registry:

```bash
helm upgrade --install user-storage oci://ghcr.io/adorsys-gis/charts/user-storage --version $CHART_VERSION
```

### Finding Chart Versions

Available chart versions can be found in the "Packages" section of the GitHub repository. Navigate to the repository on GitHub, click on the "Packages" tab, and locate the `user-storage` package to view available versions.

## Configuration

The chart values can be customized by editing the `values.yaml` file. For example:
Expand Down
19 changes: 5 additions & 14 deletions deploy/charts/user-storage/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,12 @@ config:
database:
url: "${DATABASE_URL}"
pool_size: 10
secretName: postgres-secret
secretKey: url
runtime:
mode: shared
redis:
url: "${REDIS_URL}"
worker_lock_ttl_seconds: 30
worker_lock_renew_seconds: 10
secretName: redis-secret
secretKey: url
storage:
type: minio
minio:
Expand All @@ -38,8 +34,6 @@ config:
provider: console
kc:
enabled: true
signatureSecretName: kc-signature-secret
signatureSecretKey: signature_secret
base_path: "/kc"
max_clock_skew_seconds: 60
max_body_bytes: 262144
Expand Down Expand Up @@ -82,6 +76,8 @@ controllers:
- serve
- --config-path
- /app/config/default.yaml
- --mode
- server
env:
DATABASE_URL:
valueFrom:
Expand Down Expand Up @@ -111,6 +107,8 @@ controllers:
- worker
- --config-path
- /app/config/default.yaml
- --mode
- worker
env:
DATABASE_URL:
valueFrom:
Expand Down Expand Up @@ -142,13 +140,6 @@ controllers:
ports:
- name: http
containerPort: 3001
env:
DATABASE_URL:
valueFrom:
secretKeyRef:
name: postgres-secret
key: url
TZ: "UTC"

persistence:
flows:
Expand Down Expand Up @@ -205,7 +196,7 @@ ingress:
enabled: true
className: nginx
hosts:
- host: user-storage.local
- host: api.verif.fyi
paths:
- path: /
pathType: Prefix
Expand Down
Loading