Our NGINX fork
Our fork of the NGINX chart was pulled from GitHub.
Adjustments to the NGINX fork
The following adjustments were made to the NGINX fork:
-
tcp-configmap.yaml: is optional depending on newtcpExternalConfigsetting - Ability to use a templated TCP ConfigMap name from another chart
-
controller-configmap-tcp.yaml:.metadata.nameis a templateingress-nginx.tcp-configmap -
controller-deployment.yaml:.spec.template.spec.containers[0].argsusesingress-nginx.tcp-configmaptemplate for ConfigMap name - GitLab chart overrides
ingress-nginx.tcp-configmapso thatgitlab/gitlab-org/charts/gitlab-shellcan configure its TCP service
-
- Ability to use a templated Ingress name based on the release name
- Replace
controller.service.loadBalancerIPwithglobal.hosts.externalIP - Added support to add common labels through
common.labelsconfiguration option -
controller-deployment.yaml:- Add
podlabelsandglobal.pod.labelsto.spec.template.metadata.labels
- Add
-
default-backend-deployment.yaml:- Add
podlabelsandglobal.pod.labelsto.spec.template.metadata.labels
- Add
- Disable NGINX’s default nodeSelectors.
- Added support for PDB
maxUnavailable. - Remove NGINX’s
isControllerTagValidhelper incharts/nginx-ingress/templates/_helpers.tpl- The check had not been updated since it was implemented in 2020.
- As part of #3383, we need to refer to a tag that will contain
ubi, meaning that thesemverComparewould not work as expected anyway.
- Added support for autoscaling/v2beta2 and autoscaling/v2 APIs in HPAs and extended HPA settings to support memory and custom metrics, as well as behavior configuration.
- Added conditional support for API version of PodDisruptionBudget.
- Add the following booleans to enable/disable GitLab Shell (SSH access) independently for the external and internal (if enabled with
controller.service.internal.enabled) services:-
controller.service.enableShell. -
controller.service.internal.enableShell. (follows the exisiting chart pattern ofcontroller.service.enableHttp(s))
-