You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.
A workaround to make it safer before the issue is fixed is to: Allow namespace deletion if the request cannot be properly decoded in the namespace webhook.
This workaround makes it possible to delete namespaces in <1.15 but won't prevent deleting self-service namespaces by mistake. It shouldn't affect any HNC features in >=1.15.
The text was updated successfully, but these errors were encountered:
See kubernetes-retired#688. If we
can't validate the deletion because OldObject doesn't exist, we need to
just allow the deletion.
In the case of a namespace with children and allowCascadingDelete
*unset*, this will delete the parent but *not* the children; they will
be left with two conditions (CritMissingParent and
MissingSubnamespaceAnchor). If allowCascadingDelete *is* set, everything
will work properly.
Tested: verified that everything works as expected in 1.14 and that
there are no changes in 1.16.
See kubernetes-retired#688 and kubernetes-retired#889 - validators need to be able to handle that OldObject
might not be populated in K8s 1.14
Tested: can delete an empty (!) subnamespace in 1.14 with this change,
while it hangs forever and prints out error messages from the object
validators without this change. See kubernetes-retired#889 for more information.
See kubernetes-retired#688 and kubernetes-retired#889 - validators need to be able to handle that OldObject
might not be populated in K8s 1.14
Tested: can delete an empty (!) subnamespace in 1.14 with this change,
while it hangs forever and prints out error messages from the object
validators without this change. See kubernetes-retired#889 for more information.
See #680
A workaround to make it safer before the issue is fixed is to: Allow namespace deletion if the request cannot be properly decoded in the namespace webhook.
This workaround makes it possible to delete namespaces in <1.15 but won't prevent deleting self-service namespaces by mistake. It shouldn't affect any HNC features in >=1.15.
The text was updated successfully, but these errors were encountered: