You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Link to relevant artifacts (policies, deployments scripts, ...): NA
Target containers/pods: NA
To Reproduce
Setup a k8s cluster
Run the command: helm upgrade --install kubearmor kubearmor/kubearmor -n kubearmor --create-namespace
Error occurs
Release "kubearmor" does not exist. Installing it now.
Error: 1 error occurred:
* ConfigMap in version "v1" cannot be handled as a ConfigMap: json: cannot unmarshal bool into Go struct field ConfigMap.data of type string
Expected behavior
KubeArmor Helm chart is deployed without any error
Release "kubearmor" does not exist. Installing it now.
NAME: kubearmor
LAST DEPLOYED: Wed Jul 3 13:09:24 2024
NAMESPACE: kubearmor
STATUS: deployed
REVISION: 1
TEST SUITE: None
Why is this happening?
ConfigMaps are supposed to handle map[string]string. In a recent merge, more field were added such as alertThrottling, maxAlertPerSec, throttleSec. The value for these fields are not string but boolean and ints. Hence the ConfigMap cannot be parsed
The text was updated successfully, but these errors were encountered:
Bug Report
General Information
uname -a
):Linux thunderbird 6.6.36-1-lts #1 SMP PREEMPT_DYNAMIC Thu, 27 Jun 2024 12:26:27 +0000 x86_64 GNU/Linux
kubectl version
, ...)version.BuildInfo{Version:"v3.15.2", GitCommit:"1a500d5625419a524fdae4b33de351cc4f58ec35", GitTreeState:"clean", GoVersion:"go1.22.4"}
To Reproduce
helm upgrade --install kubearmor kubearmor/kubearmor -n kubearmor --create-namespace
Expected behavior
KubeArmor Helm chart is deployed without any error
Why is this happening?
ConfigMaps are supposed to handle map[string]string. In a recent merge, more field were added such as alertThrottling, maxAlertPerSec, throttleSec. The value for these fields are not string but boolean and ints. Hence the ConfigMap cannot be parsed
The text was updated successfully, but these errors were encountered: