fix: update openfga

This commit is contained in:
2024-12-19 18:52:23 +01:00
parent 903fbdbaa8
commit c31bf79671
4 changed files with 50 additions and 20 deletions
+41 -2
View File
@@ -1,5 +1,45 @@
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata:
name: prod-openfga
namespace: argocd
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: openfga
server: https://kubernetes.default.svc
project: aux
# ignoreDifferences:
# - group: apps
# kind: StatefulSet
# jsonPointers:
# - /spec/persistentVolumeClaimRetentionPolicy
syncPolicy:
managedNamespaceMetadata:
labels:
component: aux
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
automated:
prune: true
selfHeal: true
sources:
- repoURL: https://openfga.github.io/helm-charts
targetRevision: 0.2.19
chart: openfga
helm:
valueFiles:
- $values/values/openfga/values-prod.yaml
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: nixidy
ref: values
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata: metadata:
name: staging-openfga name: staging-openfga
namespace: argocd namespace: argocd
@@ -33,8 +73,7 @@ spec:
chart: openfga chart: openfga
helm: helm:
valueFiles: valueFiles:
- $values/values/openfga/values.yaml
- $values/values/openfga/values-staging.yaml - $values/values/openfga/values-staging.yaml
- repoURL: https://gitlab.com/oceanbox/manifests.git - repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main targetRevision: nixidy
ref: values ref: values
+8 -9
View File
@@ -1,20 +1,19 @@
apiVersion: v1 apiVersion: v1
stringData: stringData:
postgres-password: tidings-guise-sternness-yummy postgres-password: blT6zzv37KyFvzb1Ct3bhfAwPxhTG2fBO1EiIASQWI4wnEOB8AOWvmVa2sogGexr
uri: postgres://postgres:tidings-guise-sternness-yummy@staging-openfga-postgresql.idp.svc.cluster.local:5432/postgres?sslmode=disable uri: postgres://postgres:blT6zzv37KyFvzb1Ct3bhfAwPxhTG2fBO1EiIASQWI4wnEOB8AOWvmVa2sogGexr@prod-openfga-rw.openfga.svc.cluster.local:5432/postgres?sslmode=disable
kind: Secret kind: Secret
metadata: metadata:
name: staging-openfga-postgresql name: prod-openfga-postgresql
namespace: idp namespace: openfga
type: Opaque type: Opaque
--- ---
apiVersion: v1 apiVersion: v1
stringData: stringData:
postgres-password: unaltered-astute-raven-sitter postgres-password: tidings-guise-sternness-yummy
uri: postgres://postgres:unaltered-astute-raven-sitter@prod-openfga-postgresql.idp.svc.cluster.local:5432/postgres?sslmode=disable uri: postgres://postgres:tidings-guise-sternness-yummy@staging-openfga-rw.openfga.svc.cluster.local:5432/postgres?sslmode=disable
kind: Secret kind: Secret
metadata: metadata:
name: prod-openfga-postgresql name: staging-openfga-postgresql
namespace: idp namespace: openfga
type: Opaque type: Opaque
+1 -1
View File
@@ -72,7 +72,7 @@ extraObjects:
name: prod-openfga-replication name: prod-openfga-replication
sslKey: sslKey:
key: tls.key key: tls.key
name: prodopenfga-replication name: prod-openfga-replication
sslRootCert: sslRootCert:
key: ca.crt key: ca.crt
name: prod-openfga-ca name: prod-openfga-ca
-8
View File
@@ -1,8 +0,0 @@
# fullnameOverride: openfga
playground:
enabled: false
port: 3000