Peter Kurfer
647f602c79
- added Core CRD to manage DB migrations & configuration, PostgREST and GoTrue (auth) - added APIGateway CRD to manage Envoy proxy - added Dashboard CRD to manage (so far) pg-meta and (soon) studio deployments - implemented basic Envoy control plane based on K8s watcher
92 lines
1.9 KiB
YAML
92 lines
1.9 KiB
YAML
---
|
|
apiVersion: admissionregistration.k8s.io/v1
|
|
kind: MutatingWebhookConfiguration
|
|
metadata:
|
|
name: mutating-webhook-configuration
|
|
webhooks:
|
|
- admissionReviewVersions:
|
|
- v1
|
|
clientConfig:
|
|
service:
|
|
name: webhook-service
|
|
namespace: system
|
|
path: /mutate-supabase-k8s-icb4dc0-de-v1alpha1-apigateway
|
|
failurePolicy: Fail
|
|
name: mapigateway-v1alpha1.kb.io
|
|
rules:
|
|
- apiGroups:
|
|
- supabase.k8s.icb4dc0.de
|
|
apiVersions:
|
|
- v1alpha1
|
|
operations:
|
|
- CREATE
|
|
- UPDATE
|
|
resources:
|
|
- apigateways
|
|
sideEffects: None
|
|
- admissionReviewVersions:
|
|
- v1
|
|
clientConfig:
|
|
service:
|
|
name: webhook-service
|
|
namespace: system
|
|
path: /mutate-supabase-k8s-icb4dc0-de-v1alpha1-core
|
|
failurePolicy: Fail
|
|
name: mcore-v1alpha1.kb.io
|
|
rules:
|
|
- apiGroups:
|
|
- supabase.k8s.icb4dc0.de
|
|
apiVersions:
|
|
- v1alpha1
|
|
operations:
|
|
- CREATE
|
|
- UPDATE
|
|
resources:
|
|
- cores
|
|
sideEffects: None
|
|
---
|
|
apiVersion: admissionregistration.k8s.io/v1
|
|
kind: ValidatingWebhookConfiguration
|
|
metadata:
|
|
name: validating-webhook-configuration
|
|
webhooks:
|
|
- admissionReviewVersions:
|
|
- v1
|
|
clientConfig:
|
|
service:
|
|
name: webhook-service
|
|
namespace: system
|
|
path: /validate-supabase-k8s-icb4dc0-de-v1alpha1-apigateway
|
|
failurePolicy: Fail
|
|
name: vapigateway-v1alpha1.kb.io
|
|
rules:
|
|
- apiGroups:
|
|
- supabase.k8s.icb4dc0.de
|
|
apiVersions:
|
|
- v1alpha1
|
|
operations:
|
|
- CREATE
|
|
- UPDATE
|
|
resources:
|
|
- apigateways
|
|
sideEffects: None
|
|
- admissionReviewVersions:
|
|
- v1
|
|
clientConfig:
|
|
service:
|
|
name: webhook-service
|
|
namespace: system
|
|
path: /validate-supabase-k8s-icb4dc0-de-v1alpha1-core
|
|
failurePolicy: Fail
|
|
name: vcore-v1alpha1.kb.io
|
|
rules:
|
|
- apiGroups:
|
|
- supabase.k8s.icb4dc0.de
|
|
apiVersions:
|
|
- v1alpha1
|
|
operations:
|
|
- CREATE
|
|
- UPDATE
|
|
resources:
|
|
- cores
|
|
sideEffects: None
|