isopod stores every applied addon as configmap for auditing. However for
large addons an error was thrown, because the max size of a configmap
is limited by etcd to 1MB
This fix catches the error and gives the user notice that the configmap
couldn't be stored, but the rollout is still live.
Example output:
$ isopod --context cluster=kind-kind
-kubeconfig=/tmp/kind-kubeconfig install $(pwd)/local/testenv/main.ipd
Current cluster: ("kind-kind")
Beginning rollout [rollout-bs7hc9p8d3b6d3h91ou0] installation...
Installing kafka... done
Addon not stored in configmap because it is larger than the maximum of 1 MB ( 1.9 MB )
Rollout [rollout-bs7hc9p8d3b6d3h91ou0] is live!
isopod stores every applied addon as configmap for auditing. However for large addons an error was thrown, because the max size of a configmap is limited by etcd to 1MB
This fix catches the error and gives the user notice that the configmap couldn't be stored, but the rollout is still live.
Example output:
Fix #65