Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Merge pull request #3565 from fluxcd/release/1.24.2
Browse files Browse the repository at this point in the history
Release 1.24.2
  • Loading branch information
Kingdon Barrett committed Nov 2, 2021
2 parents 13b3e66 + 62675b3 commit 603cb67
Show file tree
Hide file tree
Showing 9 changed files with 49 additions and 8 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,24 @@
> requests](https://github.com/fluxcd/toolkit/discussions) for Flux v2
> and Toolkit components.
## 1.24.2 (2021-11-02)

This release updates the behavior of the dynamic client logger to eliminate the
needless emission of some especially noisy and unhelpful deprecation warnings.

This release also includes a base image upgrade of the Alpine 3.14.2 upstream
that mitigates several CVE warnings from dependencies like nettle and libcurl.

### Fixes

- Suppress deprecation warnings [fluxcd/flux#3558][]

### Thanks

Thanks to @dimbleby, @squaremo, and @kingdonb for their contributions to this release.

[fluxcd/flux#3558]: https://github.com/fluxcd/flux/pull/3558

## 1.24.1 (2021-09-08)

This release fixes an issue when Docker Hub rate limit is not properly handled
Expand Down
18 changes: 18 additions & 0 deletions chart/flux/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
## 1.11.2 (2021-09-10)

Single-tenant Flux users reported a regression that affected automated image
updates in certain configurations from this chart fix, so it is reverted to
preserve backwards compatibility.

### Fixes

- Revert [#3482](https://github.com/fluxcd/flux/pull/3482) (undo chart-1.11.0)
[fluxcd/flux#3553](https://github.com/fluxcd/flux/pull/3553)

## 1.11.1 (2021-09-09)

### Improvements

- Updated Flux to `1.24.1`
[fluxcd/flux#3551](https://github.com/fluxcd/flux/pull/3551)

## 1.11.0 (2021-08-20)

### Fixes
Expand Down
4 changes: 2 additions & 2 deletions chart/flux/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
appVersion: "1.24.0"
version: 1.11.0
appVersion: "1.24.1"
version: 1.11.2
kubeVersion: ">=1.16.0-0"
name: flux
description: Flux is a tool that automatically ensures that the state of a cluster matches what is specified in version control
Expand Down
2 changes: 1 addition & 1 deletion chart/flux/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ spec:
name: {{ .Values.env.secretName }}
{{- end }}
args:
{{- if and (not .Values.clusterRole.create) ( .Values.allowedNamespaces) }}
{{- if not .Values.clusterRole.create }}
- --k8s-allow-namespace={{ join "," (append .Values.allowedNamespaces .Release.Namespace) }}
{{- end}}
{{- if .Values.defaultNamespace }}
Expand Down
2 changes: 1 addition & 1 deletion chart/flux/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ logFormat: fmt

image:
repository: docker.io/fluxcd/flux
tag: 1.24.0
tag: 1.24.1
pullPolicy: IfNotPresent
pullSecret:

Expand Down
7 changes: 6 additions & 1 deletion cmd/fluxd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,12 @@ func main() {
logger.Log("err", err)
os.Exit(1)
}
dynamicClientset, err := k8sclientdynamic.NewForConfig(restClientConfig)

// The dynamic client gets deprecation warnings, which are not useful:
// see <https://github.com/fluxcd/flux/issues/3554>. Suppress them.
noWarningsRestClientConfig := rest.CopyConfig(restClientConfig)
noWarningsRestClientConfig.WarningHandler = rest.NoWarnings{}
dynamicClientset, err := k8sclientdynamic.NewForConfig(noWarningsRestClientConfig)
if err != nil {
logger.Log("err", err)
os.Exit(1)
Expand Down
2 changes: 1 addition & 1 deletion deploy/flux-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ spec:
# There are no ":latest" images for flux. Find the most recent
# release or image version at https://hub.docker.com/r/fluxcd/flux/tags
# and replace the tag here.
image: docker.io/fluxcd/flux:1.24.1
image: docker.io/fluxcd/flux:1.24.2
imagePullPolicy: IfNotPresent
resources:
requests:
Expand Down
2 changes: 1 addition & 1 deletion pkg/install/generated_templates.gogen.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/install/templates/flux-deployment.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ spec:
# There are no ":latest" images for flux. Find the most recent
# release or image version at https://hub.docker.com/r/fluxcd/flux/tags
# and replace the tag here.
image: docker.io/fluxcd/flux:1.24.1
image: docker.io/fluxcd/flux:1.24.2
imagePullPolicy: IfNotPresent
resources:
requests:
Expand Down

0 comments on commit 603cb67

Please sign in to comment.