Hi, I am using the aws-ebs-csi-driver add-on, and while it used to work so far, suddenly I noticed that this plugin was in degraded state (without me doing anything), then I could not upgrade its version, until I removed this configuration, and now I cannot add it back. I get the below error when I try to input advanced configuration below:
UnsupportedAddonModification Amazon EKS was unable to complete the addon operation. The configuration values provided are invalid.
Here is my JSON:
{
"controller": {
"nodeSelector": {
"kubernetes.io/os": "linux",
"aaaaa": "xxx-yyy-zzz",
"some_other_key": "abcd"
}
}
}
which seems valid, according to the schema I get from
aws eks describe-addon-configuration --addon-name aws-ebs-csi-driver --addon-version v1.17.0-eksbuild.1
I also tried without whitespace, but same result. Also tried in YAML format, nothing, same error.
Has something changed? Some new bug? It doesn't make sense really.
This has worked, thank you for letting me know about this. I think it's a bit strange, although I get why this would need to happen. The error message could be more descriptive so it's easier to spot those small things. Would be good to document this note too (if not already and just missed it). Thanks again!