From 2a24ec4b7ffbc87d8748fa690dbed54551d30dce Mon Sep 17 00:00:00 2001 From: Imtiaz Uddin Date: Wed, 1 Jul 2026 17:01:19 +0600 Subject: [PATCH] Add postgres engine for openfga to avoid setting memory Signed-off-by: Imtiaz Uddin --- apis/installer/v1alpha1/ace_ace_types.go | 2 ++ charts/ace/README.md | 1 + charts/ace/values.yaml | 1 + 3 files changed, 4 insertions(+) diff --git a/apis/installer/v1alpha1/ace_ace_types.go b/apis/installer/v1alpha1/ace_ace_types.go index 35c037c5a..aec308a13 100644 --- a/apis/installer/v1alpha1/ace_ace_types.go +++ b/apis/installer/v1alpha1/ace_ace_types.go @@ -188,6 +188,8 @@ type AceOpenfga struct { // shadows the inlined OpenfgaSpec.Datastore so that ace/values.yaml only // carries these knobs instead of the full upstream datastore schema. type AceOpenfgaDatastore struct { + // +optional + Engine string `json:"engine"` // +optional MaxOpenConns string `json:"maxOpenConns,omitempty"` // +optional diff --git a/charts/ace/README.md b/charts/ace/README.md index 7c3b205b3..1e99dd347 100644 --- a/charts/ace/README.md +++ b/charts/ace/README.md @@ -65,6 +65,7 @@ The following table lists the configurable parameters of the `ace` chart and the | s3proxy.enabled | | false | | openfga.enabled | | false | | openfga.datastoreURI | | "" | +| openfga.datastore.engine | | postgres | | openfga.datastore.maxOpenConns | | "20" | | openfga.datastore.connMaxIdleTime | | "10m" | | pgoutbox.enabled | | false | diff --git a/charts/ace/values.yaml b/charts/ace/values.yaml index 9cfd8aec9..1b50cddc0 100644 --- a/charts/ace/values.yaml +++ b/charts/ace/values.yaml @@ -80,6 +80,7 @@ openfga: enabled: false datastoreURI: "" datastore: + engine: postgres maxOpenConns: "20" connMaxIdleTime: "10m" ## configured in lib-selfhost