Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Łukasz Nowak
slapos
Commits
d6d48d9e
Commit
d6d48d9e
authored
Jan 18, 2024
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XXX monitor-cors-domains
parent
5d5fca4c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
software/rapid-cdn/buildout.hash.cfg
software/rapid-cdn/buildout.hash.cfg
+3
-3
software/rapid-cdn/instance-frontend-global-input-schema.json
...ware/rapid-cdn/instance-frontend-global-input-schema.json
+5
-0
software/rapid-cdn/instance-frontend-input-schema.json
software/rapid-cdn/instance-frontend-input-schema.json
+0
-4
software/rapid-cdn/instance-master.cfg.in
software/rapid-cdn/instance-master.cfg.in
+1
-2
No files found.
software/rapid-cdn/buildout.hash.cfg
View file @
d6d48d9e
...
@@ -26,7 +26,7 @@ md5sum = 2dc6f1e1ad7ab7be4c8cd262e095ece5
...
@@ -26,7 +26,7 @@ md5sum = 2dc6f1e1ad7ab7be4c8cd262e095ece5
[profile-master]
[profile-master]
filename = instance-master.cfg.in
filename = instance-master.cfg.in
md5sum =
291f73c3782040d02fd56a46f61c201b
md5sum =
e5fbc52290c91345ecd4fd028fca6c86
[profile-slave-list]
[profile-slave-list]
filename = instance-slave-list.cfg.in
filename = instance-slave-list.cfg.in
...
@@ -130,7 +130,7 @@ md5sum = f6f2d12f17ce384c157152d906376fef
...
@@ -130,7 +130,7 @@ md5sum = f6f2d12f17ce384c157152d906376fef
[instance-frontend-input-schema]
[instance-frontend-input-schema]
filename = instance-frontend-input-schema.json
filename = instance-frontend-input-schema.json
md5sum =
ff4cc869771cd10f625fa5bf384bb5e3
md5sum =
1743b6fa34963a5f1fbda2056a696c6b
[instance-frontend-user-input-schema]
[instance-frontend-user-input-schema]
filename = instance-frontend-user-input-schema.json
filename = instance-frontend-user-input-schema.json
...
@@ -138,7 +138,7 @@ md5sum = 930a8b0e3c52ed1b766cc709bf61b645
...
@@ -138,7 +138,7 @@ md5sum = 930a8b0e3c52ed1b766cc709bf61b645
[instance-frontend-global-input-schema]
[instance-frontend-global-input-schema]
filename = instance-frontend-global-input-schema.json
filename = instance-frontend-global-input-schema.json
md5sum =
7392c5fe6eecc490f9c5e777d446cc04
md5sum =
3c54180cc1f4c8745b469cbcb710fc60
[instance-input-schema]
[instance-input-schema]
filename = instance-input-schema.json
filename = instance-input-schema.json
...
...
software/rapid-cdn/instance-frontend-global-input-schema.json
View file @
d6d48d9e
...
@@ -116,6 +116,11 @@
...
@@ -116,6 +116,11 @@
"title"
:
"Legacy: Sent enable-http3 as string to outdated nodes"
,
"title"
:
"Legacy: Sent enable-http3 as string to outdated nodes"
,
"type"
:
"boolean"
"type"
:
"boolean"
},
},
"monitor-cors-domains"
:
{
"default"
:
"monitor.app.officejs.com"
,
"title"
:
"Monitor CORS Domains"
,
"type"
:
"string"
},
"rotate-num"
:
{
"rotate-num"
:
{
"default"
:
4000
,
"default"
:
4000
,
"title"
:
"Amount of daily log rotations"
,
"title"
:
"Amount of daily log rotations"
,
...
...
software/rapid-cdn/instance-frontend-input-schema.json
View file @
d6d48d9e
...
@@ -29,10 +29,6 @@
...
@@ -29,10 +29,6 @@
"type"
:
"string"
,
"type"
:
"string"
,
"title"
:
"Domain"
"title"
:
"Domain"
},
},
"monitor-cors-domain"
:
{
"type"
:
"string"
,
"title"
:
"Monitor CORS Domain"
},
"monitor-password"
:
{
"monitor-password"
:
{
"type"
:
"string"
,
"type"
:
"string"
,
"title"
:
"Monitor password"
"title"
:
"Monitor password"
...
...
software/rapid-cdn/instance-master.cfg.in
View file @
d6d48d9e
...
@@ -282,7 +282,6 @@ return = slave-instance-information-list monitor-base-url backend-client-csr-url
...
@@ -282,7 +282,6 @@ return = slave-instance-information-list monitor-base-url backend-client-csr-url
{#- BEGIN: Frontend node request #}
{#- BEGIN: Frontend node request #}
{%- set DEFAULT_FRONTEND = {
{%- set DEFAULT_FRONTEND = {
'domain': instance_parameter_dict['configuration'].get('domain', CLUSTER_DEFAULTS['domain']),
'domain': instance_parameter_dict['configuration'].get('domain', CLUSTER_DEFAULTS['domain']),
'monitor-cors-domain': instance_parameter_dict['configuration']['expert'].get('monitor-cors-domains', CLUSTER_DEFAULTS['expert']['monitor-cors-domains']),
'monitor-username': '${monitor-instance-parameter:username}',
'monitor-username': '${monitor-instance-parameter:username}',
'monitor-password': '${monitor-htpasswd:passwd}',
'monitor-password': '${monitor-htpasswd:passwd}',
'backend-client-caucase-url': CAUCASE_URL,
'backend-client-caucase-url': CAUCASE_URL,
...
@@ -401,7 +400,7 @@ custom-group = instance-publish-slave-information:output
...
@@ -401,7 +400,7 @@ custom-group = instance-publish-slave-information:output
[request-kedifa]
[request-kedifa]
<= slap-connection
<= slap-connection
recipe = slapos.cookbook:requestoptional.serialised
recipe = slapos.cookbook:requestoptional.serialised
config-monitor-cors-domains = {{ instance_parameter_dict['configuration'].get('monitor-cors-domains',
'monitor.app.officejs.com'
) }}
config-monitor-cors-domains = {{ instance_parameter_dict['configuration'].get('monitor-cors-domains',
CLUSTER_DEFAULTS['kedifa-node']['expert']['monitor-cors-domains']
) }}
config-monitor-username = ${monitor-instance-parameter:username}
config-monitor-username = ${monitor-instance-parameter:username}
config-monitor-password = ${monitor-htpasswd:passwd}
config-monitor-password = ${monitor-htpasswd:passwd}
config-monitor-httpd-port = {{ dumps(instance_parameter_dict['configuration']['kedifa-node']['expert'].get('monitor-httpd-port', CLUSTER_DEFAULTS['kedifa-node']['expert']['monitor-httpd-port'])) }}
config-monitor-httpd-port = {{ dumps(instance_parameter_dict['configuration']['kedifa-node']['expert'].get('monitor-httpd-port', CLUSTER_DEFAULTS['kedifa-node']['expert']['monitor-httpd-port'])) }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment