This repository was archived by the owner on May 8, 2022. It is now read-only.

Description
Hello,
I use:
Kubernetes v1.21.1
cert-manager 1.4.4
This is my configuration:
values.yaml:
enableMetricsRbac: false
dbms:
- databaseClassName: "postgres-default"
endpoints:
- name: "postgres-default"
dsn: "postgres://postgres@REDACTED"
postgres-example.yaml:
apiVersion: database.dbaas.bedag.ch/v1
kind: Database
metadata:
name: database-sample
spec:
endpoint: postgres-default
I get a the following error message on kubectl apply -f postgres-example.yaml:
Error from server (InternalError): error when creating "postgres-example.yaml": Internal error occurred: failed calling webhook "mdatabase.kb.io": Post "https://kubernetes-dbaas-webhook-service.kubernetes-dbaas-system.svc:443/mutate-database-dbaas-bedag-ch-v1-database?timeout=10s": dial tcp 10.250.98.125:443: connect: connection refused