Error: SELF_SIGNED_CERT_IN_CHAIN #7338
-
Hello! I am deploying on Kubernetes with an external postgres cluster deployed via Percona postgres-operator. Other applications are already using this cluster. I have prepared a database with user and proper permissions. I can't get the wikijs helm chart the deploy, it continues to fail with
I have tried adding the CA from Postgres in different ways. I grabbed that from their secret, decoded it and followed the instructions to add a configmap with volumemounts and volumes section in the values.yaml. I alo tried this, which doesn't work: When it still failed with the same message, I found a post on wikijs issues someone running in Docker who used this to make wikijs accept self signed certs:
So I added that, which I didn't expect to work becuase I don't think db is supported (but who knows it was quick to try) and then I tried adding it to the postgresql section:
However, with this I still get these errors. Since the documentation of the Helm chart do not mention these I guess this isn't implemented? is there another way to override For helm chart config for example, with Gitea the database options allow different settings to control how an SSL connection is made (link)
Would you be willing to add this to the helm chart? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi @Hr46ph |
Beta Was this translation helpful? Give feedback.
-
Not all features are currently declared in the chart values, but you can override it by mounting your own config.yml to the deployment in the pod template spec. volumes:
- name: wiki-conf
configMap:
name: wiki-conf
containers:
- name: wiki
volumeMounts:
- name: wiki-conf
mountPath: /wiki/config.yml
subPath: config.yml |
Beta Was this translation helpful? Give feedback.
-
I finally have a working wiki. I really hope this feedback will help improve the helm chart and its documentation as much of troubles I went through are unnecessary. Thanks for the help! |
Beta Was this translation helpful? Give feedback.
Not all features are currently declared in the chart values, but you can override it by mounting your own config.yml to the deployment in the pod template spec.