The source project of this merge request has been removed.
[shared-secrets]: Add flag to `kubectl apply` to skip client-side validation of the resource
A quick and easy fix for https://gitlab.com/charts/gitlab/issues/1497
This is to allow different versions for the client-side kubectl and the server-side kubernetes.
It adds the flag --validate=false
to kubectl apply
which skips the client validation of the apply command. The kube-api still does server-side validation. I found the error and solution here: https://stackoverflow.com/a/51030708
Edited by Semjon Nordmann