wb: deploy SpiceDB with external PostgreSQL datastore
This commit is contained in:
parent
cfb61e1c9d
commit
a12566f5a8
@ -1,6 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../../infrastructure/spicedb/wb
|
||||
- ../../../infrastructure/istio-config
|
||||
- ../../../infrastructure/vault
|
||||
- ../../../infrastructure/openobserve
|
||||
|
||||
5
infrastructure/spicedb/wb/kustomization.yaml
Normal file
5
infrastructure/spicedb/wb/kustomization.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- spicedb.yaml
|
||||
6
infrastructure/spicedb/wb/namespace.yaml
Normal file
6
infrastructure/spicedb/wb/namespace.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: spicedb
|
||||
labels:
|
||||
istio-injection: disabled
|
||||
51
infrastructure/spicedb/wb/spicedb.yaml
Normal file
51
infrastructure/spicedb/wb/spicedb.yaml
Normal file
@ -0,0 +1,51 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: spicedb
|
||||
namespace: spicedb
|
||||
spec:
|
||||
interval: 5m
|
||||
timeout: 10m
|
||||
chart:
|
||||
spec:
|
||||
chart: spicedb
|
||||
version: 0.1.4-prod
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: yc-oci-charts
|
||||
namespace: flux-system
|
||||
interval: 10m
|
||||
install:
|
||||
remediation:
|
||||
retries: 3
|
||||
upgrade:
|
||||
remediation:
|
||||
retries: 0
|
||||
remediateLastFailure: false
|
||||
values:
|
||||
replicas: 1
|
||||
image:
|
||||
repository: cr.yandex/crp3ccidau046kdj8g9q/spicedb-prod
|
||||
tag: v1.54.0
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
datastore:
|
||||
mode: external
|
||||
database: spicedb
|
||||
username: spicedb
|
||||
auth:
|
||||
existingSecret: spicedb-secret
|
||||
istio:
|
||||
enabled: false
|
||||
deploymentName: spicedb
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 256Mi
|
||||
migration:
|
||||
hook:
|
||||
enabled: true
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
Loading…
Reference in New Issue
Block a user