Two days ago our CICD pipeline stopped working without any modifications on our hand.
We use Gitlab.com with shared runners to deploy our application on an EKS cluster.
To make it work we deployed a gitlab agent on our cluster.
we get this error I can’t figure out what’s happening
error: error validating "airflow/secrets_and_configs/airflow_dags_image_secret.yaml": error validating data: the server responded with the status code 426 but did not return more information; if you choose to ignore these errors, turn validation off with --validate=false
airflow/secrets_and_configs/airflow_dags_image_secret.yaml is a yaml definition file that creates a resource in our kubernetes cluster. Running the following command directly from the command line works perfectly well.
Hi, I have also the same problem. Also since round about 14 days now. We did not change anything with our kubernetes cluster (only added melallb as load balancer).
Strange thing is, if I download the generated artifacts from the gitlab ci and use them to apply the .yaml-files via a local kubectl-console they work flawlessly. So maybe it has something to do with permissions?
We have applied the ’ --validate=false’ option to the ‘kubectl apply’ commands in the meantime. This turns of client side validation (The deployments are still validated on the server). This works for now, but is far from ideal. So yes, would be nice, if someone from gitlab can give insights why this behavior is occurring now.
Hello. I was having the same problem earlier today. This fixed it for me.. Apperently for me it was a kubectl version problem. I use dtzar/helm-kubectl so in my deploy I changed it to run an older version like so…