forked from aliyun/ros-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnamespace.yml
37 lines (37 loc) · 846 Bytes
/
namespace.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
ROSTemplateFormatVersion: '2015-09-01'
Description:
zh-cn: 创建容器注册镜像命名空间,设定默认访问权限及自动创建策略。
en: Create a container registry image namespace, establish default access permissions,
and configure automatic creation policies.
Parameters:
Namespace:
Type: String
Default: mytest
DefaultVisibility:
Type: String
Default: PRIVATE
AllowedValues:
- PUBLIC
- PRIVATE
AutoCreate:
Type: Boolean
Default: false
AllowedValues:
- true
- false
Resources:
NameSpace:
Type: ALIYUN::CR::Namespace
Properties:
Namespace:
Ref: Namespace
DefaultVisibility:
Ref: DefaultVisibility
AutoCreate:
Ref: AutoCreate
Outputs:
NamespaceId:
Value:
Fn::GetAtt:
- NameSpace
- NamespaceId