fluxcd-community / helm-charts

Community maintained Helm charts for Flux
Apache License 2.0
121 stars 76 forks source link

fluxv2-notification schema issue #178

Closed VinodReddyE closed 1 year ago

VinodReddyE commented 1 year ago

Describe the bug a clear and concise description of what the bug is.

We are using fluxv2-notification chart version 1.10.0 and creating secret and provider and alert configurations through terraform. we are sending below values.yaml to the chart.

chart input: secretlist:

What's your helm version?

v3.4.1

What's your kubectl version?

v1.24.0

What's the chart version?

1.10.0

What happened?

No response

What you expected to happen?

secretlist:

error: template: flux2-notification/templates/provider.yaml:33:18: executing "flux2-notification/templates/provider.yaml" at <$provider.spec.certSecretRef.name>: nil pointer evaluating interface {}.name

How to reproduce it?

run fluxv2- notification chart using below values.yaml input

Enter the changed values of values.yaml?

secretlist:

Enter the command that you execute and failing/misfunctioning.

terraform apply with fluxv2-notification chart version 1.10.0

Anything else we need to know?

No response

yurymuski commented 1 year ago

faced the same issue, chart version 1.11

workaround:

          certSecretRef:
            name: false