Skip to content

Commit 65b8819

Browse files
committed
Add postgres engine for openfga to avoid setting memory
Signed-off-by: Imtiaz Uddin <imtiaz@appscode.com>
1 parent 1c973b1 commit 65b8819

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

apis/installer/v1alpha1/ace_ace_types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ type AceOpenfga struct {
188188
// shadows the inlined OpenfgaSpec.Datastore so that ace/values.yaml only
189189
// carries these knobs instead of the full upstream datastore schema.
190190
type AceOpenfgaDatastore struct {
191+
// +optional
192+
Engine string `json:"engine"`
191193
// +optional
192194
MaxOpenConns string `json:"maxOpenConns,omitempty"`
193195
// +optional

charts/ace/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ The following table lists the configurable parameters of the `ace` chart and the
6565
| s3proxy.enabled | | <code>false</code> |
6666
| openfga.enabled | | <code>false</code> |
6767
| openfga.datastoreURI | | <code>""</code> |
68+
| openfga.datastore.engine | | <code>postgres</code> |
6869
| openfga.datastore.maxOpenConns | | <code>"20"</code> |
6970
| openfga.datastore.connMaxIdleTime | | <code>"10m"</code> |
7071
| pgoutbox.enabled | | <code>false</code> |

charts/ace/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ openfga:
8080
enabled: false
8181
datastoreURI: ""
8282
datastore:
83+
engine: postgres
8384
maxOpenConns: "20"
8485
connMaxIdleTime: "10m"
8586
## configured in lib-selfhost

0 commit comments

Comments
 (0)