Skip to content

Instantly share code, notes, and snippets.

@VerosK
Created June 30, 2022 07:23
Show Gist options
  • Save VerosK/b3301798b2d34cda935b02c86fab196c to your computer and use it in GitHub Desktop.
Save VerosK/b3301798b2d34cda935b02c86fab196c to your computer and use it in GitHub Desktop.
Patch nginx ingressclass to make it default
# kubectl patch ingressclasses.networking.k8s.io nginx --patch-file patch-ingressclass.yml
metadata:
annotations:
ingressclass.kubernetes.io/is-default-class: "true"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment