fix: don't use kustomize for openfga
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
metadata:
|
||||
name: openfga-db
|
||||
spec:
|
||||
enableSuperuserAccess: true
|
||||
instances: 2
|
||||
logLevel: info
|
||||
storage:
|
||||
pvcTemplate:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
storageClassName: managed-nfs-storage
|
||||
volumeMode: Filesystem
|
||||
resizeInUseVolumes: true
|
||||
size: 1Gi
|
||||
@@ -1,5 +0,0 @@
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
resources:
|
||||
- cluster.yaml
|
||||
- _manifest.yaml
|
||||
@@ -1 +0,0 @@
|
||||
openfga/openfga
|
||||
@@ -1,3 +0,0 @@
|
||||
namePrefix: prod-
|
||||
resources:
|
||||
- ../base
|
||||
@@ -1,3 +0,0 @@
|
||||
- op: replace
|
||||
path: /spec/instances
|
||||
value: 1
|
||||
@@ -1,9 +0,0 @@
|
||||
namePrefix: staging-
|
||||
patches:
|
||||
- target:
|
||||
group: postgresql.cnpg.io
|
||||
version: v1
|
||||
kind: Cluster
|
||||
path: cluster_patch.yaml
|
||||
resources:
|
||||
- ../base
|
||||
@@ -2,15 +2,15 @@ replicaCount: 2
|
||||
|
||||
datastore:
|
||||
engine: postgres
|
||||
uri: postgres://prod-openfga-db.idp.svc.cluster.local:5432/app?sslmode=disable
|
||||
uri: postgres://prod-openfga-postgresql.idp.svc.cluster.local:5432/openfga?sslmode=disable
|
||||
|
||||
postgresql:
|
||||
enabled: true
|
||||
auth:
|
||||
username: app
|
||||
existingSecret: prod-openfga-db-app
|
||||
existingSecret: prod-openfga-postgresql
|
||||
secretKeys:
|
||||
userPasswordKey: password
|
||||
adminPasswordKey: admin-password
|
||||
userPasswordKey: postgres-password
|
||||
|
||||
playground:
|
||||
enabled: false
|
||||
|
||||
@@ -2,15 +2,15 @@ replicaCount: 1
|
||||
|
||||
datastore:
|
||||
engine: postgres
|
||||
uri: postgres://staging-openfga-db.idp.svc.cluster.local:5432/app?sslmode=disable
|
||||
uri: postgres://staging-openfga-postgresql.idp.svc.cluster.local:5432/openfga?sslmode=disable
|
||||
|
||||
postgresql:
|
||||
enabled: true
|
||||
auth:
|
||||
username: app
|
||||
existingSecret: staging-openfga-db-app
|
||||
existingSecret: staging-openfga-postgresql
|
||||
secretKeys:
|
||||
userPasswordKey: password
|
||||
adminPasswordKey: admin-password
|
||||
userPasswordKey: postgres-password
|
||||
|
||||
playground:
|
||||
enabled: true
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
fullnameOverride: openfga
|
||||
|
||||
|
||||
Reference in New Issue
Block a user