Issue
The use of the ingress-nginx subchart in the CloudBees CI chart is no longer supported.
If you are using the ingress-nginx subchart, you must migrate to the official ingress-nginx chart prior to upgrading CloudBees CI on modern cloud platforms.
Resolution
To migrate from the unsupported ingress-nginx subchart:
-
Check if the deprecated subchart is enabled:
helm get values <release-name> -n <namespace>(1)1 Replace <release-name>and<namespace>with your CloudBees CI on modern cloud platforms release name and namespace, respectively.If
ingress-nginx.Enabledistrue, migration is required:ingress-nginx: Enabled: trueIf the value is missing or
false, no further action is needed. -
To migrate:
-
Copy all values under
ingress-nginx.controllerto a new file namedingress-nginx-values.yaml. The following sample shows the base content provided by the subchart. If you wish to preserve the same behavior as before, use these values as your starting point and override them only as needed for your environment:ingress-nginx: Enabled: true controller: allowSnippetAnnotations: false(1) ingressClassResource: name: nginx(2) nodeSelector: kubernetes.io/os: linux(3) service: externalTrafficPolicy: Local(4) admissionWebhooks: enabled: false(5) defaultBackend: nodeSelector: kubernetes.io/os: linux1 Typically obsolete in current chart releases. 2 Should match your CloudBees CI chart configuration. nginxis the default value for non-ALB/Red Hat OpenShift Container Platform (OCP).3 Required for mixed-OS clusters. 4 Important for source IP handling; required if lax source IP enforcement is not enabled on crumb issuer. 5 Optional; enabling admission webhooks may cause issues in some environments.
In most cases, this migration removes the existing
LoadBalancerservice and creates a new one. In cloud environments, this typically means the oldLoadBalanceris deleted and a new one is provisioned. If you use static IPs, you may need to update your DNS records accordingly.-
Validate the formatting against the official ingress-nginx documentation.
-
Remove the
ingress-nginxsection from the CloudBees CI Helm values and apply those values. -
Install the official
ingress-nginxchart in its own namespace, following the ingress-nginx documentation. -
Upgrade CloudBees CI on modern cloud platforms.
-