cloudnative-pg / cloudnative-pg/charts

`cluster.superuserSecret` fails to get the value from k8s secret encrypted with sops

Open
#874 2 comments 0 reactions 0 assignees View on GitHub
bug chart( cluster )
Dominant language
Go Template
Stars
621
Forks
265
Avg merge
7d 12h
Merged PRs (30d)
7

Description

I have the `kind: Secret` which is then `helm secrets encrypt` and referenced in the customized chart `values.yml`:
```
cluster:
instances: 3
imagePullPolicy: IfNotPresent
superuserSecret:
name: superuser-secret
enableSuperuserAccess: true
```
However, installing the chart hits the following error:
```
STDERR:
coalesce.go:306: warning: destination for cluster.cluster.superuserSecret is a table. Ignoring non-table value ()
Error: values don't meet the specifications of the schema(s) in the following chart(s):
cluster:
- at '/cluster/superuserSecret': got object, want string
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.