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
preguntada hace un año3124 visualizaciones
4 Respuestas
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
respondido hace un año
0

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

Thank you! :)

babis
respondido hace un año
0

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

AWS
respondido hace un año
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
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas