charts
charts copied to clipboard
[bitnami/consul] Error with Values.yaml
Name and Version
bitnami/consul:latest
What architecture are you using?
arm64
What steps will reproduce the bug?
When i try to install Consul with my Custom Values i get a json error:
Are you using any custom parameters or values?
clusterDomain: cluster.local
datacenterName: "DE-NBG1-DC3"
domain: "consul.svc.cluster.local"
raftMultiplier: "1"
gossipKey: "JT3qk2vPopJMbRUgFSKK29tdz2ed+bL/KeAQB/vjHbA="
tlsEncryptionSecretName: consul-tls
automountServiceAccountToken: true
configuration: |-
{
"ca_file": "/opt/bitnami/consul/certs/ca.pem",
"cert_file": "/opt/bitnami/consul/certs/consul.pem",
"key_file": "/opt/bitnami/consul/certs/consul-key.pem",
"verify_incoming": true,
"verify_outgoing": true,
"verify_server_hostname": true
}
containerPorts:
http: 8500
dns: 8600
rpc: 8400
rpcServer: 8300
serfLAN: 8301
serfWAN: 8302
replicaCount: 3
updateStrategy:
type: RollingUpdate
containerSecurityContext:
enabled: true
runAsUser: 1001
runAsGroup: 1001
runAsNonRoot: true
privileged: false
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
seccompProfile:
type: "RuntimeDefault"
readOnlyRootFilesystem: true
resourcesPreset: "nano"
pdb:
create: true
minAvailable: "3"
serviceAccount:
create: true
automountServiceAccountToken: false
service:
enabled: true
ports:
http: 80
type: ClusterIP
ingress:
enabled: false
persistence:
enabled: true
storageClass: "rook-cephfs"
accessModes:
- ReadWriteMany
size: 20Gi
metrics:
enabled: true
containerSecurityContext:
enabled: true
runAsUser: 1001
runAsGroup: 1001
runAsNonRoot: true
privileged: false
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
seccompProfile:
type: "RuntimeDefault"
readOnlyRootFilesystem: true
serviceMonitor:
enabled: false
What is the expected behavior?
No response
What do you see instead?
[root@admingw-01]
~/k8s-deployments/consul-cluster:helm install --namespace consul consul bitnami/consul -f values.yaml
Error: INSTALLATION FAILED: 1 error occurred:
* ConfigMap in version "v1" cannot be handled as a ConfigMap: json: cannot unmarshal object into Go struct field ConfigMap.data of type string
[root@admingw-01]
~/k8s-deployments/consul-cluster:
Additional information
No response