diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d70b22..92b11da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,387 +1,428 @@ -## 1.10.0 (2024-02-20) +## [1.11.0] - 2024-03-15 +**Full Changelog**: https://github.com/postfinance/kubenurse/compare/v1.10.0...1.11.0 -### Bug Fixes +### ๐Ÿš€ Features -* **common**: don't log nil error returned when the cache terminates ([8d891b6a](https://github.com/postfinance/kubenurse/commit/8d891b6a)) -* **neighbours**: only check other kubenurse pods ([#110](https://github.com/postfinance/kubenurse/issues/110), [62e737c9](https://github.com/postfinance/kubenurse/commit/62e737c9)) +- Use hashing to distribute node checks ([a0b49bb](a0b49bbbac77022cefe28c852a8e33c06a764431)) +- Use uint64 hashes and store neighbours in a heap ([270e208](270e20837a8967f7054859c93d66fa36e7e6365f)) +- Add request type to httptrace and request duration metrics ([cdcc063](cdcc0633a3a084ed17f29dd9d37d6d8109c87911)) +### ๐Ÿ› Bug Fixes -### Dependencies +- Current node hash can never be in the map ([5753890](5753890a8fd224b49c5022c4f109b7605f4a56c6)) -* **deps**: bump golangci/golangci-lint-action from 3 to 4 ([8efc9050](https://github.com/postfinance/kubenurse/commit/8efc9050)) - > Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3 to 4. - > - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - > - [Commits](https://github.com/golangci/golangci-lint-action/compare/v3...v4) - > - > --- - > updated-dependencies: - > - dependency-name: golangci/golangci-lint-action - > dependency-type: direct:production - > update-type: version-update:semver-major - > ... +### ๐Ÿšœ Refactor +- Put Uint64Heap at the end of servicecheck.go ([4950dd6](4950dd631b71215121b7cf6e5d755902b7cb29b7)) -### New Features +### ๐Ÿ“š Documentation -* **common**: use controller-runtime's client with integrated caching ([7b1edea5](https://github.com/postfinance/kubenurse/commit/7b1edea5)) - > permits to get rid of kubediscovery package and to simplify the codebase - > - > linked to: https://github.com/postfinance/kubenurse/issues/55 +- Neighbour filtering ([bd1ee9f](bd1ee9f472aee9686664304e582f39326dfb3970)) +### โš™๏ธ Miscellaneous Tasks +- Linting ([7aac7e0](7aac7e0ec18f496488f9234147614064199ecb29)) +- Switch to Go 1.22 ([1689c1c](1689c1c6bfd252f5dc6fe5560f49bcaf1224c578)) -## 1.9.1 (2024-01-22) +### Build +- Bump k8s.io/api from 0.29.0 to 0.29.2 ([48af8fc](48af8fceab5269007c600f5a444e7b3a3569872b)) +- Bump k8s.io/client-go from 0.29.0 to 0.29.2 ([e4734c8](e4734c88eb0a64d924ae3c03f62ed077dbc368f2)) +- Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 ([a06bffa](a06bffaf5a0b81682f193f50411dd01d51d569aa)) +- Bump azure/setup-helm from 3 to 4 ([688d08b](688d08bfcc07ac2a01cecd0b8f1eb9fe052f79b9)) +- Bump sigs.k8s.io/controller-runtime from 0.17.0 to 0.17.2 ([8837f46](8837f46b557e0259cfe88a2887de28901ace2439)) +- Bump github.com/prometheus/client_golang ([fa80824](fa80824f202dce96b9e9ebccb41e27493bd187f7)) +- Switch changelog tool to cliff + release 1.10.0 ([289a4b9](289a4b9b4337b8bea664d0d763a70a421517ee09)) -### Dependencies -* **common**: make helm chart version equal to tag ([f248d2ad](https://github.com/postfinance/kubenurse/commit/f248d2ad)) - > [skip ci] +## [1.10.0] - 2024-02-20 +**Full Changelog**: https://github.com/postfinance/kubenurse/compare/v1.9.1...v1.10.0 +### ๐Ÿš€ Features -## 1.9.0 (2024-01-22) +- Use controller-runtime's client with integrated caching ([7b1edea](7b1edea5524f01fe46e717c08615ccd483346a5b)) +### ๐Ÿ› Bug Fixes -### Bug Fixes - -* **common**: added missing condition in ingress.yaml chart file ([21165026](https://github.com/postfinance/kubenurse/commit/21165026)) -* **common**: create empty tls.Config when loading extraCA fails ([41130653](https://github.com/postfinance/kubenurse/commit/41130653)) -* **common**: do not reuse connections per default ([4f1f5b80](https://github.com/postfinance/kubenurse/commit/4f1f5b80)) - > stop reusing connections per default, by modifying the http.Transport - > DisableKeepAlive field to true per default. Can be overriden through - > setting KUBENURSE_REUSE_CONNECTIONS env var to "true" -* **common**: linting and error handling ([1057536e](https://github.com/postfinance/kubenurse/commit/1057536e)) -* **common**: use same histogram buckets everywhere ([03505e9c](https://github.com/postfinance/kubenurse/commit/03505e9c)) -* **helm-lint**: place separator at correct location ([0fa8b064](https://github.com/postfinance/kubenurse/commit/0fa8b064)) -* **helm-lint**: place separator at correct location ([c7724bba](https://github.com/postfinance/kubenurse/commit/c7724bba)) - - -### Dependencies - -* **common**: bump go version in gh-actions ([fec132df](https://github.com/postfinance/kubenurse/commit/fec132df)) -* **deps**: bump github.com/prometheus/client_golang ([533a4ec5](https://github.com/postfinance/kubenurse/commit/533a4ec5)) - > Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.16.0 to 1.18.0. - > - [Release notes](https://github.com/prometheus/client_golang/releases) - > - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - > - [Commits](https://github.com/prometheus/client_golang/compare/v1.16.0...v1.18.0) - > - > --- - > updated-dependencies: - > - dependency-name: github.com/prometheus/client_golang - > dependency-type: direct:production - > update-type: version-update:semver-minor - > ... -* **deps**: bump k8s.io/client-go from 0.28.4 to 0.29.0 ([15d67150](https://github.com/postfinance/kubenurse/commit/15d67150)) - > Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.28.4 to 0.29.0. - > - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md) - > - [Commits](https://github.com/kubernetes/client-go/compare/v0.28.4...v0.29.0) - > - > --- - > updated-dependencies: - > - dependency-name: k8s.io/client-go - > dependency-type: direct:production - > update-type: version-update:semver-minor - > ... - - -### New Features - -* **httptrace**: add back total and duration instrumentation ([330d2d45](https://github.com/postfinance/kubenurse/commit/330d2d45)) - > as this is used by our Grafana dashboards, and quite useful - > also prepare for adding the `type` label, once the N^2 issue - > is solved - - - -## 1.8.1 (2023-12-14) - - -### Bug Fixes - -* **graceful-shutdown**: implement configurable sutdown delay ([e5c13c8d](https://github.com/postfinance/kubenurse/commit/e5c13c8d)) - > prevents in-flight requests to land on a pod that has already stopped. -* **shutdown**: implement 5 seconds shutdown period ([cef5f2ef](https://github.com/postfinance/kubenurse/commit/cef5f2ef)) - > will already help prevent false positives from other kubenurse pods when - > trying to reach me_ingress through the ingress controller during - > teardown. without this 5sec wait, in-flight requests from e.g. the - > ingress controller will reach a pod that is already terminated. - > Might not be sufficient for similar for "path" errors, as there is no - > filter for terminating pods. -* **shutdown**: make shutdown duration configurable ([a9d101a4](https://github.com/postfinance/kubenurse/commit/a9d101a4)) -* **shutdown**: stop querying pending/terminating neighbors ([3d6050c6](https://github.com/postfinance/kubenurse/commit/3d6050c6)) - > prevents false positive path_error when checks are made to pending or - > terminating pods - - -### Dependencies - -* **ci**: rollout restart the daemonset to "erase" bootstrap errors ([e96ed6f7](https://github.com/postfinance/kubenurse/commit/e96ed6f7)) - > during the first start of kubenurse, if the ingress isn't - > ready yet or if kubenurse makes a check before a kubenurse - > pod is actually ready, this will result in errors in the logs - > and this will prevent the pipeline from working correctly. -* **common**: helmChart improvements ([6e82de23](https://github.com/postfinance/kubenurse/commit/6e82de23)) - > the image tag is now .Chart.AppVersion except if - > .values.daemonset.image.tag is set - > - > also, the .Chart.AppVersion field is automatically set - > to the tag, with another chart-releaser plugin -* **deps**: bump actions/checkout from 3 to 4 ([21c103d0](https://github.com/postfinance/kubenurse/commit/21c103d0)) - > Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - > - [Release notes](https://github.com/actions/checkout/releases) - > - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - > - [Commits](https://github.com/actions/checkout/compare/v3...v4) - > - > --- - > updated-dependencies: - > - dependency-name: actions/checkout - > dependency-type: direct:production - > update-type: version-update:semver-major - > ... -* **deps**: bump actions/setup-go from 4 to 5 ([b395623c](https://github.com/postfinance/kubenurse/commit/b395623c)) - > Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5. - > - [Release notes](https://github.com/actions/setup-go/releases) - > - [Commits](https://github.com/actions/setup-go/compare/v4...v5) - > - > --- - > updated-dependencies: - > - dependency-name: actions/setup-go - > dependency-type: direct:production - > update-type: version-update:semver-major - > ... -* **deps**: bump docker/login-action from 2 to 3 ([87f61117](https://github.com/postfinance/kubenurse/commit/87f61117)) - > Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3. - > - [Release notes](https://github.com/docker/login-action/releases) - > - [Commits](https://github.com/docker/login-action/compare/v2...v3) - > - > --- - > updated-dependencies: - > - dependency-name: docker/login-action - > dependency-type: direct:production - > update-type: version-update:semver-major - > ... -* **deps**: bump helm/chart-releaser-action from 1.5.0 to 1.6.0 ([efc98fa1](https://github.com/postfinance/kubenurse/commit/efc98fa1)) - > Bumps [helm/chart-releaser-action](https://github.com/helm/chart-releaser-action) from 1.5.0 to 1.6.0. - > - [Release notes](https://github.com/helm/chart-releaser-action/releases) - > - [Commits](https://github.com/helm/chart-releaser-action/compare/v1.5.0...v1.6.0) - > - > --- - > updated-dependencies: - > - dependency-name: helm/chart-releaser-action - > dependency-type: direct:production - > update-type: version-update:semver-minor - > ... -* **deps**: bump k8s.io/api from 0.27.3 to 0.27.4 ([7ad9eb28](https://github.com/postfinance/kubenurse/commit/7ad9eb28)) - > Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.27.3 to 0.27.4. - > - [Commits](https://github.com/kubernetes/api/compare/v0.27.3...v0.27.4) - > - > --- - > updated-dependencies: - > - dependency-name: k8s.io/api - > dependency-type: direct:production - > update-type: version-update:semver-patch - > ... -* **deps**: bump k8s.io/api from 0.28.0 to 0.28.1 ([ca5a74c3](https://github.com/postfinance/kubenurse/commit/ca5a74c3)) - > Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.28.0 to 0.28.1. - > - [Commits](https://github.com/kubernetes/api/compare/v0.28.0...v0.28.1) - > - > --- - > updated-dependencies: - > - dependency-name: k8s.io/api - > dependency-type: direct:production - > update-type: version-update:semver-patch - > ... -* **deps**: bump k8s.io/client-go from 0.27.3 to 0.28.0 ([7791489d](https://github.com/postfinance/kubenurse/commit/7791489d)) - > Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.27.3 to 0.28.0. - > - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md) - > - [Commits](https://github.com/kubernetes/client-go/compare/v0.27.3...v0.28.0) - > - > --- - > updated-dependencies: - > - dependency-name: k8s.io/client-go - > dependency-type: direct:production - > update-type: version-update:semver-minor - > ... -* **deps**: bump k8s.io/client-go from 0.28.0 to 0.28.1 ([52bfac3f](https://github.com/postfinance/kubenurse/commit/52bfac3f)) - > Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.28.0 to 0.28.1. - > - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md) - > - [Commits](https://github.com/kubernetes/client-go/compare/v0.28.0...v0.28.1) - > - > --- - > updated-dependencies: - > - dependency-name: k8s.io/client-go - > dependency-type: direct:production - > update-type: version-update:semver-patch - > ... -* **deps**: bump k8s.io/client-go from 0.28.1 to 0.28.4 ([eb3c96c1](https://github.com/postfinance/kubenurse/commit/eb3c96c1)) - > Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.28.1 to 0.28.4. - > - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md) - > - [Commits](https://github.com/kubernetes/client-go/compare/v0.28.1...v0.28.4) - > - > --- - > updated-dependencies: - > - dependency-name: k8s.io/client-go - > dependency-type: direct:production - > update-type: version-update:semver-patch - > ... -* **dockerfile**: update misconfigured maintainer label ([461bda53](https://github.com/postfinance/kubenurse/commit/461bda53)) - - -### New Features - -* **helm**: make shutdown duration configurable ([a518f562](https://github.com/postfinance/kubenurse/commit/a518f562)) - - - -## 1.8.0 (2023-06-26) - -### New Features - -* **common**: add new helm configurations ([8c2e6c65](https://github.com/postfinance/kubenurse/commit/8c2e6c65)) -* **helm**: new configuration options (#57) ([13484e61](https://github.com/postfinance/kubenurse/commit/13484e61)) - - - -## 1.7.0 (2022-11-01) - - -### Bug Fixes - -* **common**: Use current main branch naming for the helm releaser ([4dd5eded](https://github.com/postfinance/kubenurse/commit/4dd5eded)) -* **common**: use new ingress spefification (#52) ([8b896f4c](https://github.com/postfinance/kubenurse/commit/8b896f4c)) -* **helm**: chart should respect `-n ` flag (#53) ([a5a3a792](https://github.com/postfinance/kubenurse/commit/a5a3a792)) -* **helm**: parse error when using extraEnvs (#48) ([3a56edbb](https://github.com/postfinance/kubenurse/commit/3a56edbb)) +- Don't log nil error returned when the cache terminates ([8d891b6](8d891b6a209654a579d495da2754564abfcd6373)) +- Only check other kubenurse pods ([62e737c](62e737c9d4cb73df8ea6ea9f0a32c2551d020ac7)) +### โš™๏ธ Miscellaneous Tasks -### New Features +- Remove "caching" of results and simplify code ([92b4922](92b4922d1814a8b65375a0bafc59d92465d59a62)) +- Update changelog with 1.10.0 release ([0426258](0426258c1509346998a1144ba7d9e19525687439)) -* **common**: Implement helm chart releaser (#47) ([7f52b474](https://github.com/postfinance/kubenurse/commit/7f52b474)) -* **helm**: add dnsConfig option (#50) ([3fed2690](https://github.com/postfinance/kubenurse/commit/3fed2690)) -* **helm**: add support for volumes and volumeMounts (#49) ([986d3dc9](https://github.com/postfinance/kubenurse/commit/986d3dc9)) -* **helm**: make KUBENURSE_INSECURE configurable (#51) ([4d4dc397](https://github.com/postfinance/kubenurse/commit/4d4dc397)) +### Build +- Bump golangci/golangci-lint-action from 3 to 4 ([8efc905](8efc90502f0488c08cad811dab217875e175d7e8)) -## 1.5.1 (2022-01-21) +## [1.9.1] - 2024-01-22 -### Bug Fixes +**Full Changelog**: https://github.com/postfinance/kubenurse/compare/v1.9.0...v1.9.1 -* **common**: enforce timeouts in the kubenurse http.Server to avoid possible goroutine/memory leaks ([d07df3bc](https://github.com/postfinance/kubenurse/commit/d07df3bc)) +### โš™๏ธ Miscellaneous Tasks +- Update changelog with 1.9.1 release ([96a1713](96a1713a54ec24fc8ca8f51dd0c1fc2ef1155fca)) -### New Features +### Build -* **common**: expose metrics from the kubenurse httpclient (#31) ([ebb07646](https://github.com/postfinance/kubenurse/commit/ebb07646)) - > The following new metrics were added: - > * kubenurse_httpclient_requests_total - Total issued requests by kubenurse, partitioned by http code/method. - > * kubenurse_httpclient_trace_request_duration_seconds - Latency histogram for requests from the kubenurse httpclient, partitioned by event. - > * httpclient_request_duration_seconds - Latency histogram of request latencies from the kubenurse httpclient. +- Make helm chart version equal to tag ([f248d2a](f248d2adc176a049ce4a88b801b53dc8ed1412a1)) +## [1.9.0] - 2024-01-22 -## 1.5.0 (2022-01-17) +**Full Changelog**: https://github.com/postfinance/kubenurse/compare/v1.8.1...v1.9.0 +### ๐Ÿš€ Features -### Breaking Changes +- Add back total and duration instrumentation ([330d2d4](330d2d4598f9a4add4ac6aa7a3e43219bf60ad29)) -* **common** - * **[7beac307](https://github.com/postfinance/kubenurse/commit/7beac307)**: - rewrite and cleanup kubenurse server code (#29) - > * refactor!: rewrite and cleanup kubenurse server code - > - > By using a package and multiple separate files the code is easier to - > understand and test. A new /ready handler was added so we can configure - > a readiness probe to allow seamless updates of kubenurse. - > - > * build: update golangci-lint version - > - > * build: update golangci-lint timeout, default is too short - > - > * build: extract lint step and use go version 1.17 - > - > * feat: configure new readinessprobe in kustomize and helm templates - > - > * fix: linter errors - > - > * chore: cleanup, remove not needed WaitGroup - > - > * refactor!: move pkg/kubediscovery to internal/kubediscovery - > - > * refactor!: move pkg/checker to internal/servicecheck - > - > * refactor!: incorporate pkg/metrics in internal/servicecheck - > - > * refactor!: more refactorings to allow easier unit testing - > - > * feat: more unit tests and coverage calculation in workflows - > - > * docs: include ci and coverage badges in readme - > - > * docs: fix coverage status URL +### ๐Ÿ› Bug Fixes +- Added missing condition in ingress.yaml chart file ([2116502](211650261b61cc976a72f38b39c6cca157c2acb6)) +- Place separator at correct location ([c7724bb](c7724bba8e85747ac7b33c43fec7bd0477876435)) +- Linting and error handling ([1057536](1057536eb620a83742a94d05a31c6a9239492276)) +- Place separator at correct location ([0fa8b06](0fa8b064278750b346b2979cf415774e777c4c8a)) +- Do not reuse connections per default ([4f1f5b8](4f1f5b809aae3aedfd77045cf115e204136b583f)) +- Create empty tls.Config when loading extraCA fails ([4113065](411306537de72bbdf255fb749ddba24143893af2)) +- Use same histogram buckets everywhere ([03505e9](03505e9ca01229c4c60d7e24b8c6ba2a87a10a16)) -### New Features +### ๐Ÿ“š Documentation -* **common**: expose metrics from the kubenurse httpclient (#31) ([ebb07646](https://github.com/postfinance/kubenurse/commit/ebb07646)) - > The following new metrics were added: - > * kubenurse_httpclient_requests_total - Total issued requests by kubenurse, partitioned by http code/method. - > * kubenurse_httpclient_trace_request_duration_seconds - Latency histogram for requests from the kubenurse httpclient, partitioned by event. - > * httpclient_request_duration_seconds - Latency histogram of request latencies from the kubenurse httpclient. +- Customizable histogram buckets with env var ([dd7ce2d](dd7ce2db649258e6a8cd6846e8fca876cffcb7b4)) +- Reuse_connections option/env variable ([9cb33d7](9cb33d7e18ce8efcb02a52dbf105dd3bed23bbb3)) +### โš™๏ธ Miscellaneous Tasks +- Set tls.Config.MinVersion per default ([f32c37b](f32c37ba06192004cef4a63d9a0bcf50f5fee8b8)) +- Update changelog with 1.9.0 release ([7c03ef1](7c03ef1b3ef2e738ada49ea16624f0059493f32c)) -## 1.4.1 (2021-09-30) +### WIP +- Feat: Replacing promhttp with own httptrace and logging ([ff0e1b0](ff0e1b06721328c47d1dc7edbcc3ac022c17386b)) -### Bug Fixes +### Build -* **examples**: Bump kubenurse version to v1.4.0 ([6f1228c0](https://github.com/postfinance/kubenurse/commit/6f1228c0)) +- Bump k8s.io/client-go from 0.28.4 to 0.29.0 ([15d6715](15d671503ada336440b599800d2fc726b14c2236)) +- Bump github.com/prometheus/client_golang ([533a4ec](533a4ec5a945b023d64c6afc7ef62c55bbf88a2f)) +- Bump go version in gh-actions ([fec132d](fec132df47f498d634b136069621ce9be1339a22)) -## 1.4.0 (2021-05-25) +## New Contributors +* @matthisholleville made their first contribution## [1.8.1] - 2023-12-14 -### Bug Fixes +**Full Changelog**: https://github.com/postfinance/kubenurse/compare/v1.7.1...v1.8.1 -* **examples**: Bump kubenurse version to v1.3.4 ([4e0a4c33](https://github.com/postfinance/kubenurse/commit/4e0a4c33)) +### ๐Ÿš€ Features +- Make shutdown duration configurable ([a518f56](a518f56288836c025346d63ef154239bcfafdc3e)) +### ๐Ÿ› Bug Fixes -## 1.3.4 (2021-04-20) +- Implement 5 seconds shutdown period ([cef5f2e](cef5f2effeb1de8ee41602c74a20d8d57e5f450d)) +- Stop querying pending/terminating neighbors ([3d6050c](3d6050c652bd6115a8be7f7879fa316c4bbad8d5)) +- Make shutdown duration configurable ([a9d101a](a9d101a4fc3607ebd914b462776b43462d354e0d)) +- Implement configurable sutdown delay ([e5c13c8](e5c13c8df0144c30e308cc833da8f6f0caac38ef)) +### โš™๏ธ Miscellaneous Tasks -### Bug Fixes +- Fix linting errors and update golangci-lint config ([65ee3ec](65ee3ece3f306eac32cc34a456dc1464f1f3d44b)) +- Update changelog with 1.8.1 release ([e54d02d](e54d02d2e9618c2a4d9e4299cf61532bc7f8d74e)) -* **discovery**: Prevent panic when checking for schedulable nodes only ([2243226b](https://github.com/postfinance/kubenurse/commit/2243226b)) -* **examples**: Bump kubenurse version to v1.3.3 ([c13ebc11](https://github.com/postfinance/kubenurse/commit/c13ebc11)) +### Build +- Bump k8s.io/api from 0.27.3 to 0.27.4 ([7ad9eb2](7ad9eb284f6707aa86119c1b1a3673599babb545)) +- Bump k8s.io/client-go from 0.27.3 to 0.28.0 ([7791489](7791489d427e94880dc7f8d51050e22a38b7a9fe)) +- Bump k8s.io/api from 0.28.0 to 0.28.1 ([ca5a74c](ca5a74c3826f644d8d4022bb0fd8e17ce07484fc)) +- Bump k8s.io/client-go from 0.28.0 to 0.28.1 ([52bfac3](52bfac3fa98bb0bdc476bef7f3668656d062cebb)) +- Bump actions/checkout from 3 to 4 ([21c103d](21c103d0f8f81dbf094a8bb645e3cc0051ac5d66)) +- Bump k8s.io/client-go from 0.28.1 to 0.28.4 ([eb3c96c](eb3c96c13817603edb69af60701b02b78cf896de)) +- Bump actions/setup-go from 4 to 5 ([b395623](b395623c305024412aec23cad91a6266f4436f1b)) +- Bump helm/chart-releaser-action from 1.5.0 to 1.6.0 ([efc98fa](efc98fa1d2501bb1d78255831aebb264add61b16)) +- Bump docker/login-action from 2 to 3 ([87f6111](87f611174c5ece346b464045da853ce1b0b54e99)) +- Rollout restart the daemonset to "erase" bootstrap errors ([e96ed6f](e96ed6f7d3b25216121b5f89af9960576e6e47f8)) +- Update misconfigured maintainer label ([461bda5](461bda530444775647846390338005adc1c96d43)) +- HelmChart improvements ([6e82de2](6e82de238d3181462b0be02843c29729277f10e2)) -## 1.3.3 (2021-04-20) +## [1.7.1] - 2023-06-26 +**Full Changelog**: https://github.com/postfinance/kubenurse/compare/kubenurse-0.3.1...v1.7.1 -### New Features +### ๐Ÿ“š Documentation -* **common**: CI improvements and RBAC fixes ([394daf19](https://github.com/postfinance/kubenurse/commit/394daf19)) -* **common**: Flag to consider kubenurses on unschedulable nodes ([cd9ac29b](https://github.com/postfinance/kubenurse/commit/cd9ac29b)) +- Add changlog ([928cb07](928cb077a04e3da3690eda673b829055b15e5f85)) +- Udpate changelog ([515a7c4](515a7c41a85b301c36122f46fa5fec0758c0418e)) +### โš™๏ธ Miscellaneous Tasks +- Update packages, CI actions and Go version. Fix linting. ([88a900b](88a900bcf5ca8ce7fc3d6923231c8de28ba530a2)) +- Enable dependabot ([304b996](304b996b9d9adaa81ff7160d05e331c6d4ba037f)) +- Update dependabot ([85b19a6](85b19a66a66e155d9957c2a2903a71834fe22b90)) +- Update dependabot commit message ([1d445fe](1d445fe4c97bab318b09829e799503825bc131bf)) +- Update .cc.yml ([99c490a](99c490a361b8cd9f67ce08a4adc8becacfd610d4)) +- Set dependabot interval to weekly ([a9e53ae](a9e53ae3ea94342cea19f7981254d099ff704540)) -## 1.3.1 (2020-12-09) +## [kubenurse-0.3.1] - 2022-12-07 -### Bug Fixes +**Full Changelog**: https://github.com/postfinance/kubenurse/compare/kubenurse-0.3.0...kubenurse-0.3.1 -* **common**: remove unwanted linter configuration ([d9284394](https://github.com/postfinance/kubenurse/commit/d9284394)) +### ๐Ÿš€ Features +- Add new helm configurations ([8c2e6c6](8c2e6c6526b737b79134c3b6b9235f363a1fce47)) +### โš™๏ธ Miscellaneous Tasks -## 1.3.0 (2020-12-09) +- Bump chart to 0.3.1 ([ae27984](ae27984db9c5241ead166c1bd964da6c263f8a65)) + + +## [kubenurse-0.3.0] - 2022-12-06 + +**Full Changelog**: https://github.com/postfinance/kubenurse/compare/v1.7.0...kubenurse-0.3.0 + +### ๐Ÿš€ Features + +- New configuration options (#57) ([13484e6](13484e613a9e44b4d73f95b2e30ba54fa6cda7a1)) + +### โš™๏ธ Miscellaneous Tasks + +- Bump chart to 0.3.0 ([d5985e2](d5985e2c336e963b9f1d6f7bd99632e0e868ac61)) + + +## [1.7.0] - 2022-11-01 + +**Full Changelog**: https://github.com/postfinance/kubenurse/compare/kubenurse-0.2.1...v1.7.0 + +### ๐Ÿš€ Features + +- Make KUBENURSE_INSECURE configurable (#51) ([4d4dc39](4d4dc3979bdd344f6f1f3ad746ea0249315b4b36)) + +### ๐Ÿ› Bug Fixes + +- Use new ingress spefification (#52) ([8b896f4](8b896f4c60339f503680443922211dfdf970d5d2)) +- Chart should respect `-n ` flag (#53) ([a5a3a79](a5a3a792a228302e30ea60845069f23faaeafb67)) + +### โš™๏ธ Miscellaneous Tasks + +- Bump chart to 2.2 ([c0c1db5](c0c1db523f6c5c9ea5049da4a825517d6227f5cb)) + + +## [kubenurse-0.2.1] - 2022-10-25 + +**Full Changelog**: https://github.com/postfinance/kubenurse/compare/kubenurse-0.2.0...kubenurse-0.2.1 + +### ๐Ÿš€ Features + +- Add support for volumes and volumeMounts (#49) ([986d3dc](986d3dc96faa05458802f5cc1c8f118e19ba2fca)) +- Add dnsConfig option (#50) ([3fed269](3fed269073d45e6175fa1ef0be6977cb14cc575e)) + +### ๐Ÿ› Bug Fixes + +- Parse error when using extraEnvs (#48) ([3a56edb](3a56edbb5a6a080e5a589b9b0812c7bda14c94a4)) + +### ๐Ÿ“š Documentation + +- Add reference to online helm repository ([f04a6f7](f04a6f7a62c109b16081a7a26b8cc2836233085e)) + +### โš™๏ธ Miscellaneous Tasks + +- Update chart version ([5383aa7](5383aa776a83fb2c2482a1a44f178fbb332e9ea3)) + + +## [kubenurse-0.2.0] - 2022-07-21 + +**Full Changelog**: https://github.com/postfinance/kubenurse/compare/v1.6.0-rc1...kubenurse-0.2.0 + +### ๐Ÿš€ Features + +- Implement helm chart releaser (#47) ([7f52b47](7f52b474a6531cdd1b63c5358e6f51e67a02a317)) + +### ๐Ÿ› Bug Fixes + +- Use current main branch naming for the helm releaser ([4dd5ede](4dd5eded72dd83798f622da716cd28ddf4404b0c)) + +### โš™๏ธ Miscellaneous Tasks + +- Update helm package version to 1.6.0 ([e261007](e26100791c3e824867218b150d12b83162e115c4)) + + +## [1.6.0-rc1] - 2022-06-03 + +**Full Changelog**: https://github.com/postfinance/kubenurse/compare/v1.5.2...v1.6.0-rc1 + +### ๐Ÿ“š Documentation + +- Add example grafana dashboard (#40) ([aa94ef8](aa94ef8e431995e6017c6bb9e3eee6ab47d1c92b)) +- Add link to example Grafana dashboard ([95ad678](95ad678f3078c0113c2d721b63333a442cb38bb5)) + +### โš™๏ธ Miscellaneous Tasks + +- Split workflows and create initial CI setup with traefik (#39) ([806e7c7](806e7c712e0869dc57c921e119054f1a67d4d62d)) +- Update golangci-lint to v1.46 (#41) ([797f3fb](797f3fba6edd6cb5e441e1efe23b1f2bcf63e1ab)) +- Use example domains instead of assignable ones ([94e7075](94e70751f20c4639a25fbc94b1dcf22a3c53cd01)) +- Update dependencies (#43) ([6b0761c](6b0761cadd27957043d121491a8d10aef8e430cc)) + + +## [1.5.2] - 2022-02-17 + +**Full Changelog**: https://github.com/postfinance/kubenurse/compare/v1.5.1...v1.5.2 + +### โš™๏ธ Miscellaneous Tasks + +- Update go dependencies to use latest available stable versions (#36) ([ca04845](ca048452c244730620302432d834b6739308cd9f)) + + +## [1.5.1] - 2022-01-21 + +**Full Changelog**: https://github.com/postfinance/kubenurse/compare/v1.5.0...v1.5.1 + +### ๐Ÿ› Bug Fixes + +- Enforce timeouts in the kubenurse http.Server to avoid possible goroutine/memory leaks ([d07df3b](d07df3bc86fdc12275e2a73ca8866cf81c2c5a29)) + + +## [1.5.0] - 2022-01-17 + +**Full Changelog**: https://github.com/postfinance/kubenurse/compare/v1.5.0-beta1...v1.5.0 + +### ๐Ÿš€ Features + +- Expose metrics from the kubenurse httpclient (#31) ([ebb0764](ebb076466723e71f50c0e721025b676923a7889d)) + +### ๐Ÿ“š Documentation + +- Update README and fix some spelling/grammar mistakes (#30) ([9f02d56](9f02d56be5031e6c8395f6b009a8f2a580d44010)) + + +## [1.5.0-beta1] - 2022-01-05 + +**Full Changelog**: https://github.com/postfinance/kubenurse/compare/v1.4.1...v1.5.0-beta1 + +### ๐Ÿšœ Refactor + +- Rewrite and cleanup kubenurse server code (#29) ([7beac30](7beac30751e8fd96093486fad9ada30f314e7dc4)) + + +## [1.4.1] - 2021-09-30 + +**Full Changelog**: https://github.com/postfinance/kubenurse/compare/v1.4.0...v1.4.1 + +### ๐Ÿ› Bug Fixes + +- Bump kubenurse version to v1.4.0 ([6f1228c](6f1228c0975ad136ca51b75ac921f9f86cea3575)) + +### ๐Ÿ“š Documentation + +- Update changelog (reference commits and PR) ([ac79bfb](ac79bfbdcc38688c042074cbec0e142525e02ea7)) + +### โš™๏ธ Miscellaneous Tasks + +- Update goreleaser config to newest version (0.178.0) ([2f8cb96](2f8cb963fce6b6847d1a620a26ddb6a826a60c32)) +- Fix ingress deployment in kind cluster ([1d819ad](1d819adf329d84879789bc7c32459789ee7f1cbe)) +- Updates for k8s v1.21.2 (#28) ([a792cd8](a792cd8f7aaae4741d8922982c48f3aae580b938)) +- Update changelog with 1.4.1 release ([50fb9eb](50fb9eb8d05f544ccbe374b968a37e02c69e1849)) + + +## [1.4.0] - 2021-05-25 + +**Full Changelog**: https://github.com/postfinance/kubenurse/compare/v1.3.4...v1.4.0 + +### ๐Ÿ› Bug Fixes + +- Bump kubenurse version to v1.3.4 ([4e0a4c3](4e0a4c3359988f4baf2133a33e0c0f8567fe3e5d)) + +### ๐Ÿ“š Documentation + +- Add changelog ([ede0034](ede0034da45e5447964f4f9e172141d1e5175c32)) +- Update changelog ([044d105](044d10594e57523ab07f0de92aa5c908e922981a)) + +### โš™๏ธ Miscellaneous Tasks + +- Update all go dependencies ([c0df790](c0df7900e872d448f7aaa710a664502719432620)) +- Update changelog with 1.4.0 release ([47b6cfc](47b6cfc3a0393f40b92a0e91cb44036e94e3c8aa)) + + +## [1.3.4] - 2021-04-20 + +**Full Changelog**: https://github.com/postfinance/kubenurse/compare/v1.3.3...v1.3.4 + +### ๐Ÿ› Bug Fixes + +- Prevent panic when checking for schedulable nodes only ([2243226](2243226bd4031239c4d5f89afa6336e7bfd3c9fd)) +- Bump kubenurse version to v1.3.3 ([c13ebc1](c13ebc11f9a4612b13a81c2fef7dde1b71567c2e)) + +### CI + +- Use latest-ci image for CI testing ([eb11afb](eb11afb82af5ea5e3a455813a67f9834ae35c070)) +- Use latest-ci image for CI testing ([caa2105](caa21051da0f1a67eb1fcf1e0065b2f0a87888d1)) + + +## [1.3.3] - 2021-04-20 + +**Full Changelog**: https://github.com/postfinance/kubenurse/compare/v1.3.2...v1.3.3 + +### ๐Ÿš€ Features + +- Flag to consider kubenurses on unschedulable nodes ([cd9ac29](cd9ac29bfdec070a374ca44f41d3a03f466c8607)) +- CI improvements and RBAC fixes ([394daf1](394daf190c0813a38c0849c29aed63ea09ec4199)) + +### โš™๏ธ Miscellaneous Tasks + +- Liniting ([b99d08d](b99d08d32ededf9e5ddffbc56acf302fc3571d39)) + + +## [1.3.2] - 2021-03-01 + +**Full Changelog**: https://github.com/postfinance/kubenurse/compare/v1.3.1...v1.3.2 + +### ๐Ÿ“š Documentation + +- Add toleration example for master/control-plane ([c5bfacb](c5bfacbf1d13493c313136186509f10dd8e16eb5)) + +### โš™๏ธ Miscellaneous Tasks + +- Update dependencies ([b1200a9](b1200a956560bdbf7e9158804800834daa1a8c92)) + + +## [1.3.1] - 2020-12-09 + +**Full Changelog**: https://github.com/postfinance/kubenurse/compare/v1.3.0...v1.3.1 + +### ๐Ÿ› Bug Fixes + +- Remove unwanted linter configuration ([d928439](d92843948c2ab79bf4fb175181ab4e72b23b5a10)) + +### โš™๏ธ Miscellaneous Tasks + +- Setup github actions, configure golangci-lint and fix lint errors ([a4deaf8](a4deaf8c566cf9045a61a6df6fc25eb417dca5cf)) + + +## [1.3.0] - 2020-12-09 + +**Full Changelog**: https://github.com/postfinance/kubenurse/compare/v1.2.0...v1.3.0 + +### ๐Ÿš€ Features + +- Exclude nodes which are not schedulable from neighbour checks ([b6acb93](b6acb939004710141b08170d07dcfbe3db923347)) + +### โš™๏ธ Miscellaneous Tasks + +- Update go dependencies ([163433c](163433c214571ebcc859b3a06e4415b179f5325d)) + + +## [1.0.0] - 2018-12-06 + + + +### ApiServerDNS + +- Change name to fqdn ([c127f98](c127f986e5762baa3fec345e0c20bab3dc480928)) -### New Features -* **common**: exclude nodes which are not schedulable from neighbour checks ([b6acb939](https://github.com/postfinance/kubenurse/commit/b6acb939)) diff --git a/cliff.toml b/cliff.toml new file mode 100644 index 0000000..d9ff6b3 --- /dev/null +++ b/cliff.toml @@ -0,0 +1,102 @@ +# git-cliff ~ default configuration file +# https://git-cliff.org/docs/configuration +# +# Lines starting with "#" are comments. +# Configuration options are organized into tables and keys. +# See documentation for more information on available options. + +[changelog] +# changelog header +header = "" +# template for the changelog body +# https://keats.github.io/tera/docs/#introduction +body = """ +{% if version %}\ + ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} +{% else %}\ + ## [unreleased] +{% endif %}\ +{% if version %} + {% if previous.version %}\ + **Full Changelog**: {{ self::remote_url() }}/compare/{{ previous.version }}...{{ version }}\ + {% endif %}\ +{% else -%} + {% raw %}\n{% endraw %} +{% endif %} +{% for group, commits in commits | group_by(attribute="group") %} + ### {{ group | upper_first }} + {% for commit in commits %} + - {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ commit.id }}))\ + {% endfor %} +{% endfor %}\n +{% if github.contributors | filter(attribute="is_first_time", value=true) | length != 0 %} + {% raw %}\n{% endraw -%} + ## New Contributors +{%- endif %}\ +{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %} + * @{{ contributor.username }} made their first contribution + {%- if contributor.pr_number %} in \ + [#{{ contributor.pr_number }}]({{ self::remote_url() }}/pull/{{ contributor.pr_number }}) \ + {%- endif %} +{%- endfor -%} +{%- macro remote_url() -%} + https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }} +{%- endmacro -%} +""" +# template for the changelog footer +footer = "" +# remove the leading and trailing s +trim = true +# postprocessors +postprocessors = [ + # { pattern = '', replace = "https://github.com/orhun/git-cliff" }, # replace repository URL +] + +[git] +# parse the commits based on https://www.conventionalcommits.org +conventional_commits = true +# filter out the commits that are not conventional +filter_unconventional = true +# process each line of a commit as an individual commit +split_commits = false +# regex for preprocessing the commit messages +commit_preprocessors = [ + # Replace issue numbers + #{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](/issues/${2}))"}, + # Check spelling of the commit with https://github.com/crate-ci/typos + # If the spelling is incorrect, it will be automatically fixed. + #{ pattern = '.*', replace_command = 'typos --write-changes -' }, +] +# regex for parsing and grouping commits +commit_parsers = [ + { message = "^feat", group = "๐Ÿš€ Features" }, + { message = "^fix", group = "๐Ÿ› Bug Fixes" }, + { message = "^doc", group = "๐Ÿ“š Documentation" }, + { message = "^perf", group = "โšก Performance" }, + { message = "^refactor", group = "๐Ÿšœ Refactor" }, + { message = "^style", group = "๐ŸŽจ Styling" }, + { message = "^test", group = "๐Ÿงช Testing" }, + { message = "^chore\\(release\\): prepare for", skip = true }, + { message = "^chore\\(deps.*\\)", skip = true }, + { message = "^chore\\(pr\\)", skip = true }, + { message = "^chore\\(pull\\)", skip = true }, + { message = "^chore|^ci", group = "โš™๏ธ Miscellaneous Tasks" }, + { body = ".*security", group = "๐Ÿ›ก๏ธ Security" }, + { message = "^revert", group = "โ—€๏ธ Revert" }, +] +# protect breaking changes from being skipped due to matching a skipping commit_parser +protect_breaking_commits = false +# filter out the commits that are not matched by commit parsers +filter_commits = false +# regex for matching git tags +# tag_pattern = "v[0-9].*" +# regex for skipping tags +# skip_tags = "" +# regex for ignoring tags +# ignore_tags = "" +# sort the tags topologically +topo_order = false +# sort the commits inside sections by oldest/newest order +sort_commits = "oldest" +# limit the number of commits included in the changelog. +# limit_commits = 42