From 4a6fff7b970121c35d76bc24b4b446b62ff2eb87 Mon Sep 17 00:00:00 2001 From: Daniel Lohse Date: Sun, 24 Jan 2021 07:13:55 +0100 Subject: [PATCH 1/3] Update static deployment manifest --- deploy/operator.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy/operator.yaml b/deploy/operator.yaml index 793f285..ace1411 100644 --- a/deploy/operator.yaml +++ b/deploy/operator.yaml @@ -436,6 +436,8 @@ spec: env: - name: ENABLE_NODECONFIG_FILE_MANAGEMENT value: "true" + - name: NODECONFIG_FILE_LOCATION + value: /etc/k3osconfig.yaml - name: NODE_NAME valueFrom: fieldRef: @@ -444,7 +446,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: ghcr.io/annismckenzie/k3os-config-operator:v0.2.0 + image: ghcr.io/annismckenzie/k3os-config-operator:v0.3.0 name: manager resources: limits: From 86517919c6cb6688251dc5c5424f56d552e26012 Mon Sep 17 00:00:00 2001 From: Daniel Lohse Date: Sun, 24 Jan 2021 07:15:57 +0100 Subject: [PATCH 2/3] Increase version to v0.3.0 --- README.md | 2 +- config/release/kustomization.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ea35e8d..fc60bd7 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ That Kubernetes operator doesn't exist. At least, it didn't until now. 🤠 ## Installation ```sh - kubectl apply -f https://raw.githubusercontent.com/annismckenzie/k3os-config-operator/v0.2.0/deploy/operator.yaml + kubectl apply -f https://raw.githubusercontent.com/annismckenzie/k3os-config-operator/v0.3.0/deploy/operator.yaml ``` diff --git a/config/release/kustomization.yaml b/config/release/kustomization.yaml index 875a2ec..dedeb9a 100644 --- a/config/release/kustomization.yaml +++ b/config/release/kustomization.yaml @@ -6,4 +6,4 @@ bases: images: - name: ghcr.io/annismckenzie/k3os-config-operator - newTag: v0.2.0 + newTag: v0.3.0 From 7ee1204882efcd1254eae08cb62e98dcf9123147 Mon Sep 17 00:00:00 2001 From: Daniel Lohse Date: Sun, 24 Jan 2021 07:33:41 +0100 Subject: [PATCH 3/3] Add changelog generation using the awesome github-changelog-generator project :tada: :tada: :tada: --- .github_changelog_generator | 2 + CHANGELOG.md | 86 +++++++++++++++++++++++++++++++++++++ Makefile | 5 +++ 3 files changed, 93 insertions(+) create mode 100644 .github_changelog_generator create mode 100644 CHANGELOG.md diff --git a/.github_changelog_generator b/.github_changelog_generator new file mode 100644 index 0000000..f40734e --- /dev/null +++ b/.github_changelog_generator @@ -0,0 +1,2 @@ +unreleased=true +future-release=v0.3.0 diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..59e1867 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,86 @@ +# Changelog + +## [v0.3.0](https://github.com/annismckenzie/k3os-config-operator/tree/v0.3.0) (2021-01-24) + +[Full Changelog](https://github.com/annismckenzie/k3os-config-operator/compare/v0.2.0...v0.3.0) + +**Implemented enhancements:** + +- Add e2e test suite [\#27](https://github.com/annismckenzie/k3os-config-operator/issues/27) + +**Merged pull requests:** + +- Add missing config file sync feature to the README [\#39](https://github.com/annismckenzie/k3os-config-operator/pull/39) ([annismckenzie](https://github.com/annismckenzie)) +- Add Go Report Card badge [\#37](https://github.com/annismckenzie/k3os-config-operator/pull/37) ([annismckenzie](https://github.com/annismckenzie)) +- Stop skipping tests on the main branch [\#36](https://github.com/annismckenzie/k3os-config-operator/pull/36) ([annismckenzie](https://github.com/annismckenzie)) +- Add coverage status badge to README [\#35](https://github.com/annismckenzie/k3os-config-operator/pull/35) ([annismckenzie](https://github.com/annismckenzie)) +- Upgrade k8s.io dependencies: controller-runtime & client libraries [\#34](https://github.com/annismckenzie/k3os-config-operator/pull/34) ([annismckenzie](https://github.com/annismckenzie)) +- Add e2e test suite [\#29](https://github.com/annismckenzie/k3os-config-operator/pull/29) ([annismckenzie](https://github.com/annismckenzie)) +- Add roadmap [\#26](https://github.com/annismckenzie/k3os-config-operator/pull/26) ([annismckenzie](https://github.com/annismckenzie)) + +## [v0.2.0](https://github.com/annismckenzie/k3os-config-operator/tree/v0.2.0) (2021-01-11) + +[Full Changelog](https://github.com/annismckenzie/k3os-config-operator/compare/v0.1.2...v0.2.0) + +**Implemented enhancements:** + +- Allow node config file management [\#12](https://github.com/annismckenzie/k3os-config-operator/issues/12) +- Add node config file management [\#13](https://github.com/annismckenzie/k3os-config-operator/pull/13) ([annismckenzie](https://github.com/annismckenzie)) + +**Fixed bugs:** + +- Already applied labels not skipping node updates correctly [\#14](https://github.com/annismckenzie/k3os-config-operator/issues/14) + +**Closed issues:** + +- Add Dependabot [\#16](https://github.com/annismckenzie/k3os-config-operator/issues/16) + +**Merged pull requests:** + +- Release v0.2.0 [\#25](https://github.com/annismckenzie/k3os-config-operator/pull/25) ([annismckenzie](https://github.com/annismckenzie)) +- Bump k8s.io dependencies \(api, apimachinery, client-go\) to v0.20.1 [\#24](https://github.com/annismckenzie/k3os-config-operator/pull/24) ([annismckenzie](https://github.com/annismckenzie)) +- Run Go tests via GitHub Actions [\#23](https://github.com/annismckenzie/k3os-config-operator/pull/23) ([annismckenzie](https://github.com/annismckenzie)) +- Bump github.com/onsi/gomega from 1.10.2 to 1.10.4 [\#19](https://github.com/annismckenzie/k3os-config-operator/pull/19) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Bump github.com/onsi/ginkgo from 1.14.1 to 1.14.2 [\#18](https://github.com/annismckenzie/k3os-config-operator/pull/18) ([dependabot[bot]](https://github.com/apps/dependabot)) +- Add Dependabot [\#17](https://github.com/annismckenzie/k3os-config-operator/pull/17) ([annismckenzie](https://github.com/annismckenzie)) + +## [v0.1.2](https://github.com/annismckenzie/k3os-config-operator/tree/v0.1.2) (2021-01-09) + +[Full Changelog](https://github.com/annismckenzie/k3os-config-operator/compare/v0.1.1...v0.1.2) + +**Fixed bugs:** + +- Already applied labels not skipping node updates [\#15](https://github.com/annismckenzie/k3os-config-operator/pull/15) ([annismckenzie](https://github.com/annismckenzie)) + +## [v0.1.1](https://github.com/annismckenzie/k3os-config-operator/tree/v0.1.1) (2021-01-09) + +[Full Changelog](https://github.com/annismckenzie/k3os-config-operator/compare/v0.1.0...v0.1.1) + +**Implemented enhancements:** + +- Add static deployment manifests [\#6](https://github.com/annismckenzie/k3os-config-operator/issues/6) + +**Fixed bugs:** + +- Cannot keep removed taint in the config file [\#10](https://github.com/annismckenzie/k3os-config-operator/issues/10) +- Check taints to be removed against the existing taints [\#11](https://github.com/annismckenzie/k3os-config-operator/pull/11) ([annismckenzie](https://github.com/annismckenzie)) + +## [v0.1.0](https://github.com/annismckenzie/k3os-config-operator/tree/v0.1.0) (2021-01-08) + +[Full Changelog](https://github.com/annismckenzie/k3os-config-operator/compare/e4411aef5386a04f2fb2821bce8ec2ef822c667c...v0.1.0) + +**Implemented enhancements:** + +- Sync labels and taints [\#5](https://github.com/annismckenzie/k3os-config-operator/issues/5) +- Sync node labels and taints [\#4](https://github.com/annismckenzie/k3os-config-operator/pull/4) ([annismckenzie](https://github.com/annismckenzie)) +- Build and push image to GitHub Container Registry [\#3](https://github.com/annismckenzie/k3os-config-operator/pull/3) ([annismckenzie](https://github.com/annismckenzie)) +- Initialize K3OSConfig CRD [\#2](https://github.com/annismckenzie/k3os-config-operator/pull/2) ([annismckenzie](https://github.com/annismckenzie)) +- Initial version [\#1](https://github.com/annismckenzie/k3os-config-operator/pull/1) ([annismckenzie](https://github.com/annismckenzie)) + +**Merged pull requests:** + +- Add static deployment manifests [\#7](https://github.com/annismckenzie/k3os-config-operator/pull/7) ([annismckenzie](https://github.com/annismckenzie)) + + + +\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* diff --git a/Makefile b/Makefile index 3a4a3fa..d06bc0d 100644 --- a/Makefile +++ b/Makefile @@ -55,6 +55,11 @@ render-static-manifests: manifests: controller-gen $(CONTROLLER_GEN) $(CRD_OPTIONS) rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases +update-changelog: + @ docker run -it --rm \ + -v "$(shell pwd)":/usr/local/src/your-app ferrarimarco/github-changelog-generator \ + --user annismckenzie --project k3os-config-operator --token "${CHANGELOG_GITHUB_TOKEN}" + # Run go fmt against code fmt: go fmt ./...