Skip to content

Commit

Permalink
aether-roc-umbrella: releasing 1.2.24 (#671)
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanCondon committed Jul 9, 2021
1 parent 45053be commit e04b121
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 39 deletions.
8 changes: 4 additions & 4 deletions aether-roc-umbrella/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: aether-roc-umbrella
description: Aether ROC Umbrella chart to deploy all Aether ROC
kubeVersion: ">=1.18.0"
type: application
version: 1.2.23
version: 1.2.24
appVersion: v0.0.0
keywords:
- aether
Expand All @@ -29,7 +29,7 @@ dependencies:
- name: config-model-aether
condition: onos-config.models.aether.v3.enabled
repository: "@sdran"
version: 3.0.5
version: 3.0.6
alias: config-model-aether-3-0-0
- name: onos-config
condition: import.onos-config.enabled
Expand All @@ -55,7 +55,7 @@ dependencies:
- name: aether-roc-gui
condition: import.aether-roc-gui.v3.enabled
repository: "@sdran"
version: 3.0.5
version: 3.0.6
alias: aether-roc-gui-v3
- name: sdcore-adapter
condition: import.sdcore-adapter.v2_1.enabled
Expand All @@ -65,7 +65,7 @@ dependencies:
- name: sdcore-adapter
condition: import.sdcore-adapter.v3.enabled
repository: "@sdran"
version: 3.0.5
version: 3.0.6
alias: sdcore-adapter-v3
- name: nginx
alias: sdcore-test-dummy
Expand Down
3 changes: 2 additions & 1 deletion aether-roc-umbrella/templates/post-install-job-grafana.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: 2021-present Open Networking Foundation <info@opennetworking.org>
#
# SPDX-License-Identifier: LicenseRef-ONF-Member-1.0

{{ if .Values.import.grafana.enabled }}
apiVersion: batch/v1
kind: Job
metadata:
Expand Down Expand Up @@ -73,3 +73,4 @@ spec:
configMap:
name: {{ template "aether-roc-api.fullname" . }}-dashboards-acme

{{end}}
44 changes: 44 additions & 0 deletions aether-roc-umbrella/templates/sdcore-test-dummy-config.yaml
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;
}
40 changes: 6 additions & 34 deletions aether-roc-umbrella/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ grafana:
domain: aether-roc-gui
root_url: "%(protocol)s://%(domain)s:%(http_port)s/grafana/"
serve_from_sub_path: true
auth.anonymous:
enabled: true
org_role: Viewer
# Hide the Grafana version text from the footer and help tooltip for unauthenticated users (default: false)
hide_version: true
auth.generic_oauth:
enabled: true
client_id: aether-roc-gui
Expand Down Expand Up @@ -157,40 +162,7 @@ prometheus:
sdcore-test-dummy:
service:
type: ClusterIP
serverBlock: |-
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;
}
existingServerBlockConfigmap: aether-roc-umbrella-sdcore-test-dummy

# ONOS-CONFIG
onos-config:
Expand Down

0 comments on commit e04b121

Please sign in to comment.