Describe the bug
A clear and concise description of what the bug is.
Unable to apply the default policies through the values.yaml file
Version of Helm and Kubernetes:
Helm- v3.0.2 k8s- v1.17.0
Which chart:
stable/rabbitmq-ha
What happened:
coalesce.go:199: warning: destination for policies is a table. Ignoring non-table value
Error: template: rabbitmq-ha/templates/statefulset.yaml:43:28: executing "rabbitmq-ha/templates/statefulset.yaml" at <include (print $.Template.BasePath "/secret.yaml") .>: error calling include: template: rabbitmq-ha/templates/secret.yaml:26:38: executing "rabbitmq-ha/templates/secret.yaml" at <include "rabbitmq-ha.definitions" .>: error calling include: template: rabbitmq-ha/templates/_helpers.tpl:107:41: executing "rabbitmq-ha.definitions" at <4>: wrong type for value; expected string; got map[string]interface {}
What you expected to happen:
The policies should be created and able to deploy the chart successfully
How to reproduce it (as minimally and precisely as possible):
Try enabling the policies section in the values.yaml with the below values:
policies:
{
"name":"ha-custom-policy",
"pattern":".*",
"vhost":"/",
"definition":{
"ha-mode":"exactly",
"ha-params":2,
"ha-sync-mode":"automatic",
"ha-sync-batch-size":1
}
}
Anything else we need to know:
N/A
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.