312 Commits

Author SHA1 Message Date
hongming
48f80d8c1a fix: Synchronize users to LDAP
Signed-off-by: hongming <talonwan@yunify.com>
2020-07-02 15:43:21 +08:00
Duan Jiong
655fd26cbf fix nsnp webhook to validate all fileds in it
such as ipblock, service.
And the crd openAPIV3Schema could not validate all scenarios

Signed-off-by: Duan Jiong <djduanjiong@gmail.com>
2020-06-28 09:44:05 +08:00
zryfish
ad1471a4a7 only run virtualservice and destinationrule controller when servicemesh is enabled (#2243) 2020-06-23 11:48:50 +08:00
zryfish
5d9542025a create openpitrix runtime when new cluster added (#2204) 2020-06-15 23:17:16 +08:00
KubeSphere CI Bot
bef5eb46b1 Merge pull request #2164 from wansir/controller
improve multicluster resource controller
2020-06-15 22:43:40 +08:00
hongming
4fcaa78b45 improve multicluster resource controller
Signed-off-by: hongming <talonwan@yunify.com>
2020-06-15 21:40:24 +08:00
KubeSphere CI Bot
977e30700e Merge pull request #2187 from wanjunlei/master
add audit components
2020-06-15 11:40:40 +08:00
wanjunlei
b96537b27f delete auditing controller 2020-06-13 17:42:27 +08:00
Zhengyi Lai
3778abf767 Cleanup namespace controller 2020-06-13 00:32:13 +08:00
wanjunlei
356560ac74 resolve conversation
formater

Signed-off-by: wanjunlei <wanjunlei@yunify.com>

debug

debug

Signed-off-by: wanjunlei <wanjunlei@yunify.com>
2020-06-12 11:19:27 +08:00
pengcong06
55354bf20d add list events 2020-06-10 21:28:07 +08:00
wanjunlei
4cb84de44d add audit components
Signed-off-by: wanjunlei <wanjunlei@yunify.com>

debug

add test

add test

add test
2020-06-10 20:21:07 +08:00
zryfish
e7c5c5a1f3 fix namespace controller crash when openpitrix is not enabled (#2167) 2020-06-07 23:15:43 +08:00
zryfish
9b16c0589c fix openpitrix return non nil client when enpoint is empty (#2165) 2020-06-07 20:00:27 +08:00
KubeSphere CI Bot
eb99025fe7 Merge pull request #2149 from min-zh/snapshot
storage capability
2020-06-04 12:47:37 +08:00
hongming
4e418bbe03 fix: clusterrolebinding controller bug
Signed-off-by: hongming <talonwan@yunify.com>
2020-06-04 12:18:00 +08:00
zhangmin
c6158a7cd3 storage capability 2020-06-04 10:36:13 +08:00
KubeSphere CI Bot
1882b20e6e Merge pull request #2132 from wansir/role-templates
update user's role templates API
2020-06-04 00:03:36 +08:00
hongming
ce3cd21a76 update user's role templates API
Signed-off-by: hongming <talonwan@yunify.com>
2020-06-03 23:49:49 +08:00
zryfish
ee5afd7d44 Merge branch 'master' into options 2020-06-03 11:14:42 +08:00
KubeSphere CI Bot
b681193c1f Merge pull request #2129 from wanjunlei/master
add auditing events search api
2020-06-01 11:45:37 +08:00
zryfish
b9c2ebc97c fix jaeger api endpoint bug (#2140) 2020-05-30 23:54:21 +08:00
hongming
9699f6c566 fix: crash if configfile not provide
Signed-off-by: hongming <talonwan@yunify.com>
2020-05-30 10:27:43 +08:00
root
951c31189a add auditing events search api 2020-05-28 09:55:14 +08:00
KubeSphere CI Bot
c104516ce0 Merge pull request #2111 from wansir/update-copyright
copyright license update
2020-05-25 17:17:34 +08:00
KubeSphere CI Bot
19d546a973 Merge pull request #2106 from wansir/master
fix user's resource lifecycle
2020-05-25 15:15:34 +08:00
hongming
85b61dce7c copyright license update
Signed-off-by: hongming <talonwan@yunify.com>
2020-05-25 14:51:24 +08:00
hongming
57acaeba41 use ownerReference control the lifecycle of user's kubeconfig and kubectl pod
Signed-off-by: hongming <talonwan@yunify.com>
2020-05-23 21:26:28 +08:00
KubeSphere CI Bot
5a89ce7394 Merge pull request #2056 from wansir/master
improve IAM module
2020-05-23 21:02:35 +08:00
hongming
8f93266ec0 improve IAM module
Signed-off-by: hongming <talonwan@yunify.com>
2020-05-23 20:48:19 +08:00
Ray Zhou
66a312a1e0 Fix grammer errors in code comments 2020-05-20 20:31:19 +08:00
junotx
8f5ca7673d add events search apis 2020-05-15 10:28:12 +08:00
pengcong06
070aa863fb init opClient 2020-05-14 14:14:30 +08:00
zryfish
18ab887640 add cluster and crd to resources api group (#2053) 2020-05-08 17:30:15 +08:00
zhangmin
4f17b7a07f volume snapshot 2020-05-07 10:47:44 +08:00
zryfish
31436b451d fix multicluster options (#2037) 2020-04-29 14:36:40 +08:00
KubeSphere CI Bot
566ed4d4b9 Merge pull request #2012 from duanjiong/network-policy
Network policy
2020-04-29 10:44:27 +08:00
Duan Jiong
4fb9d84fea allow dns traffic and host node traffic
Signed-off-by: Duan Jiong <djduanjiong@gmail.com>
2020-04-28 10:21:58 +08:00
Duan Jiong
d3bdcd0465 network: support network isolate
Add new crd to convert kubesphere network policy to k8s network policy, and then other network
plugin will do the rest work.

Use  cache.go from calico project's kube-controller,  it aim to  sync nsnp with k8s np, delete unused np, and relieve the pressure on k8s restful client.

If you want higher performance, you can implement interface  NsNetworkPolicyProvider in pkg/controller/provider/namespace_np.go.

Signed-off-by: Duan Jiong <djduanjiong@gmail.com>
2020-04-28 10:21:50 +08:00
hongming
b7a2705ac9 Merge remote-tracking branch 'upstream/dev' into dev
# Conflicts:
#	go.mod
#	pkg/apiserver/apiserver.go
#	pkg/apiserver/config/config.go
2020-04-28 00:52:30 +08:00
hongming
7db2ba662c migrate legacy API
Signed-off-by: hongming <talonwan@yunify.com>
2020-04-28 00:45:12 +08:00
zryfish
5a3eb651f3 change cluster schema (#2026)
* change cluster schema

* change cluster schema
2020-04-27 17:34:02 +08:00
Zhengyi Lai
8ad17a4648 Add network configuration to apiserver/config 2020-04-17 23:27:57 +08:00
runzexia
052af22761 regenerate 2020-04-15 11:37:52 +08:00
runzexia
d8259160b8 Merge branch 'dev' into devops-refactor
# Conflicts:
#	Makefile
#	api/api-rules/violation_exceptions.list
#	api/openapi-spec/swagger.json
#	cmd/controller-manager/app/controllers.go
#	hack/generate_client.sh
#	pkg/apis/cluster/v1alpha1/openapi_generated.go
#	pkg/client/informers/externalversions/generic.go
#	pkg/kapis/tenant/v1alpha2/register.go
#	pkg/models/tenant/devops.go
#	pkg/models/tenant/workspaces.go
#	pkg/simple/client/devops/fake/fakedevops.go
#	tools/cmd/crd-doc-gen/main.go
2020-04-15 11:33:05 +08:00
runzexia
9a6ba04a37 clean old devops code
todo impl use informer

Signed-off-by: runzexia <runzexia@yunify.com>
2020-04-15 11:03:08 +08:00
zryfish
372a52e70e monitor: add tests
Signed-off-by: huanggze <loganhuang@yunify.com>
2020-04-13 09:37:37 +08:00
hongming
5ac915ad2e Merge remote-tracking branch 'upstream/dev' into dev
# Conflicts:
#	pkg/apis/iam/v1alpha2/user_types.go
2020-04-10 15:49:31 +08:00
hongming
a3d3c8e427 update
Signed-off-by: hongming <talonwan@yunify.com>
2020-04-10 15:41:23 +08:00
hongming
0e814bb5e4 add iam crd
Signed-off-by: hongming <talonwan@yunify.com>
2020-04-10 04:05:23 +08:00