Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
netvs-hub
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scc-net
netvs
netvs-hub
Commits
dfbd9bab
Verified
Commit
dfbd9bab
authored
1 year ago
by
Dominik Rimpf
Browse files
Options
Downloads
Patches
Plain Diff
add: fqdn token template
parent
2a631abf
Branches
Branches containing commit
No related tags found
2 merge requests
!4
ACME
,
!2
Draft: FQDN Token Workflow
Pipeline
#269348
passed
1 year ago
Stage: check
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
json_templates/fqdn_token.json
+129
-0
129 additions, 0 deletions
json_templates/fqdn_token.json
with
129 additions
and
0 deletions
json_templates/fqdn_token.json
0 → 100644
+
129
−
0
View file @
dfbd9bab
{
"schema_version"
:
1
,
"author"
:
"NETVS Team <netvs@scc.kit.edu>"
,
"target_api"
:
"4.0"
,
"name"
:
{
"de"
:
"Token anlegen"
,
"en"
:
"Create token"
},
"description"
:
{
"de"
:
"Ein Token mit Berechtigungen für Domains anlegen"
,
"en"
:
"Create a token for a set of domains"
},
"list_display_name"
:
{
"de"
:
"Ein Token mit Berechtigungen für Domains anlegen"
,
"en"
:
"Create a token for a set of domains"
},
"display_variant"
:
"create"
,
"variables"
:
{
"description"
:
{
"friendly_name"
:
{
"de"
:
"Beschreibung"
,
"en"
:
"Description"
},
"optional"
:
false
,
"default"
:
""
,
"nullable"
:
false
,
"description"
:
{
"de"
:
"Aussagekräftige Beschreibung wo der Token genutzt wird. Bspw. Hostname."
,
"en"
:
"Meaningful description where the token is used. For example, host name."
},
"type"
:
"str"
},
"group_name"
:
{
"friendly_name"
:
{
"de"
:
"Gruppe"
,
"en"
:
"Group"
},
"optional"
:
false
,
"default"
:
""
,
"nullable"
:
true
,
"description"
:
{
"de"
:
"Gruppe in der die Subgruppe für den Subaccount angelegt werden soll."
,
"en"
:
"Group in which the subgroup for the subaccount should be created."
},
"type"
:
"typeahead"
,
"type_params"
:
{
"query"
:
[
{
"idx"
:
"group_list"
,
"name"
:
"cntl.group.list"
,
"old"
:
{
"is_own"
:
true
,
"is_sub"
:
false
}}
],
"query_path"
:
"group_list"
,
"display_value"
:
"name"
,
"return_value"
:
"name"
}
},
"domains"
:
{
"friendly_name"
:
{
"de"
:
"Domains"
,
"en"
:
"Domains"
},
"optional"
:
false
,
"default"
:
""
,
"nullable"
:
false
,
"description"
:
{
"de"
:
"Domains, für die Zertifikate bestellt werden können sollen. Subdomains dieser Domains sind automatisch mit eingeschlossen."
,
"en"
:
"Domains for which certificates should be ordered. Subdomains of these domains are automatically included."
},
"list"
:
true
,
"type"
:
"str"
}
},
"transaction"
:
[
{
"idx"
:
"createSubMgr"
,
"name"
:
"cntl.mgr.create"
,
"new"
:
{
"allow_data_manipulation"
:
true
,
"description"
:
"{{ description }}"
,
"do_copy_roles"
:
true
,
"is_svc"
:
false
}
},
{
"idx"
:
"createSubGroup"
,
"name"
:
"cntl.group.create"
,
"new"
:
{
"description"
:
"{{ description }}"
,
"do_copy_assignments"
:
false
,
"do_idm_sync"
:
false
,
"do_refresh_idm_sync"
:
false
,
"idm_sync_max_mgr_count"
:
20
,
"parent_name"
:
"{{ group_name }}"
}
},
{
"idx"
:
"addMgrToSubGroup"
,
"name"
:
"cntl.mgr2group.create"
,
"new_ref_params"
:
[
{
"idx"
:
"createSubGroup"
,
"params"
:
{
"group_name"
:
"name"
}},
{
"idx"
:
"createSubMgr"
,
"params"
:
{
"mgr_login_name"
:
"login_name"
},
"join_type"
:
"inner"
}
]
},
{
"idx"
:
"getFQDNS"
,
"name"
:
"dns.fqdn.list"
,
"old"
:
{
"value_list"
:
"{{ domains }}"
}
},
{
"idx"
:
"fqdn2group"
,
"name"
:
"dns.fqdn2group.create"
,
"new_ref_params"
:
[
{
"idx"
:
"createSubGroup"
,
"params"
:
{
"group_name"
:
"name"
}},
{
"idx"
:
"getFQDNS"
,
"params"
:
{
"fqdn_value"
:
"value"
},
"join_type"
:
"cross"
}
]
},
{
"idx"
:
"createToken"
,
"name"
:
"cntl.wapi_auth.create"
,
"new"
:
{
"description"
:
"{{ description }}"
},
"new_ref_params"
:
[
{
"idx"
:
"createSubMgr"
,
"params"
:
{
"login_name"
:
"login_name"
}}
]
}
],
"returning"
:
[]
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment