Skip to content

Update Nginx Ingress to use ImplementationSpecific pathType to avoid admission controller issues#2215

Merged
ddelnano merged 1 commit intopixie-io:mainfrom
ddelnano:ddelnano/fix-nginx-ingress
Jun 9, 2025
Merged

Update Nginx Ingress to use ImplementationSpecific pathType to avoid admission controller issues#2215
ddelnano merged 1 commit intopixie-io:mainfrom
ddelnano:ddelnano/fix-nginx-ingress

Conversation

@ddelnano
Copy link
Copy Markdown
Member

@ddelnano ddelnano commented Jun 9, 2025

Summary: Update Nginx Ingress to use ImplementationSpecific pathType to avoid admission controller issues

Nginx Ingress v1.8.0 introduced a strict-validate-path-type setting that defaults to true. This causes the existing pathType used by Pixie's manifest to be blocked by the Nginx Ingress admission controller. Updating this value to ImplementationSpecific side steps this validation, so it can be created successfully.

For improving security, our 1.8.0 release includes a new, optional validation that limits the characters accepted on ".spec paths.path" when pathType=Exact or pathType=Prefix, to alphanumeric characters only.

Relevant Issues: #2214

Type of change: /kind bugfix

Test Plan: Deployed to a cluster using Nginx Ingress

Changelog Message: Fixed an issue where Nginx Ingress resource creation would be blocked by admission controller (on Nginx Ingress v1.8.0 and later)

…admission controller blocking regex paths

Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
@ddelnano ddelnano requested a review from a team as a code owner June 9, 2025 18:27
@ddelnano ddelnano merged commit fc1a4fa into pixie-io:main Jun 9, 2025
20 checks passed
@ddelnano ddelnano deleted the ddelnano/fix-nginx-ingress branch June 9, 2025 19:10
ddelnano added a commit to k8sstormcenter/pixie that referenced this pull request Feb 25, 2026
…d admission controller issues (pixie-io#2215)

Summary: Update Nginx Ingress to use `ImplementationSpecific` pathType
to avoid admission controller issues

Nginx Ingress
[v1.8.0](https://github.com/kubernetes/ingress-nginx/blob/311a2082c5622c7bdaff24273110e6f2a0f3b5da/changelog/controller-1.8.0.md?plain=1#L16)
introduced a `strict-validate-path-type` setting that defaults to true.
This causes the existing pathType used by Pixie's manifest to be blocked
by the Nginx Ingress admission controller. Updating this value to
`ImplementationSpecific` side steps this validation, so it can be
created successfully.

> For improving security, our 1.8.0 release includes a [new, optional
validation
](https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#strict-validate-path-type)that
limits the characters accepted on ".spec paths.path" when pathType=Exact
or pathType=Prefix, to alphanumeric characters only.

Relevant Issues: pixie-io#2214

Type of change: /kind bugfix

Test Plan: Deployed to a cluster using Nginx Ingress

Changelog Message: Fixed an issue where Nginx Ingress resource creation
would be blocked by admission controller (on Nginx Ingress v1.8.0 and
later)

Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
ddelnano added a commit to k8sstormcenter/pixie that referenced this pull request Feb 25, 2026
…d admission controller issues (pixie-io#2215)

Summary: Update Nginx Ingress to use `ImplementationSpecific` pathType
to avoid admission controller issues

Nginx Ingress
[v1.8.0](https://github.com/kubernetes/ingress-nginx/blob/311a2082c5622c7bdaff24273110e6f2a0f3b5da/changelog/controller-1.8.0.md?plain=1#L16)
introduced a `strict-validate-path-type` setting that defaults to true.
This causes the existing pathType used by Pixie's manifest to be blocked
by the Nginx Ingress admission controller. Updating this value to
`ImplementationSpecific` side steps this validation, so it can be
created successfully.

> For improving security, our 1.8.0 release includes a [new, optional
validation
](https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#strict-validate-path-type)that
limits the characters accepted on ".spec paths.path" when pathType=Exact
or pathType=Prefix, to alphanumeric characters only.

Relevant Issues: pixie-io#2214

Type of change: /kind bugfix

Test Plan: Deployed to a cluster using Nginx Ingress

Changelog Message: Fixed an issue where Nginx Ingress resource creation
would be blocked by admission controller (on Nginx Ingress v1.8.0 and
later)

Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants