Closed patsevanton closed 2 months ago
show secret with key postgresql-password
k get secret -n test my-postgresql -o yaml
apiVersion: v1
data:
postgresql-password: bUt3R1c5eGlsMA==
kind: Secret
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"v1","data":{"postgresql-password":"bUt3R1c5eGlsMA=="},"kind":"Secret","metadata":{"annotations":{"meta.helm.sh/release-name":"my-postgresql","meta.helm.sh/release-namespace":"test"},"creationTimestamp":"2024-09-07T14:34:51Z","labels":{"app.kubernetes.io/instance":"my-postgresql","app.kubernetes.io/managed-by":"Helm","app.kubernetes.io/name":"postgresql","app.kubernetes.io/version":"16.4.0","helm.sh/chart":"postgresql-15.5.28"},"name":"my-postgresql","namespace":"test","resourceVersion":"948000","uid":"e500c377-d044-4b45-a7bb-bf7cbd662da9"},"type":"Opaque"}
meta.helm.sh/release-name: my-postgresql
meta.helm.sh/release-namespace: test
creationTimestamp: "2024-09-07T14:37:11Z"
labels:
app.kubernetes.io/instance: my-postgresql
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: postgresql
app.kubernetes.io/version: 16.4.0
helm.sh/chart: postgresql-15.5.28
name: my-postgresql
namespace: test
resourceVersion: "948694"
uid: 82e0e45b-81e2-4892-a4ac-e0561e3bc5bb
type: Opaque
Try install with values.yaml
postgresql:
enabled: false
externalPostgresql:
host: my-postgresql.test.svc.cluster.local
port: 5432
username: postgres
existingSecret: my-postgresql
database: postgres
error:
helm install -n test --wait sentry . --values values.yaml --timeout=1000s
coalesce.go:237: warning: skipped value for kafka.config: Not a table.
Error: INSTALLATION FAILED: template: sentry/templates/sentry/subscription-consumer/transactions/deployment-sentry-subscription-consumer-transactions.yaml:94:3: executing "sentry/templates/sentry/subscription-consumer/transactions/deployment-sentry-subscription-consumer-transactions.yaml" at <include "sentry.env" .>: error calling include: template: sentry/templates/_helper.tpl:518:24: executing "sentry.env" at <.Values.externalPostgresql.existingSecretKeys.password>: nil pointer evaluating interface {}.password
Issue submitter TODO list
Describe the bug (actual behavior)
Events
Expected behavior
install sentry helm chart without error
Your installation details
Steps to reproduce
Screenshots
No response
Logs
Additional context
No response