postgres-operator
postgres-operator copied to clipboard
Application can not connect to zalando postgres
I can access zalando from cli:
my config:
Please help, Thank you
Hi @4ss3g4f I think you just need to add the following below to a connection string in your application
SSL Mode=Require;Trust Server Certificate=true
Why must SSL Mode be required inside a kubernetes cluster? Didn't read this in the docs. Is there a config flag to disable this?
ALLOW_NOSSL: true
here -> https://github.com/zalando/postgres-operator/blob/master/docs/administrator.md#custom-pod-environment-variables
apiVersion: v1
kind: ConfigMap
metadata:
name: postgres-pod-config-custom-env
namespace: default
data:
ALLOW_NOSSL: "true"
helm-values (check "pod_environment_configmap"):
configKubernetes:
cluster_name_label: kubernetes-prod
pod_environment_configmap: default/postgres-pod-config-custom-env
custom_pod_annotations:
linkerd.io/inject: enabled
@FredyR4zox, my man! Thank you!
This SSL stuff is too chaotic, it has to be hashed out in future versions of the operator