Skip to content

Commit b9b80de

Browse files
authored
feat(node-config): Explicit run as (#1268)
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
1 parent 165ab5e commit b9b80de

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

charts/node-config/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,14 @@
1414

1515
## [UNRELEASED]
1616

17+
## [v0.7.0] - 2025-10-07
18+
1719
### Changed
1820

1921
- Update the _registry.k8s.io/pause_ OCI image version to `3.10.1`. ([#1226](https://github.com/stevehipwell/helm-charts/pull/1226)) _@stevehipwell_
22+
- Explicitly set non-root run as user and group for pause container. ([#1268](https://github.com/stevehipwell/helm-charts/pull/1268)) _@stevehipwell_
2023

21-
## [v0.6.0] - 2023-06-24
24+
## [v0.6.0] - 2024-06-24
2225

2326
### Added
2427

@@ -74,6 +77,7 @@
7477
RELEASE LINKS
7578
-->
7679
[UNRELEASED]: https://github.com/stevehipwell/helm-charts/tree/main/charts/node-config
80+
[v0.7.0]: https://github.com/stevehipwell/helm-charts/releases/tag/node-config-0.7.0
7781
[v0.6.0]: https://github.com/stevehipwell/helm-charts/releases/tag/node-config-0.6.0
7882
[v0.5.0]: https://github.com/stevehipwell/helm-charts/releases/tag/node-config-0.5.0
7983
[v0.4.1]: https://github.com/stevehipwell/helm-charts/releases/tag/node-config-0.4.1

charts/node-config/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: node-config
33
description: Helm chart for configuring Kubernetes nodes via a DaemonSet init container.
44
type: application
5-
version: 0.6.0
5+
version: 0.7.0
66
appVersion: 0.1.0
77
home: https://github.com/stevehipwell/helm-charts/
88
icon: https://raw.githubusercontent.com/stevehipwell/helm-charts/main/charts/node-config/icon.png

charts/node-config/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# node-config
22

3-
![Version: 0.6.0](https://img.shields.io/badge/Version-0.6.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square)
3+
![Version: 0.7.0](https://img.shields.io/badge/Version-0.7.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square)
44

55
Helm chart for configuring Kubernetes nodes via a DaemonSet init container.
66

@@ -23,15 +23,15 @@ Helm chart for configuring Kubernetes nodes via a DaemonSet init container.
2323
To install the chart using the recommended OCI method you can use the following command.
2424

2525
```shell
26-
helm upgrade --install node-config oci://ghcr.io/stevehipwell/helm-charts/node-config --version 0.6.0
26+
helm upgrade --install node-config oci://ghcr.io/stevehipwell/helm-charts/node-config --version 0.7.0
2727
```
2828

2929
#### Verification
3030

3131
As the OCI chart release is signed by [Cosign](https://github.com/sigstore/cosign) you can verify the chart before installing it by running the following command.
3232

3333
```shell
34-
cosign verify --certificate-oidc-issuer https://token.actions.githubusercontent.com --certificate-identity-regexp 'https://github\.com/action-stars/helm-workflows/\.github/workflows/release\.yaml@.+' --certificate-github-workflow-repository stevehipwell/helm-charts --certificate-github-workflow-name Release ghcr.io/stevehipwell/helm-charts/node-config:0.6.0
34+
cosign verify --certificate-oidc-issuer https://token.actions.githubusercontent.com --certificate-identity-regexp 'https://github\.com/action-stars/helm-workflows/\.github/workflows/release\.yaml@.+' --certificate-github-workflow-repository stevehipwell/helm-charts --certificate-github-workflow-name Release ghcr.io/stevehipwell/helm-charts/node-config:0.7.0
3535
```
3636

3737
### Non-OCI Repository
@@ -40,7 +40,7 @@ Alternatively you can use the legacy non-OCI method via the following commands.
4040

4141
```shell
4242
helm repo add stevehipwell https://stevehipwell.github.io/helm-charts/
43-
helm upgrade --install node-config stevehipwell/node-config --version 0.6.0
43+
helm upgrade --install node-config stevehipwell/node-config --version 0.7.0
4444
```
4545

4646
## Values

charts/node-config/templates/daemonset.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,11 @@ spec:
7777
containers:
7878
- name: pause
7979
securityContext:
80-
runAsNonRoot: true
81-
readOnlyRootFilesystem: true
8280
privileged: false
81+
readOnlyRootFilesystem: true
82+
runAsNonRoot: true
83+
runAsUser: 65532
84+
runAsGroup: 65532
8385
allowPrivilegeEscalation: false
8486
capabilities:
8587
drop:

0 commit comments

Comments
 (0)