EKS - aws-ebs-csi-driver add-on advanced configuration problem

0

Hi, I am using the aws-ebs-csi-driver add-on, and while I was able yesterday to input a custom JSON content, today I tried to upgrade the add-on's version to latest (v1.15.0-eksbuild.1) and I got the below error:

ConfigurationValue is not in valid JSON or YAML format.

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.15.0-eksbuild.1 

It's very strange that I was able to input that JSON yesterday, but I cannot now? Has the updated version broken something in the schema validator? Is this a bug or something wrong with the data I try to input?

babis
asked a year ago3073 views
4 Answers
1

We've discovered an issue with the way we parse configuration that has tabs in it. If you remove the tabs from your input, this will work. We are working to address this issue so tabs vs spaces will not matter in the future.

AWS
answered a year ago
0

I removed all whitespace and submitted the JSON as one line, and it was accepted.

Thank you! :)

babis
answered a year ago
0

The fix has been deployed, so whitespace/tabs will not matter anymore.

AWS
answered a year ago
0

This is an issue again; suddenly, the configuration I have above is not working. The plugin was in a degraded state (no idea why). I tried to upgrade it but it failed. I had to remove my custom configuration in order to be able to upgrade the plugin to 1.17.0. And now I try to add the above configuration, but it fails! This is absurd guys! Does it work or not?

I have no whitespaces in my JSON. I also tried YAML. None work.

UnsupportedAddonModification	Amazon EKS was unable to complete the addon operation. The configuration values provided are invalid.
babis
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions