Skip to content

Commit

Permalink
feat(kube-proxy): Fixed log args (#1017)
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Hipwell <[email protected]>
  • Loading branch information
stevehipwell authored Aug 1, 2024
1 parent cff4dd3 commit 893edbc
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
7 changes: 7 additions & 0 deletions charts/kube-proxy/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@

## [UNRELEASED]

## [v0.0.4] - 2024-08-01

### Fixed

- Removed unknown `logtostderr` arg.

## [v0.0.3] - 2024-08-01

### Added
Expand All @@ -36,6 +42,7 @@
RELEASE LINKS
-->
[UNRELEASED]: https://github.com/stevehipwell/helm-charts/tree/main/charts/kube-proxy
[v0.0.4]: https://github.com/stevehipwell/helm-charts/releases/tag/kube-proxy-0.0.4
[v0.0.3]: https://github.com/stevehipwell/helm-charts/releases/tag/kube-proxy-0.0.3
[v0.0.2]: https://github.com/stevehipwell/helm-charts/releases/tag/kube-proxy-0.0.2
[v0.0.1]: https://github.com/stevehipwell/helm-charts/releases/tag/kube-proxy-0.0.1
6 changes: 3 additions & 3 deletions charts/kube-proxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: kube-proxy
description: Helm chart for managing kube-proxy.
type: application
version: 0.0.3
version: 0.0.4
appVersion: 1.30.3
keywords:
- kubernetes
Expand All @@ -19,5 +19,5 @@ maintainers:
email: [email protected]
annotations:
artifacthub.io/changes: |
- kind: added
description: "Added default behavior to run an init container to allow the default container to [run unprivileged](https://www.kubernetes.dev/blog/2024/01/05/kube-proxy-non-privileged/)."
- kind: fixed
description: "Removed unknown `logtostderr` arg."
8 changes: 4 additions & 4 deletions charts/kube-proxy/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# kube-proxy

![Version: 0.0.3](https://img.shields.io/badge/Version-0.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.30.3](https://img.shields.io/badge/AppVersion-1.30.3-informational?style=flat-square)
![Version: 0.0.4](https://img.shields.io/badge/Version-0.0.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.30.3](https://img.shields.io/badge/AppVersion-1.30.3-informational?style=flat-square)

Helm chart for managing kube-proxy.

Expand All @@ -24,15 +24,15 @@ Helm chart for managing kube-proxy.
To install the chart using the recommended OCI method you can use the following command.

```shell
helm upgrade --install kube-proxy oci://ghcr.io/stevehipwell/helm-charts/kube-proxy --version 0.0.3
helm upgrade --install kube-proxy oci://ghcr.io/stevehipwell/helm-charts/kube-proxy --version 0.0.4
```

#### Verification

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.

```shell
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/kube-proxy:0.0.3
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/kube-proxy:0.0.4
```

### Non-OCI Repository
Expand All @@ -41,7 +41,7 @@ Alternatively you can use the legacy non-OCI method via the following commands.

```shell
helm repo add stevehipwell https://stevehipwell.github.io/helm-charts/
helm upgrade --install kube-proxy stevehipwell/kube-proxy --version 0.0.3
helm upgrade --install kube-proxy stevehipwell/kube-proxy --version 0.0.4
```

## Values
Expand Down
2 changes: 0 additions & 2 deletions charts/kube-proxy/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ spec:
fieldPath: spec.nodeName
command:
- kube-proxy
- --logtostderr=true
- {{ printf "--v=%s" (toString .Values.logLevel) }}
- --config=/var/lib/kube-proxy/config
- --hostname-override=$(NODE_NAME)
Expand Down Expand Up @@ -105,7 +104,6 @@ spec:
fieldPath: spec.nodeName
command:
- kube-proxy
- --logtostderr=true
- {{ printf "--v=%s" (toString .Values.logLevel) }}
- --config=/var/lib/kube-proxy/config
- --hostname-override=$(NODE_NAME)
Expand Down

0 comments on commit 893edbc

Please sign in to comment.