-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aether-roc-umbrella: releasing 1.2.24 (#671)
- Loading branch information
1 parent
45053be
commit e04b121
Showing
4 changed files
with
56 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
aether-roc-umbrella/templates/sdcore-test-dummy-config.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# SPDX-FileCopyrightText: 2020-present Open Networking Foundation <info@opennetworking.org> | ||
# | ||
# SPDX-License-Identifier: LicenseRef-ONF-Member-1.0 | ||
|
||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ .Release.Name }}-sdcore-test-dummy | ||
namespace: {{ .Release.Namespace }} | ||
data: | ||
sdcore-test-dummy.conf: |- | ||
log_format client '$remote_addr - $remote_user $request_time $upstream_response_time ' | ||
'[$time_local] "$request" $status $body_bytes_sent $request_body "$http_referer" ' | ||
'"$http_user_agent" "$http_x_forwarded_for"'; | ||
server { | ||
listen 0.0.0.0:8080; | ||
default_type application/json; | ||
access_log /opt/bitnami/nginx/logs/access.log client; | ||
# You can provide a special subPath or the root | ||
location = /v1/config { | ||
root /; | ||
proxy_pass http://127.0.0.1:8080/post_dummy; | ||
} | ||
location = /v1/config/policies { | ||
root /; | ||
proxy_pass http://127.0.0.1:8080/post_dummy; | ||
} | ||
location = /v1/config/imsis { | ||
root /; | ||
proxy_pass http://127.0.0.1:8080/post_dummy; | ||
} | ||
location /v1/config/5g { | ||
rewrite ^/v1/config/5g/.* /v1/config/5g break; | ||
proxy_pass http://127.0.0.1:8080/post_dummy; | ||
} | ||
location = /post_dummy { | ||
# turn off logging here to avoid double logging | ||
access_log off; | ||
return 200; | ||
} | ||
error_page 405 =200 $uri; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters