Skip to content

Commit

Permalink
Remove chartrepo location for nginx configmap
Browse files Browse the repository at this point in the history
The chunk should be removed b/c it used to serve chart museum and it has
been removed from Harbor

Signed-off-by: Daniel Jiang <[email protected]>
  • Loading branch information
reasonerjt committed Oct 17, 2024
1 parent 8b7db8d commit 778849a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 32 deletions.
15 changes: 0 additions & 15 deletions templates/nginx/configmap-http.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,21 +90,6 @@ data:
proxy_request_buffering off;
}
location /chartrepo/ {
proxy_pass {{ $scheme }}://core/chartrepo/;
{{- if and .Values.internalTLS.enabled }}
proxy_ssl_verify off;
proxy_ssl_session_reuse on;
{{- end }}
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $x_forwarded_proto;
proxy_buffering off;
proxy_request_buffering off;
}
location /c/ {
proxy_pass {{ $scheme }}://core/c/;
proxy_set_header Host $host;
Expand Down
17 changes: 0 additions & 17 deletions templates/nginx/configmap-https.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,23 +113,6 @@ data:
proxy_request_buffering off;
}
location /chartrepo/ {
proxy_pass {{ $scheme }}://core/chartrepo/;
{{- if and .Values.internalTLS.enabled }}
proxy_ssl_verify off;
proxy_ssl_session_reuse on;
{{- end }}
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $x_forwarded_proto;
proxy_cookie_path / "/; Secure";
proxy_buffering off;
proxy_request_buffering off;
}
location /c/ {
proxy_pass {{ $scheme }}://core/c/;
proxy_set_header Host $host;
Expand Down

0 comments on commit 778849a

Please sign in to comment.