Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
水淹萌龙
kubesphere
提交
e86c27bc
K
kubesphere
项目概览
水淹萌龙
/
kubesphere
与 Fork 源项目一致
Fork自
KubeSphere / kubesphere
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kubesphere
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
未验证
提交
e86c27bc
编写于
3月 19, 2020
作者:
R
runzexia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
gen devops crd yaml
Signed-off-by:
N
runzexia
<
runzexia@yunify.com
>
上级
7ffee72b
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
127 addition
and
11 deletion
+127
-11
config/crds/devops.kubesphere.io_devopsprojects.yaml
config/crds/devops.kubesphere.io_devopsprojects.yaml
+51
-0
config/crds/devops.kubesphere.io_s2ibinaries.yaml
config/crds/devops.kubesphere.io_s2ibinaries.yaml
+17
-4
config/crds/devops.kubesphere.io_s2ibuilders.yaml
config/crds/devops.kubesphere.io_s2ibuilders.yaml
+1
-1
config/crds/devops.kubesphere.io_s2ibuildertemplates.yaml
config/crds/devops.kubesphere.io_s2ibuildertemplates.yaml
+1
-1
config/crds/devops.kubesphere.io_s2iruns.yaml
config/crds/devops.kubesphere.io_s2iruns.yaml
+1
-1
config/rbac/role.yaml
config/rbac/role.yaml
+54
-0
pkg/apis/devops/v1alpha3/devopsproject_types_test.go
pkg/apis/devops/v1alpha3/devopsproject_types_test.go
+2
-4
未找到文件。
config/crds/devops.kubesphere.io_devopsprojects.yaml
0 → 100644
浏览文件 @
e86c27bc
---
apiVersion
:
apiextensions.k8s.io/v1beta1
kind
:
CustomResourceDefinition
metadata
:
annotations
:
controller-gen.kubebuilder.io/version
:
(unknown)
creationTimestamp
:
null
name
:
devopsprojects.devops.kubesphere.io
spec
:
group
:
devops.kubesphere.io
names
:
kind
:
DevOpsProject
listKind
:
DevOpsProjectList
plural
:
devopsprojects
singular
:
devopsproject
scope
:
Namespaced
validation
:
openAPIV3Schema
:
description
:
DevOpsProject is the Schema for the devopsprojects API
properties
:
apiVersion
:
description
:
'
APIVersion
defines
the
versioned
schema
of
this
representation
of
an
object.
Servers
should
convert
recognized
schemas
to
the
latest
internal
value,
and
may
reject
unrecognized
values.
More
info:
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type
:
string
kind
:
description
:
'
Kind
is
a
string
value
representing
the
REST
resource
this
object
represents.
Servers
may
infer
this
from
the
endpoint
the
client
submits
requests
to.
Cannot
be
updated.
In
CamelCase.
More
info:
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type
:
string
metadata
:
type
:
object
spec
:
description
:
DevOpsProjectSpec defines the desired state of DevOpsProject
type
:
object
status
:
description
:
DevOpsProjectStatus defines the observed state of DevOpsProject
type
:
object
type
:
object
version
:
v1alpha3
versions
:
-
name
:
v1alpha3
served
:
true
storage
:
true
status
:
acceptedNames
:
kind
:
"
"
plural
:
"
"
conditions
:
[]
storedVersions
:
[]
config/crds/devops
_v1alpha1_s2ibinary
.yaml
→
config/crds/devops
.kubesphere.io_s2ibinaries
.yaml
浏览文件 @
e86c27bc
---
apiVersion
:
apiextensions.k8s.io/v1beta1
apiVersion
:
apiextensions.k8s.io/v1beta1
kind
:
CustomResourceDefinition
kind
:
CustomResourceDefinition
metadata
:
metadata
:
annotations
:
controller-gen.kubebuilder.io/version
:
(unknown)
creationTimestamp
:
null
creationTimestamp
:
null
labels
:
controller-tools.k8s.io
:
"
1.0"
name
:
s2ibinaries.devops.kubesphere.io
name
:
s2ibinaries.devops.kubesphere.io
spec
:
spec
:
additionalPrinterColumns
:
additionalPrinterColumns
:
...
@@ -22,24 +24,29 @@ spec:
...
@@ -22,24 +24,29 @@ spec:
group
:
devops.kubesphere.io
group
:
devops.kubesphere.io
names
:
names
:
kind
:
S2iBinary
kind
:
S2iBinary
listKind
:
S2iBinaryList
plural
:
s2ibinaries
plural
:
s2ibinaries
singular
:
s2ibinary
scope
:
Namespaced
scope
:
Namespaced
subresources
:
{}
validation
:
validation
:
openAPIV3Schema
:
openAPIV3Schema
:
description
:
S2iBinary is the Schema for the s2ibinaries API
properties
:
properties
:
apiVersion
:
apiVersion
:
description
:
'
APIVersion
defines
the
versioned
schema
of
this
representation
description
:
'
APIVersion
defines
the
versioned
schema
of
this
representation
of
an
object.
Servers
should
convert
recognized
schemas
to
the
latest
of
an
object.
Servers
should
convert
recognized
schemas
to
the
latest
internal
value,
and
may
reject
unrecognized
values.
More
info:
https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
internal
value,
and
may
reject
unrecognized
values.
More
info:
https://git.k8s.io/community/contributors/devel/
sig-architecture/
api-conventions.md#resources'
type
:
string
type
:
string
kind
:
kind
:
description
:
'
Kind
is
a
string
value
representing
the
REST
resource
this
description
:
'
Kind
is
a
string
value
representing
the
REST
resource
this
object
represents.
Servers
may
infer
this
from
the
endpoint
the
client
object
represents.
Servers
may
infer
this
from
the
endpoint
the
client
submits
requests
to.
Cannot
be
updated.
In
CamelCase.
More
info:
https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
submits
requests
to.
Cannot
be
updated.
In
CamelCase.
More
info:
https://git.k8s.io/community/contributors/devel/
sig-architecture/
api-conventions.md#types-kinds'
type
:
string
type
:
string
metadata
:
metadata
:
type
:
object
type
:
object
spec
:
spec
:
description
:
S2iBinarySpec defines the desired state of S2iBinary
properties
:
properties
:
downloadURL
:
downloadURL
:
description
:
DownloadURL in KubeSphere
description
:
DownloadURL in KubeSphere
...
@@ -59,12 +66,18 @@ spec:
...
@@ -59,12 +66,18 @@ spec:
type
:
string
type
:
string
type
:
object
type
:
object
status
:
status
:
description
:
S2iBinaryStatus defines the observed state of S2iBinary
properties
:
properties
:
phase
:
phase
:
description
:
Phase is status of S2iBinary . Possible value is "Ready","UnableToDownload"
description
:
Phase is status of S2iBinary . Possible value is "Ready","UnableToDownload"
type
:
string
type
:
string
type
:
object
type
:
object
type
:
object
version
:
v1alpha1
version
:
v1alpha1
versions
:
-
name
:
v1alpha1
served
:
true
storage
:
true
status
:
status
:
acceptedNames
:
acceptedNames
:
kind
:
"
"
kind
:
"
"
...
...
config/crds/devops.kubesphere.io_s2ibuilders.yaml
浏览文件 @
e86c27bc
...
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1beta1
...
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1beta1
kind
:
CustomResourceDefinition
kind
:
CustomResourceDefinition
metadata
:
metadata
:
annotations
:
annotations
:
controller-gen.kubebuilder.io/version
:
(
devel
)
controller-gen.kubebuilder.io/version
:
(
unknown
)
creationTimestamp
:
null
creationTimestamp
:
null
name
:
s2ibuilders.devops.kubesphere.io
name
:
s2ibuilders.devops.kubesphere.io
spec
:
spec
:
...
...
config/crds/devops.kubesphere.io_s2ibuildertemplates.yaml
浏览文件 @
e86c27bc
...
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1beta1
...
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1beta1
kind
:
CustomResourceDefinition
kind
:
CustomResourceDefinition
metadata
:
metadata
:
annotations
:
annotations
:
controller-gen.kubebuilder.io/version
:
(
devel
)
controller-gen.kubebuilder.io/version
:
(
unknown
)
creationTimestamp
:
null
creationTimestamp
:
null
name
:
s2ibuildertemplates.devops.kubesphere.io
name
:
s2ibuildertemplates.devops.kubesphere.io
spec
:
spec
:
...
...
config/crds/devops.kubesphere.io_s2iruns.yaml
浏览文件 @
e86c27bc
...
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1beta1
...
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1beta1
kind
:
CustomResourceDefinition
kind
:
CustomResourceDefinition
metadata
:
metadata
:
annotations
:
annotations
:
controller-gen.kubebuilder.io/version
:
(
devel
)
controller-gen.kubebuilder.io/version
:
(
unknown
)
creationTimestamp
:
null
creationTimestamp
:
null
name
:
s2iruns.devops.kubesphere.io
name
:
s2iruns.devops.kubesphere.io
spec
:
spec
:
...
...
config/rbac/role.yaml
0 → 100644
浏览文件 @
e86c27bc
---
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
ClusterRole
metadata
:
creationTimestamp
:
null
name
:
manager-role
rules
:
-
apiGroups
:
-
crd.projectcalico.org
resources
:
-
clusterinformations
-
felixconfigurations
-
globalfelixconfigs
-
globalnetworkpolicies
-
globalnetworksets
-
hostendpoints
-
ipamblocks
-
ippools
-
networkpolicies
-
networksets
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
network.kubesphere.io
resources
:
-
namespacenetworkpolicies
-
workspacenetworkpolicies
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
tenant.kubesphere.io
resources
:
-
workspaces
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
pkg/apis/devops/v1alpha3/devopsproject_types_test.go
浏览文件 @
e86c27bc
...
@@ -27,13 +27,11 @@ import (
...
@@ -27,13 +27,11 @@ import (
func
TestStorageDevOpsProject
(
t
*
testing
.
T
)
{
func
TestStorageDevOpsProject
(
t
*
testing
.
T
)
{
key
:=
types
.
NamespacedName
{
key
:=
types
.
NamespacedName
{
Name
:
"foo"
,
Name
:
"foo"
,
Namespace
:
"default"
,
}
}
created
:=
&
DevOpsProject
{
created
:=
&
DevOpsProject
{
ObjectMeta
:
metav1
.
ObjectMeta
{
ObjectMeta
:
metav1
.
ObjectMeta
{
Name
:
"foo"
,
Name
:
"foo"
,
Namespace
:
"default"
,
}}
}}
g
:=
gomega
.
NewGomegaWithT
(
t
)
g
:=
gomega
.
NewGomegaWithT
(
t
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录