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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Thomas Gambier
slapos
Commits
fca360f9
Commit
fca360f9
authored
May 11, 2023
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
re6stnet: add grace-period option
parent
5ed2c006
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
software/re6stnet/instance-re6stnet-input-schema.json
software/re6stnet/instance-re6stnet-input-schema.json
+5
-0
software/re6stnet/instance-re6stnet.cfg.in
software/re6stnet/instance-re6stnet.cfg.in
+1
-0
software/re6stnet/re6st-registry.conf.in
software/re6stnet/re6st-registry.conf.in
+1
-0
No files found.
software/re6stnet/instance-re6stnet-input-schema.json
View file @
fca360f9
...
@@ -89,6 +89,11 @@
...
@@ -89,6 +89,11 @@
"title"
:
"Community configuration"
,
"title"
:
"Community configuration"
,
"textarea"
:
true
,
"textarea"
:
true
,
"type"
:
"string"
"type"
:
"string"
},
"grace-period"
:
{
"title"
:
"Period in seconds during which a client can renew its certificate even if expired (default 100 days)"
,
"type"
:
"integer"
,
"default"
:
8640000
}
}
}
}
}
}
software/re6stnet/instance-re6stnet.cfg.in
View file @
fca360f9
...
@@ -84,6 +84,7 @@ hello = {{ slapparameter_dict.get('hello', 15) }}
...
@@ -84,6 +84,7 @@ hello = {{ slapparameter_dict.get('hello', 15) }}
min-protocol = {{ slapparameter_dict.get('min-protocol', -1) }}
min-protocol = {{ slapparameter_dict.get('min-protocol', -1) }}
encrypt = {{ slapparameter_dict.get('encrypt', 'False') }}
encrypt = {{ slapparameter_dict.get('encrypt', 'False') }}
same-country = {{ slapparameter_dict.get('same-country', '') }}
same-country = {{ slapparameter_dict.get('same-country', '') }}
grace-period = {{ slapparameter_dict.get('grace-period', 8640000) }}
{%- set community = slapparameter_dict.get('community-conf') %}
{%- set community = slapparameter_dict.get('community-conf') %}
{%- if community %}
{%- if community %}
community-path = ${re6st-community-conf:output}
community-path = ${re6st-community-conf:output}
...
...
software/re6stnet/re6st-registry.conf.in
View file @
fca360f9
...
@@ -33,3 +33,4 @@ same-country {{ parameter_dict['same-country'] }}
...
@@ -33,3 +33,4 @@ same-country {{ parameter_dict['same-country'] }}
{% if parameter_dict.get('community-path') -%}
{% if parameter_dict.get('community-path') -%}
community {{ parameter_dict['community-path'] }}
community {{ parameter_dict['community-path'] }}
{% endif -%}
{% endif -%}
grace-period {{ parameter_dict['grace-period'] }}
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