Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[master] feat(helm): remove nginx configuration-snippet by default #10673

Merged
merged 1 commit into from
Feb 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions helm/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ This file documents all notable changes to [Gravitee.io API Management 3.x](http
- Kafka Gateway: fix configuration
- Kafka Gateway: add fields to configure bootstrap and broker domain patterns
- fix typo and indentation about mapping of user.anonymize-on-delete.enabled (APIM-8628)
- remove nginx `configuration-snippet` by default (APIM-8630)

### 4.6.0

Expand Down
3 changes: 3 additions & 0 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ annotations:
url: https://github.com/gravitee-io/issues/issues/10337
- kind: fixed
description: 'fix typo and indentation about mapping of user.anonymize-on-delete.enabled (APIM-8628)'
- kind: fixed
description: 'remove nginx `configuration-snippet` by default (APIM-8630)'

1 change: 0 additions & 1 deletion helm/tests/api/ingress_federationcontroller_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ tests:
path: metadata.annotations
value:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/configuration-snippet: "etag on;\nproxy_pass_header ETag;\nproxy_pass_header if-match;\n"
nginx.ingress.kubernetes.io/proxy-read-timeout: 3600 │
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
nginx.ingress.kubernetes.io/rewrite-target: /$1
Expand Down
5 changes: 1 addition & 4 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ api:
- apim.example.com
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/configuration-snippet: "etag on;\nproxy_pass_header ETag;\nproxy_pass_header if-match;\n"
#nginx.ingress.kubernetes.io/configuration-snippet: "etag on;\nproxy_pass_header ETag;\nproxy_pass_header if-match;\n"
# kubernetes.io/tls-acme: "true"
# tls:
# Secrets must be manually created in the namespace.
Expand All @@ -797,7 +797,6 @@ api:
- apim.example.com
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/configuration-snippet: "etag on;\nproxy_pass_header ETag;\nproxy_set_header if-match \"\";\n"
# kubernetes.io/tls-acme: "true"
# tls:
# Secrets must be manually created in the namespace.
Expand Down Expand Up @@ -1711,7 +1710,6 @@ portal:
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/configuration-snippet: "etag on;\nproxy_pass_header ETag;\n"
#tls:
# Secrets must be manually created in the namespace.
# - hosts:
Expand Down Expand Up @@ -1908,7 +1906,6 @@ ui:
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /$1
nginx.ingress.kubernetes.io/configuration-snippet: "etag on;\nproxy_pass_header ETag;\n"
# tls:
# Secrets must be manually created in the namespace.
# - hosts:
Expand Down