Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

v0.1.0

Compare
Choose a tag to compare
@github-actions github-actions released this 10 Mar 16:05
4a21fa2

New in NGINX Ingress Operator v0.1.0

🚀 Features

🐛 Bug Fixes

📝 Documentation

🔨 Maintenance

Known Issues:

The Operator doesn't automatically remove IngressClasses created by #29. Issue is tracked in #88

Compatibility

  • NGINX Ingress Controller 1.10.x
  • Openshift 4.5 or newer.

Upgrade Instructions:

  1. Remove the existing Policy CRD: kubectl delete crd policies.k8s.nginx.org
    Please note that deletion of the policies.k8s.nginx.org CRD will result in all instances of that CRD being deleted too. Ensure to back up any important Custom Resource instances first!
  2. Delete the existing SCC: kubectl delete scc nginx-ingress-scc
  3. Upgrade the operator to version 0.1.0.
  4. If the defaultSecret field is not set in your nginxingresscontrollers.k8s.nginx.org resource (or resources):
    1. Remove the generated default secret. For example: kubectl delete secret -n my-nginx-ingress my-nginx-ingress-controller
    2. Wait until the operator regenerates the secret. The old secret was of the type Opaque. The new secret will be of the type kubernetes.io/tls.
  5. Alternatively, if the defaultSecret is set to some secret, make sure it is of the type kubernetes.io/tls. If not, recreate the secret with the type kubernetes.io/tls.
  6. If the wildcardTLS is set to some secret, make sure it is of the type kubernetes.io/tls. If not, recreate the secret with the type kubernetes.io/tls.
  7. Ensure that the TLS secrets referenced by Ingress, VirtualServer and Policy resources are of the type kubernetes.io/tls, JWT secrets are of the type nginx.org/jwt and CA secrets are of the type nginx.org/ca. To avoid potential disruption of client traffic, instead of recreating the secrets, create new secrets with the correct type and update the Ingress, VirtualServer and Policy resources to use the new secrets.
  8. Update any existing instances of the nginxingresscontrollers.k8s.nginx.org Custom Resource to use an NGINX Ingress Controller 1.10.x image.

Note: Steps 4-8 are required because Version 1.10.0 of the Ingress Controller added a requirement for secrets to be one of the following types: kubernetes.io/tls for TLS secrets; nginx.org/jwk for JWK secrets; or nginx.org/ca for CA secrets. Please see the section UPDATING SECRETS in https://docs.nginx.com/nginx-ingress-controller/releases/#nginx-ingress-controller-1-10-0 for more details.