Skip to content

Commit

Permalink
Add changelog for 0.3.1 (#265)
Browse files Browse the repository at this point in the history
Signed-off-by: Jian Qiu <[email protected]>

Signed-off-by: Jian Qiu <[email protected]>
  • Loading branch information
qiujian16 authored Aug 23, 2022
1 parent f050413 commit 017918e
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 52 deletions.
53 changes: 10 additions & 43 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,53 +1,20 @@
[comment]: # ( Copyright Contributors to the Open Cluster Management project )
# Release Content
## Additions
- [deploy work to placement selected clusters](https://github.com/open-cluster-management-io/clusteradm/pull/247) @haoqing0110
- [add test that check manual bootstrap token](https://github.com/open-cluster-management-io/clusteradm/pull/191) @mgold1234
- [clusteradm: provide darwin arm64 binary](https://github.com/open-cluster-management-io/clusteradm/pull/204) @SataQiu
- [Chore: Introducing golangci-lint - make verify](https://github.com/open-cluster-management-io/clusteradm/pull/213) @yue9944882
- [Add proxy kubectl command](https://github.com/open-cluster-management-io/clusteradm/pull/219) @xuezhaojun
- [Doc: Adding more install approaches](https://github.com/open-cluster-management-io/clusteradm/pull/225) @yue9944882
- [Add the governance-policy-addon-controller](https://github.com/open-cluster-management-io/clusteradm/pull/229) @dhaiducek
N/A

## Breaking Changes
N/A

## Changes
- [Add yue9944882 as approver and ycyaoxdu as reviewer](https://github.com/open-cluster-management-io/clusteradm/pull/193) @qiujian16
- [upgrade to latest openshift/library-go](https://github.com/open-cluster-management-io/clusteradm/pull/194) @itdove
- [Upgrade to ginkgo v2](https://github.com/open-cluster-management-io/clusteradm/pull/203) @itdove
- [Stop using the GitHub API in the install script](https://github.com/open-cluster-management-io/clusteradm/pull/224) @mprahl
- [Add context](https://github.com/open-cluster-management-io/clusteradm/pull/244) @itdove
- [Update app addon CRDs](https://github.com/open-cluster-management-io/clusteradm/pull/246) @mikeshng
- [Add preflight checks](https://github.com/open-cluster-management-io/clusteradm/pull/250) @Promacanthu
- [use applier repo](https://github.com/open-cluster-management-io/clusteradm/pull/254) @itdove
- [Update README with an additional policy config-policy-controller example](https://github.com/open-cluster-management-io/clusteradm/pull/258) @mikeshng
- [Add dry run for create clusterset](https://github.com/open-cluster-management-io/clusteradm/pull/253) @IlonaShishov

## Bug Fixes
- [modify: help information](https://github.com/open-cluster-management-io/clusteradm/pull/189) @ycyaoxdu
- [add change line to make output clear](https://github.com/open-cluster-management-io/clusteradm/pull/192) @jichenjc
- [fix: use poll method to monitor namespace deletion](https://github.com/open-cluster-management-io/clusteradm/pull/195) @ycyaoxdu
- [Add not found into output when deleted work not found](https://github.com/open-cluster-management-io/clusteradm/pull/197) @jichenjc
- [add copyright check for .mk file](https://github.com/open-cluster-management-io/clusteradm/pull/199) @ycyaoxdu
- [Add WithCache and getCache](https://github.com/open-cluster-management-io/clusteradm/pull/200) @itdove
- [Use cache in ApplyCustomResources](https://github.com/open-cluster-management-io/clusteradm/pull/202) @itdove
- [Make some Variable and Method to be at public scope](https://github.com/open-cluster-management-io/clusteradm/pull/206) @mgold1234
- [change method and veriables to public scope in addon command.](https://github.com/open-cluster-management-io/clusteradm/pull/207) @mgold1234
- [cluster_name has been converted to cluster-name](https://github.com/open-cluster-management-io/clusteradm/pull/209) @panguicai008
- [fix clusteradm addon enable command unknown flag: --names](https://github.com/open-cluster-management-io/clusteradm/pull/211) @panguicai008
- [fix clusteradm join usage example](https://github.com/open-cluster-management-io/clusteradm/pull/212) @panguicai008
- [add bundler version into output](https://github.com/open-cluster-management-io/clusteradm/pull/215) @jichenjc
- [change method and veriables to public scope in clean command.](https://github.com/open-cluster-management-io/clusteradm/pull/216) @mgold1234
- [change method and veriables to public scope in clusterset_bind command.](https://github.com/open-cluster-management-io/clusteradm/pull/217) @mgold1234
- [fix: correct spelling of output table](https://github.com/open-cluster-management-io/clusteradm/pull/218) @vbelouso
- [change method and veriables to public scope in clusetset_set command.](https://github.com/open-cluster-management-io/clusteradm/pull/220) @mgold1234
- [change method and veriables to public scope in clusetset_unbind command.](https://github.com/open-cluster-management-io/clusteradm/pull/221) @mgold1234
- [Update PolicySet CRD to match propagator](https://github.com/open-cluster-management-io/clusteradm/pull/222) @JustinKuli
- [change method and veriables to public scope in create command.](https://github.com/open-cluster-management-io/clusteradm/pull/223) @mgold1234
- [inogre the vscode caches](https://github.com/open-cluster-management-io/clusteradm/pull/226) @xauthulei
- [Fix init messaging](https://github.com/open-cluster-management-io/clusteradm/pull/227) @dhaiducek
- [Update: proxy kubectl logs](https://github.com/open-cluster-management-io/clusteradm/pull/230) @xuezhaojun
- [Consistent flags/Fix spelling](https://github.com/open-cluster-management-io/clusteradm/pull/231) @dhaiducek
- [update wording to make error clear](https://github.com/open-cluster-management-io/clusteradm/pull/232) @jichenjc
- [prevent delete of default clusterset](https://github.com/open-cluster-management-io/clusteradm/pull/233) @jichenjc
- [show controller image in ./clusteradm get klusterlet-info](https://github.com/open-cluster-management-io/clusteradm/pull/237) @jichenjc
- [Add dry run for delete clusterset](https://github.com/open-cluster-management-io/clusteradm/pull/239) @jichenjc
- [Force developers to call Build()](https://github.com/open-cluster-management-io/clusteradm/pull/242) @itdove
- [Force developers to call Build()](https://github.com/open-cluster-management-io/clusteradm/pull/243) @itdove
- [show not exist when disable not-found addon](https://github.com/open-cluster-management-io/clusteradm/pull/241) @jichenjc
- [Update the Policy Addon controller permissions](https://github.com/open-cluster-management-io/clusteradm/pull/257) @mprahl
- [Load auth plugin for kube client](https://github.com/open-cluster-management-io/clusteradm/pull/263) @qiujian16
- [Fix sa token issue in 1.24](https://github.com/open-cluster-management-io/clusteradm/pull/252) @qiujian16

2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.3.0
v0.3.1
3 changes: 3 additions & 0 deletions test/e2e/clusteradm/joinhubscenario_bootstrsptoken_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ var _ = ginkgo.Describe("test clusteradm with bootstrap token", func() {
err = e2e.Clusteradm().Init(
"--use-bootstrap-token",
"--context", e2e.Cluster().Hub().Context(),
"--bundle-version=latest",
)
gomega.Expect(err).NotTo(gomega.HaveOccurred(), "clusteradm init error")

Expand All @@ -31,6 +32,7 @@ var _ = ginkgo.Describe("test clusteradm with bootstrap token", func() {
"--hub-token", e2e.CommandResult().Token(), "--hub-apiserver", e2e.CommandResult().Host(),
"--cluster-name", e2e.Cluster().ManagedCluster1().Name(),
"--wait",
"--bundle-version=latest",
"--force-internal-endpoint-lookup",
)
gomega.Expect(err).NotTo(gomega.HaveOccurred(), "managedcluster1 join error")
Expand Down Expand Up @@ -58,6 +60,7 @@ var _ = ginkgo.Describe("test clusteradm with bootstrap token", func() {
"--hub-token", e2e.CommandResult().Token(), "--hub-apiserver", e2e.CommandResult().Host(),
"--cluster-name", e2e.Cluster().ManagedCluster2().Name(),
"--wait",
"--bundle-version=latest",
"--force-internal-endpoint-lookup",
)
gomega.Expect(err).NotTo(gomega.HaveOccurred(), "managedcluster2 join error")
Expand Down
3 changes: 3 additions & 0 deletions test/e2e/clusteradm/joinhubscenario_sa_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ var _ = ginkgo.Describe("test clusteradm with service account", func() {
ginkgo.By("init hub with service account")
err = e2e.Clusteradm().Init(
"--context", e2e.Cluster().Hub().Context(),
"--bundle-version=latest",
)
gomega.Expect(err).NotTo(gomega.HaveOccurred(), "clusteradm init error")

Expand All @@ -30,6 +31,7 @@ var _ = ginkgo.Describe("test clusteradm with service account", func() {
"--hub-token", e2e.CommandResult().Token(), "--hub-apiserver", e2e.CommandResult().Host(),
"--cluster-name", e2e.Cluster().ManagedCluster1().Name(),
"--wait",
"--bundle-version=latest",
"--force-internal-endpoint-lookup",
)
gomega.Expect(err).NotTo(gomega.HaveOccurred(), "managedcluster1 join error")
Expand All @@ -54,6 +56,7 @@ var _ = ginkgo.Describe("test clusteradm with service account", func() {
"--hub-token", e2e.CommandResult().Token(), "--hub-apiserver", e2e.CommandResult().Host(),
"--cluster-name", e2e.Cluster().ManagedCluster2().Name(),
"--wait",
"--bundle-version=latest",
"--force-internal-endpoint-lookup",
)
gomega.Expect(err).NotTo(gomega.HaveOccurred(), "managedcluster2 join error")
Expand Down
2 changes: 2 additions & 0 deletions test/e2e/clusteradm/joinhubscenario_skip_approve_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ var _ = ginkgo.Describe("test clusteradm with manual bootstrap token", func() {
err = e2e.Clusteradm().Init(
"--timeout", "400",
"--context", e2e.Cluster().Hub().Context(),
"--bundle-version=latest",
)
gomega.Expect(err).NotTo(gomega.HaveOccurred(), "clusteradm init error")
time.Sleep(1000000)
Expand Down Expand Up @@ -71,6 +72,7 @@ var _ = ginkgo.Describe("test clusteradm with manual bootstrap token", func() {
"--hub-apiserver", e2e.CommandResult().Host(),
"--force-internal-endpoint-lookup",
"--cluster-name", e2e.Cluster().ManagedCluster1().Name(),
"--bundle-version=latest",
"--wait",
)

Expand Down
2 changes: 2 additions & 0 deletions test/e2e/clusteradm/joinhubscenario_timeout_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ var _ = ginkgo.Describe("test clusteradm with timeout", func() {
err = e2e.Clusteradm().Init(
"--timeout", "400",
"--context", e2e.Cluster().Hub().Context(),
"--bundle-version=latest",
)
gomega.Expect(err).NotTo(gomega.HaveOccurred(), "clusteradm init error")

Expand All @@ -30,6 +31,7 @@ var _ = ginkgo.Describe("test clusteradm with timeout", func() {
"--hub-token", e2e.CommandResult().Token(), "--hub-apiserver", e2e.CommandResult().Host(),
"--cluster-name", e2e.Cluster().ManagedCluster1().Name(),
"--wait",
"--bundle-version=latest",
"--force-internal-endpoint-lookup",
)
gomega.Expect(err).NotTo(gomega.HaveOccurred(), "managedcluster1 join error")
Expand Down
18 changes: 10 additions & 8 deletions test/e2e/clusteradm/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,29 @@ var _ = ginkgo.Describe("test clusteradm upgrade clustermanager and Klusterlets"

ginkgo.BeforeAll(func() {
ginkgo.By("reset e2e environment...")
err := e2e.ResetEnv()
err := e2e.ClearEnv()
gomega.Expect(err).NotTo(gomega.HaveOccurred())
err = e2e.ResetEnv()
gomega.Expect(err).NotTo(gomega.HaveOccurred())
})

var err error

ginkgo.It("run cluster manager upgrade version 0.8.0 ", func() {
ginkgo.It("run cluster manager upgrade version latest ", func() {
err = e2e.Clusteradm().Upgrade(
"clustermanager",
"--bundle-version", "0.8.0",
"--bundle-version", "latest",
"--context", e2e.Cluster().Hub().Context(),
)
})
gomega.Expect(err).NotTo(gomega.HaveOccurred(), "clusteradm upgrade error")

ginkgo.It("run klusterlet upgrade version 0.8.0 ", func() {
gomega.Expect(err).NotTo(gomega.HaveOccurred(), "clusteradm upgrade error")

err = e2e.Clusteradm().Upgrade(
"klusterlet",
"--bundle-version", "0.8.0",
"--bundle-version", "latest",
"--context", e2e.Cluster().ManagedCluster1().Context(),
)

gomega.Expect(err).NotTo(gomega.HaveOccurred(), "klusterlet upgrade error")
})
gomega.Expect(err).NotTo(gomega.HaveOccurred(), "klusterlet upgrade error")
})
1 change: 1 addition & 0 deletions test/e2e/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ func (tec *TestE2eConfig) ResetEnv() error {
err := tec.Clusteradm().Init(
"--context", tec.Cluster().Hub().Context(),
"--use-bootstrap-token",
"--bundle-version=latest",
"--wait",
)
if err != nil {
Expand Down

0 comments on commit 017918e

Please sign in to comment.