Switching to enterprise F5 NGINX Plus Ingress Controller
Before you begin
- Make sure you are on BMC Helix ITOM version 24.3.
- Make sure the enterprise F5 NGINX Plus Ingress Controller is installed.
For more information, see Deploying-and-configuring-the-F5-NGINX-Plus-Ingress-Controller.
To switch to enterprise F5 NGINX Plus Ingress Controller
The system administrator must update the F5 NGINX Plus Ingress Controller listening ports in the F5, HAProxy, or DNS box load balancer configurations.
To create a TLS s ec ret in the BMC Helix ITOM namespace , run the following command:
kubectl create secret tls <name of the tls secret> --cert=/path/to/cert.pem --key=/path/to/privkey.pem -n <BMC Helix ITOM namespace>Example:
kubectl create secret tls my-tls-secret --cert=/path/to/cert.pem --key=/path/to/privkey.pem -n itomTo edit the helixingress-master in the BMC Helix ITOM namespace, run the following command:
kubectl edit ing -n <BMC Helix ITOM namespace> helixingress-master -o yamlAdd the following snippet under annotations:
kubernetes.io/ingress.class: nginxplus
nginx.ingress.kubernetes.io/server-alias: ""
nginx.org/mergeable-ingress-type: master
nginx.org/server-snippets: server_name <Tenant-URL>;Replace <Tenant-URL> with the Tenant URL in the following format: $TENANT_NAME-$TENANT_TYPE-$TENANT_ENVIRONMENT.$DOMAIN.
For example, purplekite-tyrion-dev-mydomain.bmc.com. In the example, purplekite is the TENANT_NAME, tyrion is the TENANT_TYPE, dev is the TENANT_ENVIRONMENT, mydomain.bmc.com is the DOMAIN.Make sure the spec section includes the TLS entry:
tls:
- hosts:
- <Tenant Host>
secretName: nginx-tls-secret
- Go to the helix-on-prem-deployment-manager/configs /infra.config .
- If you use a self-signed certificate, set the following parameters in the infra.config file:
- INGRESS_CLASS=nginxplus
- NGINX_CONTROLLER=NGINX_PLUS
- INGRESS_TLS_SECRET_NAME=<The TLS secret that you created in the BMC Helix ITOM namespace; for example my-tls-secret. >
- CUSTOM_CA_SIGNED_CERT_IN_USE=true
- If you use a public CA certificate or are enabling TLS termination at the load balancer, set the following parameters in the infra.config file:
- INGRESS_CLASS=nginxplus
- NGINX_CONTROLLER=NGINX_PLUS
- INGRESS_TLS_SECRET_NAME=
Leave this value blank. - CUSTOM_CA_SIGNED_CERT_IN_USE=false
- If you use a self-signed certificate, set the following parameters in the infra.config file:
Go to /helix-on-prem-deployment-manager/utilities/migration/ and execute the following script to update the Ingress class from nginx to nginxplus in all Ingress deployed for BMC Helix ITOM 24.3 :
./update_ingress_class_tls.sh <nginxplus Ingress class name>Example:
./update_ingress_class_tls.sh nginxplusnginxplus is the parameter that you need to provide along with the script.
Confirm that the load balancer URLs are accessible to the applications through the F5 NGINX Plus Ingress Controller.