Commit fca360f9 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

re6stnet: add grace-period option

parent 5ed2c006
Pipeline #28119 failed with stage
......@@ -89,6 +89,11 @@
"title": "Community configuration",
"textarea": true,
"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
}
}
}
......@@ -84,6 +84,7 @@ hello = {{ slapparameter_dict.get('hello', 15) }}
min-protocol = {{ slapparameter_dict.get('min-protocol', -1) }}
encrypt = {{ slapparameter_dict.get('encrypt', 'False') }}
same-country = {{ slapparameter_dict.get('same-country', '') }}
grace-period = {{ slapparameter_dict.get('grace-period', 8640000) }}
{%- set community = slapparameter_dict.get('community-conf') %}
{%- if community %}
community-path = ${re6st-community-conf:output}
......
......@@ -33,3 +33,4 @@ same-country {{ parameter_dict['same-country'] }}
{% if parameter_dict.get('community-path') -%}
community {{ parameter_dict['community-path'] }}
{% endif -%}
grace-period {{ parameter_dict['grace-period'] }}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment