Skip to content

Commit fd7517d

Browse files
committed
feat(chart): Released v3.12.0 (v0.7.0)
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
1 parent 1b01024 commit fd7517d

File tree

5 files changed

+200
-29
lines changed

5 files changed

+200
-29
lines changed

.github/workflows/lint-test-chart.yaml

+31-15
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,6 @@ jobs:
3131
token: ${{ secrets.GITHUB_TOKEN }}
3232
version: latest
3333

34-
- name: Set-up Artifact Hub CLI
35-
run: |
36-
set -euo pipefail
37-
curl -Lo /tmp/ah.tar.gz https://github.com/artifacthub/hub/releases/download/v1.11.0/ah_1.11.0_linux_amd64.tar.gz
38-
tar -xzvf /tmp/ah.tar.gz --directory /tmp
39-
mv /tmp/ah /usr/local/bin/ah
40-
chmod +x /usr/local/bin/ah
41-
rm -f /tmp/ah.tar.gz
42-
4334
- name: Set-up chart-testing
4435
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1
4536

@@ -49,25 +40,50 @@ jobs:
4940
changed="$(ct list-changed)"
5041
if [[ -n "${changed}" ]]
5142
then
52-
echo "changed=${{ toJSON(true) }}" >> $GITHUB_OUTPUT
43+
echo "changed=true" >> "${GITHUB_OUTPUT}"
5344
else
54-
echo "changed=${{ toJSON(false) }}" >> $GITHUB_OUTPUT
45+
echo "changed=false" >> "${GITHUB_OUTPUT}"
5546
fi
5647
48+
- name: Get chart version
49+
id: chart_version
50+
if: steps.changes.outputs.changed == 'true'
51+
uses: mikefarah/yq@dd648994340a5d03225d97abf19c9bf1086c3f07 # v4.40.5
52+
with:
53+
cmd: yq eval '.version' './charts/metrics-server/Chart.yaml'
54+
55+
- name: Get changelog entry
56+
if: steps.changes.outputs.changed == 'true'
57+
uses: mindsers/changelog-reader-action@b97ce03a10d9bdbb07beb491c76a5a01d78cd3ef # v2.2.2
58+
with:
59+
path: charts/metrics-server/CHANGELOG.md
60+
version: ${{ steps.chart_version.outputs.version }}
61+
62+
- name: Set-up Artifact Hub CLI
63+
if: steps.changes.outputs.changed == 'true'
64+
uses: action-stars/install-tool-from-github-release@b21a01813213cbbf482eeceda07ad03b41b754d1 # v0.2.1
65+
with:
66+
github_token: ${{ github.token }}
67+
owner: artifacthub
68+
repository: hub
69+
name: ah
70+
check_command: ah version
71+
version: latest
72+
5773
- name: Run Artifact Hub lint
58-
if: fromJSON(steps.changes.outputs.changed)
74+
if: steps.changes.outputs.changed == 'true'
5975
run: ah lint --kind helm || exit 1
6076

6177
- name: Run chart-testing lint
62-
if: fromJSON(steps.changes.outputs.changed)
78+
if: steps.changes.outputs.changed == 'true'
6379
run: ct lint --check-version-increment=false
6480

6581
- name: Create Kind cluster
66-
if: fromJSON(steps.changes.outputs.changed)
82+
if: steps.changes.outputs.changed == 'true'
6783
uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0
6884
with:
6985
wait: 120s
7086

7187
- name: Run chart-testing install
72-
if: fromJSON(steps.changes.outputs.changed)
88+
if: steps.changes.outputs.changed == 'true'
7389
run: ct install

.github/workflows/release-chart.yaml

+22-5
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- release-*
77
paths:
8-
- "charts/metrics-server/Chart.yaml"
8+
- charts/metrics-server/Chart.yaml
99

1010
jobs:
1111
release:
@@ -53,22 +53,39 @@ jobs:
5353
5454
if [[ -z "${chart_version_match}" ]] || [[ -z "${app_version_match}" ]]
5555
then
56-
echo "continue=${{ toJSON(false) }}" >> $GITHUB_OUTPUT
56+
echo "continue=false" >> $GITHUB_OUTPUT
5757
else
58-
echo "continue=${{ toJSON(true) }}" >> $GITHUB_OUTPUT
58+
echo "continue=true" >> $GITHUB_OUTPUT
5959
fi
6060
6161
- name: Set-up Helm
62-
if: fromJSON(steps.check_can_release.outputs.continue)
62+
if: steps.check_can_release.outputs.continue == 'true'
6363
uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5
6464
with:
6565
token: ${{ secrets.GITHUB_TOKEN }}
6666
version: latest
6767

68+
- name: Get CHANGELOG entry
69+
id: changelog_reader
70+
if: steps.check_can_release.outputs.continue == 'true'
71+
uses: mindsers/changelog-reader-action@b97ce03a10d9bdbb07beb491c76a5a01d78cd3ef # v2.2.2
72+
with:
73+
path: charts/metrics-server/CHANGELOG.md
74+
version: ${{ steps.chart_version.outputs.version }}
75+
76+
- name: Create release notes
77+
if: steps.check_can_release.outputs.continue == 'true'
78+
run: |
79+
set -euo pipefail
80+
cat <<"EOF" > charts/metrics-server/RELEASE.md
81+
${{ steps.changelog_reader.outputs.changes }}
82+
EOF
83+
6884
- name: Run chart-releaser
69-
if: fromJSON(steps.check_can_release.outputs.continue)
85+
if: steps.check_can_release.outputs.continue == 'true'
7086
uses: helm/chart-releaser-action@a917fd15b20e8b64b94d9158ad54cd6345335584 # v1.6.0
7187
env:
7288
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
7389
CR_RELEASE_NAME_TEMPLATE: "metrics-server-helm-chart-{{ .Version }}"
90+
CR_RELEASE_NOTES_FILE: RELEASE.md
7491
CR_MAKE_RELEASE_LATEST: false

charts/metrics-server/CHANGELOG.md

+142
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
# Metrics Server Helm Chart Changelog
2+
3+
> [!NOTE]
4+
> All notable changes to this project will be documented in this file; the format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5+
6+
<!--
7+
### Added - For new features.
8+
### Changed - For changes in existing functionality.
9+
### Deprecated - For soon-to-be removed features.
10+
### Removed - For now removed features.
11+
### Fixed - For any bug fixes.
12+
### Security - In case of vulnerabilities.
13+
-->
14+
15+
## [UNRELEASED]
16+
17+
## [3.12.0] - TBC
18+
19+
### Changed
20+
21+
- Updated the _Metrics Server_ OCI image to [v0.7.0](https://github.com/kubernetes-sigs/metrics-server/releases/tag/v0.7.0). ([#1414](https://github.com/kubernetes-sigs/metrics-server/pull/1414)) [@stevehipwell](https://github.com/stevehipwell)
22+
- Updated the _addon-resizer_ OCI image to [v1.8.20](https://github.com/kubernetes/autoscaler/releases/tag/addon-resizer-1.8.20). ([#1414](https://github.com/kubernetes-sigs/metrics-server/pull/1414)) [@stevehipwell](https://github.com/stevehipwell)
23+
24+
## [3.11.0] - 2023-08-03
25+
26+
### Added
27+
28+
- Added default _Metrics Server_ resource requests.
29+
30+
### Changed
31+
32+
- Updated the _Metrics Server_ OCI image to [v0.6.4](https://github.com/kubernetes-sigs/metrics-server/releases/tag/v0.6.4).
33+
- Updated the _addon-resizer_ OCI image to [v1.8.19](https://github.com/kubernetes/autoscaler/releases/tag/addon-resizer-1.8.19).
34+
35+
## [3.10.0] - 2023-04-12
36+
37+
### Added
38+
39+
- Added support for running under PodSecurity restricted.
40+
41+
### Fixed
42+
43+
- Fixed `auth-reader` role binding namespace to always use `kube-system`.
44+
- Fixed addon-resizer configuration.
45+
- Fixed container port default not having been updated to `10250`.
46+
47+
## [3.9.0] - 2023-03-28
48+
49+
### Added
50+
51+
- Added autoscaling support via the addon-resizer.
52+
53+
### Changed
54+
55+
- Updated the _Metrics Server_ OCI image to [v0.6.3](https://github.com/kubernetes-sigs/metrics-server/releases/tag/v0.6.3).
56+
57+
### Fixed
58+
59+
- Fixed service labels/annotations.
60+
61+
## [3.8.4] - 2023-03-06
62+
63+
### Changed
64+
65+
- Changed the image registry location to `registry.k8s.io`.
66+
67+
## [3.8.3] - 2022-12-08
68+
69+
### Added
70+
71+
- Added support for topologySpreadConstraints.
72+
- Always set resource namespaces explicitly.
73+
- Allow configuring TLS on the APIService.
74+
- Enabled service monitor relabelling.
75+
- Added ability to set the scheduler name.
76+
- Added support for common labels.
77+
78+
### Changed
79+
80+
- Updated the _Metrics Server_ OCI image to [v0.6.2](https://github.com/kubernetes-sigs/metrics-server/releases/tag/v0.6.2).
81+
82+
## [3.8.2] - 2022-02-23
83+
84+
### Changed
85+
86+
- Changed chart to allow probes to be turned off completely (this is not advised unless you know what you're doing).
87+
88+
## [3.8.1] - 2022-02-09
89+
90+
### Changed
91+
92+
- Updated the _Metrics Server_ OCI image to [v0.6.1](https://github.com/kubernetes-sigs/metrics-server/releases/tag/v0.6.1).
93+
94+
## [3.8.0] - 2022-02-08
95+
96+
### Added
97+
98+
- Added support for unauthenticated access to the /metrics endpoint.
99+
- Added optional _Prometheus Operator_ `ServiceMonitor`.
100+
101+
### Changed
102+
103+
- Updated the _Metrics Server_ OCI image to [v0.6.0](https://github.com/kubernetes-sigs/metrics-server/releases/tag/v0.6.0).
104+
105+
## [3.7.0] - 2021-11-18
106+
107+
### Changed
108+
109+
- Updated the _Metrics Server_ OCI image to [v0.5.2](https://github.com/kubernetes-sigs/metrics-server/releases/tag/v0.5.2).
110+
111+
## [3.6.0] - 2021-10-18
112+
113+
### Added
114+
115+
- Added new `defaultArgs`` value to enable overriding the default arguments.
116+
117+
### Changed
118+
119+
- Updated the _Metrics Server_ OCI image to [v0.5.1](https://github.com/kubernetes-sigs/metrics-server/releases/tag/v0.5.1).
120+
121+
## [3.5.0] - 2021-10-07
122+
123+
### Added
124+
125+
- Added initial Helm chart release from official repo.
126+
127+
<!--
128+
RELEASE LINKS
129+
-->
130+
[UNRELEASED]: https://github.com/kubernetes-sigs/metrics-server/compare/metrics-server-helm-chart-3.12.0...HEAD
131+
[3.12.0]: https://github.com/kubernetes-sigs/metrics-server/releases/tag/metrics-server-helm-chart-3.12.0
132+
[3.11.0]: https://github.com/kubernetes-sigs/metrics-server/releases/tag/metrics-server-helm-chart-3.11.0
133+
[3.10.0]: https://github.com/kubernetes-sigs/metrics-server/releases/tag/metrics-server-helm-chart-3.10.0
134+
[3.9.0]: https://github.com/kubernetes-sigs/metrics-server/releases/tag/metrics-server-helm-chart-3.9.0
135+
[3.8.4]: https://github.com/kubernetes-sigs/metrics-server/releases/tag/metrics-server-helm-chart-3.8.4
136+
[3.8.3]: https://github.com/kubernetes-sigs/metrics-server/releases/tag/metrics-server-helm-chart-3.8.3
137+
[3.8.2]: https://github.com/kubernetes-sigs/metrics-server/releases/tag/metrics-server-helm-chart-3.8.2
138+
[3.8.1]: https://github.com/kubernetes-sigs/metrics-server/releases/tag/metrics-server-helm-chart-3.8.1
139+
[3.8.0]: https://github.com/kubernetes-sigs/metrics-server/releases/tag/metrics-server-helm-chart-3.8.0
140+
[3.7.0]: https://github.com/kubernetes-sigs/metrics-server/releases/tag/metrics-server-helm-chart-3.7.0
141+
[3.6.0]: https://github.com/kubernetes-sigs/metrics-server/releases/tag/metrics-server-helm-chart-3.6.0
142+
[3.5.0]: https://github.com/kubernetes-sigs/metrics-server/releases/tag/metrics-server-helm-chart-3.5.0

charts/metrics-server/Chart.yaml

+4-8
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: metrics-server
33
description: Metrics Server is a scalable, efficient source of container resource metrics for Kubernetes built-in autoscaling pipelines.
44
type: application
5-
version: 3.11.0
6-
appVersion: 0.6.4
5+
version: 3.12.0
6+
appVersion: 0.7.0
77
keywords:
88
- kubernetes
99
- metrics-server
@@ -21,11 +21,7 @@ maintainers:
2121
url: https://github.com/endrec
2222
annotations:
2323
artifacthub.io/changes: |
24-
- kind: added
25-
description: "Added default Metrics Server resource requests."
2624
- kind: changed
27-
description: "Updated the Metrics Server OCI image to v0.6.3."
25+
description: "Updated the _Metrics Server_ OCI image to [v0.7.0](https://github.com/kubernetes-sigs/metrics-server/releases/tag/v0.7.0)."
2826
- kind: changed
29-
description: "Updated the addon resizer OCI image to v1.8.19."
30-
- kind: changed
31-
description: "Changed the default addon resizer nanny resource configuration to match the documented Metrics Server autoscaling values."
27+
description: "Updated the _addon-resizer_ OCI image to [v1.8.20](https://github.com/kubernetes/autoscaler/releases/tag/addon-resizer-1.8.20)."

charts/metrics-server/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ addonResizer:
129129
enabled: false
130130
image:
131131
repository: registry.k8s.io/autoscaling/addon-resizer
132-
tag: 1.8.19
132+
tag: 1.8.20
133133
securityContext:
134134
allowPrivilegeEscalation: false
135135
readOnlyRootFilesystem: true

0 commit comments

Comments
 (0)