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
질문됨 일 년 전3124회 조회
4개 답변
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
답변함 일 년 전
0

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

Thank you! :)

babis
답변함 일 년 전
0

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

AWS
답변함 일 년 전
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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠