Closed VinodReddyE closed 1 year ago
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:
name: webapp spec: providerRef: name: slack eventSeverity: info eventSources:
error description: template: flux2-notification/templates/provider.yaml:33:18: executing "flux2-notification/templates/provider.yaml" at <$provider.spec.certSecretRef.name>: nil pointer evaluating interface {}.name
as per the schema "certSecretRef" is optional.
v3.4.1
v1.24.0
1.10.0
No response
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
run fluxv2- notification chart using below values.yaml input
terraform apply with fluxv2-notification chart version 1.10.0
faced the same issue, chart version 1.11
workaround:
certSecretRef: name: false
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:
name: webapp spec: providerRef: name: slack eventSeverity: info eventSources:
error description: template: flux2-notification/templates/provider.yaml:33:18: executing "flux2-notification/templates/provider.yaml" at <$provider.spec.certSecretRef.name>: nil pointer evaluating interface {}.name
as per the schema "certSecretRef" is optional.
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