Commit Graph

339 Commits

Author SHA1 Message Date
jwcesign ba1a046c9c Create /usr/local/bin if it doesn't exists when install cli
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-02-06 11:17:19 +08:00
yanggang ae97a088ff
update alpine version to /etc/apk/repositories
Signed-off-by: yanggang <gang.yang@daocloud.io>
2023-01-26 22:23:14 +08:00
calvin 7317af3880 build karmada operator image
Signed-off-by: calvin <wen.chen@daocloud.io>
2022-12-28 15:26:39 +08:00
karmada-bot c8954de2b0
Merge pull request #2956 from helen-frank/feature/joinUseCurrentContext
Karmadactl join: default use current context
2022-12-23 16:32:48 +08:00
karmada-bot 15287fec57
Merge pull request #2961 from Fish-pro/feature/localdown
Add a script to remove the karmada started by local-up-karmada.sh
2022-12-20 18:06:46 +08:00
chen zechun f3b6321444 Add a script to remove the karmada script started by local-up-karmada.sh
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-20 15:48:16 +08:00
wlp1153468871 84b313de1e update .import-aliases
Signed-off-by: wlp1153468871 <luping.wei@daocloud.io>
2022-12-19 18:29:54 +08:00
helen c47b53648b Karmadactl join: default use current context
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-12-16 16:49:17 +08:00
calvin0327 49b71d3826 add karmada operator apis
Signed-off-by: calvin0327 <wen.chen@daocloud.io>
Co-Authored-By: carlory <baofa.fan@daocloud.io>
Co-Authored-By: chaunceyjiang <chaunceyjiang@gmail.com>
Co-Authored-By: lixingchenDaoCloud <89956700+lixingchenDaoCloud@users.noreply.github.com>
Co-Authored-By: wawa0210 <xiao.zhang@daocloud.io>
2022-12-15 16:30:07 +08:00
qingwave 74454adde7 remove temp dir when exit in scripts
Signed-off-by: qingwave <isguory@gmail.com>
2022-12-09 01:58:26 +00:00
zhuzhenghao 915b1857c9 Move to registry.k8s.io
Signed-off-by: zhuzhenghao <zhenghao.zhu@daocloud.io>
2022-11-29 18:55:22 +08:00
karmada-bot c8982aaa53
Merge pull request #2866 from ikaven1024/fix-image-dirty
fix dirty is not added in docker image tag
2022-11-26 09:40:08 +08:00
jwcesign 0f93375318 Add gofmt script
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-25 16:56:05 +08:00
yingjinhui d64d82c62f fix dirty is not added in docker image tag
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-11-24 20:27:34 +08:00
karmada-bot e25547dcf7
Merge pull request #2857 from RainbowMango/pr_update_go_for_14
Update Golang version from v1.18.3 to v1.19.3
2022-11-24 09:24:06 +08:00
RainbowMango f8646f5d91 Update Golang version from v1.18.3 to v1.19.3
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-11-23 19:47:12 +08:00
Poor12 1dc4c83e16 fix deploy karmada-apiserver error by loadBalancer
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-23 17:51:14 +08:00
RainbowMango 37ba914420 quick fix for StandardStorage interface extension
quick fix for kubectl apply options validation

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-11-23 09:52:48 +08:00
jwcesign 6fbcf8cf9d Change repo to dockerhub
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-14 11:30:02 +08:00
tanberBro 825081f900 lifted-gen.go add flag parse
Signed-off-by: tanberBro <pengfei.song@daocloud.io>
2022-11-08 19:04:37 +08:00
chaunceyjiang 1a6b35649c replace the ioutil by the os and io
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-11-01 14:15:26 +08:00
RainbowMango c0138e7a3d install mockgen from vendor
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-10-25 18:10:38 +08:00
jwcesign f954b44c22 UT: import gomock to make write ut easier
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-10-25 10:34:35 +08:00
Poor12 77a06e1c96 fix line error
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-21 16:17:10 +08:00
karmada-bot 69829f677c
Merge pull request #2561 from Poor12/gen-docs
Add gen-docs scripts
2022-10-20 16:54:14 +08:00
Poor12 1414d7b9ba add gen-docs
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-20 15:35:46 +08:00
raymondmiaochaoyue a7f4305fe7 reorder `make verify`
Signed-off-by: raymondmiaochaoyue <raymondmiaochaoyue@didiglobal.com>
2022-10-17 15:12:40 +08:00
Poor12 1265b4e4b4 add scripts to install cli tools
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-13 16:22:27 +08:00
RainbowMango a52ae325f9 Update golangci-lint from 1.46.2 to 1.49.0
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-10-08 08:53:13 +08:00
chen zechun 828e2c945f Modify the wrong noun for karmadactl
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-10-02 22:55:41 +08:00
RainbowMango a30b097f9d Put ikaven1024 to approver list
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-09-29 17:21:55 +08:00
raymondmiaochaoyue f4fc3d1480 1. Support deploy karmada-scheduler-estimator in physical machine.
2. remove unnecessary sudo

Signed-off-by: raymondmiaochaoyue <raymondmiaochaoyue@didiglobal.com>
2022-09-26 16:25:16 +08:00
karmada-bot 2a0610eb00
Merge pull request #2565 from loicalbertin/support_http_proxies_in_dev_by_adding_generic_docker_build_params
Add a new env var `DOCKER_BUILD_ARGS`
2022-09-22 20:11:51 +08:00
Albertin Loic 283001cd44
Add a new env var `DOCKER_BUILD_ARGS`
This env var is used to provide additional arguments to the docker
build command

Signed-off-by: Albertin Loic <loic.albertin@atos.net>
2022-09-22 11:37:20 +02:00
jwcesign abf026a691 Disable webhook-mode for metallb
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-09-22 17:03:56 +08:00
jwcesign 4f1436d8f9 Update kind to 0.15 to support deploy k8s 1.25 environment
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-09-21 18:03:10 +08:00
karmada-bot d5eaf85054
Merge pull request #2536 from jwcesign/master
Add user-specific cluster name support
2022-09-19 18:43:50 +08:00
karmada-bot 71212fbe8c
Merge pull request #2533 from mrningyang/fix-util.sh-branch
fix a gramma that is not accepted by GNU `sed` command
2022-09-19 16:39:48 +08:00
jwcesign b1553e7331 Add user-specific cluster name support
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-09-19 15:10:27 +08:00
mrningyang a29f42ac98 fix bug of hack/util.sh,
sed -i '' is invalid on GNU sed, change it to sed -i''

Signed-off-by: mrningyang <mrningyangning@didiglobal.com>
2022-09-19 11:39:57 +08:00
carlory b987910a6b remove service accounts for karmada components except for karmada-agent
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-09-17 23:14:41 +08:00
carlory c247537d66 karmada-controller-manager removes unnecessary permissions
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-09-13 21:22:06 +08:00
raymondmiaochaoyue cbd0907745 1. --flatten to embed certificate
2. --context --minify to switch context

Signed-off-by: raymondmiaochaoyue <raymondmiaochaoyue@didichuxing.com>
2022-09-07 19:40:11 +08:00
karmada-bot 71d037be0b
Merge pull request #2474 from ikaven1024/fix_deploy
do not switch context when deploy karmada
2022-09-06 11:56:07 +08:00
yingjinhui 17789e05a9 add karmadaContext to e2e runner.
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-09-06 02:08:18 +08:00
wangyanzhao 55ee296b13 do not switch context when deploy karmada
Signed-off-by: wangyanzhao <wangyanzhao@cambricon.com>
2022-09-05 11:08:26 +08:00
yy158775 33bae0f456 update cfssl version to v1.6.2
Signed-off-by: yy158775 <1584616775@qq.com>
2022-09-01 15:54:40 +08:00
RainbowMango f500d6b4f2 Fix broken links in cherry-pick script
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-25 10:22:13 +08:00
lonelyCZ 3e89d68a23 Standardize the generation and management of certificates
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-08-16 15:45:56 +08:00
changzhen 2457cee11c update import-aliases
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-04 15:47:25 +08:00
joengjyu 9c29991edf chore: simplify build scripts for kubectl apply when handling kustomization resources
Signed-off-by: joengjyu <joengjyu@gmail.com>
2022-07-24 23:51:37 +08:00
carlory dcafcbe3d3 fix wrong GO_LDFLAGS when the git tree status is dirty
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-20 22:31:30 +08:00
Kinzhi aa2d2d54ca Fixed dockerfile line feed problem
Signed-off-by: Kinzhi <wei.wang@daocloud.io>
2022-07-07 18:35:05 +08:00
karmada-bot 3bde19372c
Merge pull request #2109 from RainbowMango/pr_hackowners
Put ikaven1024 onto the hack owner list
2022-07-04 09:25:27 +08:00
duanmeng 7113ae2c21 fix comments error in hack
Signed-off-by: duanmeng <duanmeng_yewu@cmss.chinamobile.com>
2022-07-03 17:45:09 +08:00
RainbowMango ded56196b0 Put ikaven1024 onto the hack owner list
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-07-02 17:52:48 +08:00
changzhen 375f0d3c7d upgrade-kind-version
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-06-30 19:12:04 +08:00
karmada-bot ee72948ead
Merge pull request #2063 from calvin0327/add-localup-healthcheck
wait cluster status to be ready after exec local-up-karmada.sh
2022-06-28 15:10:20 +08:00
karmada-bot 578961ea11
Merge pull request #2061 from ikaven1024/pr-lifted
add lifted doc
2022-06-26 19:22:19 +08:00
calvin0327 082758937f wait cluster status to be ready at exec local-up-karmada.sh
Signed-off-by: calvin0327 <wen.chen@daocloud.io>
2022-06-25 17:09:23 +08:00
yingjinhui 085ecd4d14 add lifted doc
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-06-25 15:42:27 +08:00
RainbowMango 8ba8d16cd3 Fixed the lint warning(deprecated methods)
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-06-25 15:01:30 +08:00
RainbowMango 1293a604f8 Update Kubernetes dependencies to v1.24.2
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-06-25 14:36:43 +08:00
RainbowMango cb11a40d8f Update dependencies go to 1.18.3
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-06-20 14:23:05 +08:00
carlory 8b30fd2de2 add opensearch script for a developing purpose
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-06-14 14:24:30 +08:00
calvin0327 791208bf0a modify the chart dir
Signed-off-by: calvin0327 <wen.chen@daocloud.io>
2022-06-10 17:57:18 +08:00
Poor12 29054e41ac Improve docs about helm chart
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-06-10 16:00:08 +08:00
bruce 0c968c87e6 do proxy setting in China mainland when installing Karmada from source
Signed-off-by: bruce <zhangyongxi_yewu@cmss.chinamobile.com>
2022-06-02 11:17:39 +08:00
karmada-bot cc74a42322
Merge pull request #1905 from Poor12/add-script
Add package helm chart scripts
2022-05-28 19:07:46 +08:00
Poor12 fafaa77aae add package helm chart scripts
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-05-28 18:22:08 +08:00
lonelyCZ bc45915bf3 Add karmada-search API documents
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-05-28 17:23:37 +08:00
karmada-bot 9a72c70085
Merge pull request #1846 from ikaven1024/pr-release
[refactor] add release to Makefile
2022-05-23 11:22:41 +08:00
karmada-bot 4d5428e798
Merge pull request #1843 from XiShanYongYe-Chang/collect-pull-mode-cluster-logs
Collect pull mode cluster logs for E2E
2022-05-20 12:04:48 +08:00
yingjinhui 9aa9f9e298 [refactor] add release to Makefile
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-05-20 11:45:14 +08:00
changzhen 284ab90a0d collect pull mode cluster logs
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-20 10:43:11 +08:00
karmada-bot 83a13b2ac5
Merge pull request #1735 from lonelyCZ/pr-undeploy-agent
Add a script to undeploy karmada agent from a member cluster
2022-05-19 21:07:48 +08:00
changzhen 3e217b0249 add karmada-search fabric
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-17 09:24:04 +08:00
hanweisen 9af6fd8a8a fix 1769 karmada-agent build twice when execute local-up-karmada.sh
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-05-14 21:48:38 +08:00
chaunceyjiang de9ca2d166 compatible with mac os
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-05-12 21:21:56 +08:00
karmada-bot 3e057819f5
Merge pull request #1778 from chaunceyjiang/1772
use member-cluster-context correctly
2022-05-12 11:53:40 +08:00
karmada-bot df60b85ff3
Merge pull request #1682 from ikaven1024/pr-lifted
add update-lifted and verify-lifted
2022-05-12 11:51:42 +08:00
yingjinhui 568a22a79e add update-lifted and verify-lifted
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-05-12 10:43:35 +08:00
chaunceyjiang 58695531b4 use member-cluster-context correctly
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-05-12 10:12:54 +08:00
yingjinhui 285fb81de0 fix readonly variable error in `docker.sh`
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-05-11 17:34:02 +08:00
yingjinhui adf26e7202 speed up docker build
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-05-11 10:42:21 +08:00
karmada-bot feb6f7bd3a
Merge pull request #1756 from AllenZMC/revert
revert time zone interpretation for local-up-karmada.sh
2022-05-10 09:17:31 +08:00
AllenZMC 5a10a17230 revert time zone interpretation for local-up-karmada.sh
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-05-09 21:53:40 +08:00
RainbowMango 8bfb5783de Bump controller-tools to 0.8.0
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-05-07 23:32:03 +08:00
karmada-bot 5c30d44677
Merge pull request #1731 from ikaven1024/pr-codegen
codegen will update in repository
2022-05-07 18:06:28 +08:00
karmada-bot 2974563c6a
Merge pull request #1726 from XiShanYongYe-Chang/verify-crdgen-for-examples
verify crdgen and codegen for examples directory
2022-05-07 15:28:26 +08:00
lonelyCZ b14f420eb2 Add a script to undeploy karmada agent from a member cluster
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-05-07 14:31:06 +08:00
YasongLi da68d952e1
Add a CRD for the cached member cluster and resource scope. (#1674)
* Add a CRD named ClusterCache for the cached member cluster and resource scope

Co-authored-by: liys87x <liyasong1987x@gmail.com>
Signed-off-by: huntsman_ly <huntsman_ly@sina.com>

* set resource scoped to cluster-scoped

Co-authored-by: liys87x <liyasong1987x@gmail.com>
Signed-off-by: huntsman_ly <huntsman_ly@sina.com>

* Change the group name to search.karmada.io
Change the kind name to ResourceRegistry
Remove the CachePhase filed; add Conditions

Co-authored-by: liys87x <liyasong1987x@gmail.com>
Signed-off-by: huntsman_ly <huntsman_ly@sina.com>

Co-authored-by: huntsman_ly <huntsman_ly@sina.com>
2022-05-07 12:28:27 +08:00
karmada-bot ba0d7dc786
Merge pull request #1676 from XiShanYongYe-Chang/install-metallb
Creating Loadbalancer Type Service by Installing the Metallb
2022-05-07 10:27:25 +08:00
yingjinhui b17ed0c63d codegen will update in repository
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-05-06 19:13:00 +08:00
karmada-bot f55e898b75
Merge pull request #1656 from my-git9/test2
Add time zone interpretation for local-up-karmada.sh
2022-05-06 10:48:26 +08:00
wuyingjun ca303292ef code optimization : use make instead of go build on docker build stage
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-05-05 20:48:37 +08:00
changzhen 030424612a verify crdgen and codegen for examples/customresourceinterpreter/apis directory
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-05 11:25:18 +08:00
wuyingjun 919b224613 clear global resources while undeploy cluster
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-05-04 13:54:27 +08:00
wuyingjun 10f442f5fb [fix] add execute permission to hack/version.sh
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-05-01 13:57:22 +08:00
xin.li e3af1b15fb add timezone
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-04-28 22:11:04 +08:00