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 #1608 from weaveworks/release/1.8.2
Browse files Browse the repository at this point in the history
Release Flux v1.8.2
  • Loading branch information
squaremo authored Dec 19, 2018
2 parents 7b24d23 + 5724cc0 commit e3baeeb
Show file tree
Hide file tree
Showing 46 changed files with 963 additions and 343 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG-helmop.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
## 0.5.1 (2018-11-21)

### Bug fixes

- Helm releases will now stay put when an upgrade fails or the
Kubernetes API connectivity is flaky, instead of getting purged
[weaveworks/flux#1530](https://github.com/weaveworks/flux/pull/1530)

### Thanks

Thanks to @sfrique, @brantb and @squaremo for helping document the
issues leading to this bug fix, @stefanprodan for actually squashing
the bug and all others that may have gone unnoticed while writing this
release note.

## 0.5.0 (2018-11-14)

WARNING: this release of the Helm operator is not backward-compatible:
Expand Down
64 changes: 63 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,68 @@
This is the changelog for the Flux daemon; the changelog for the Helm
operator is in [./CHANGELOG-helmop.md](./CHANGELOG-helmop.md).

## 1.8.2 (2018-12-19)

This holiday season release fixes a handful of annoyances, and adds an
experimental `--watch` flag for following the progress of `fluxctl
release`.

### Fixes

- Respect proxy env entries for git operations
[weaveworks/flux#1556][#1556]
- Only push the "sync tag" when the synced revision has changed,
avoiding spurious notifications [weaveworks/flux#1605][#1605]
- Return any sync errors for workloads in the ListControllers API
[weaveworks/flux#1521][#1521]

### Improvements

- The experimental flag `fluxctl release --watch` shows the rollout
progress of workloads in the release [weaveworks/flux#1525][#1525]
- The example manifests now include resource requests, to help
Kubernetes with scheduling [weaveworks/flux#1541][#1541]
- We have a more comprehensive [example git
repo](https://github.com/weaveworks/flux-get-started), which is
mentioned consistently throughout the docs
[weaveworks/flux#1527][#1527] and [weaveworks/flux#1540][#1540].
- Many clarifications and better structure in the docs
weaveworks/flux{[#1597], [#1595], [#1563], [#1555], [#1548],
[#1550], [#1549], [#1547], [#1508], [#1557]}
- Registry scanning produces far less log spam, and abandons scans as
soon as possible on being throttled [weaveworks/flux#1538][#1538]

### Thanks

Thanks to @Alien2150, @batpok, @bboreham, @brantb, @camilb,
@davidkarlsen, @dbluxo, @demikl, @dholbach, @dpgeekzero, @etos,
@hiddeco, @iandotmartin, @jakubbujny, @JeremyParker, @JimPruitt,
@johnraz, @kopachevsky, @kozejonaz, @leoblanc, @marccarre,
@marcincuber, @mgazza, @michalschott, @montyz, @ncabatoff, @nmaupu,
@Nogbit, @pdeveltere, @rampreethethiraj, @rndstr, @samisq, @scjudd,
@sfrique, @Smirl, @songsak2299, @squaremo, @stefanprodan,
@stephenmoloney, @Timer, @whereismyjetpack, @willnewby for
contributions in the period up to this release.

[#1508]: https://github.com/weaveworks/flux/pull/1508
[#1521]: https://github.com/weaveworks/flux/pull/1521
[#1525]: https://github.com/weaveworks/flux/pull/1525
[#1527]: https://github.com/weaveworks/flux/pull/1527
[#1538]: https://github.com/weaveworks/flux/pull/1538
[#1540]: https://github.com/weaveworks/flux/pull/1540
[#1541]: https://github.com/weaveworks/flux/pull/1541
[#1547]: https://github.com/weaveworks/flux/pull/1547
[#1548]: https://github.com/weaveworks/flux/pull/1548
[#1549]: https://github.com/weaveworks/flux/pull/1549
[#1550]: https://github.com/weaveworks/flux/pull/1550
[#1555]: https://github.com/weaveworks/flux/pull/1555
[#1556]: https://github.com/weaveworks/flux/pull/1556
[#1557]: https://github.com/weaveworks/flux/pull/1557
[#1563]: https://github.com/weaveworks/flux/pull/1563
[#1595]: https://github.com/weaveworks/flux/pull/1595
[#1597]: https://github.com/weaveworks/flux/pull/1597
[#1605]: https://github.com/weaveworks/flux/pull/1605

## 1.8.1 (2018-10-15)

This release completes the support for `HelmRelease` resources as used
Expand Down Expand Up @@ -47,7 +109,7 @@ range. If you run into difficulties relating to the `kubectl` version,

### Thanks

Thanks goes to @Ashiroq, @JimPruitt, @MansM, @Morriz, @Smirl, @Timer,
Thanks go to @Ashiroq, @JimPruitt, @MansM, @Morriz, @Smirl, @Timer,
@aytekk, @bzon, @camilb, @claude-leveille, @demikl, @dholbach,
@endrec, @foot, @hiddeco, @jrcole2884, @lelenanam, @marcusolsson,
@mellena1, @montyz, @olib963, @rade, @rndstr, @sfitts, @squaremo,
Expand Down
15 changes: 9 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.PHONY: all release-bins clean realclean test integration-test check-generated

SUDO := $(shell docker info > /dev/null 2> /dev/null || echo "sudo")

TEST_FLAGS?=

include docker/kubectl.version
Expand Down Expand Up @@ -40,8 +41,8 @@ clean:
realclean: clean
rm -rf ./cache

test:
PATH=${PATH}:${PWD}/bin go test ${TEST_FLAGS} $(shell go list ./... | grep -v "^github.com/weaveworks/flux/vendor" | sort -u)
test: build/helm
PATH=${PWD}/bin:${PWD}/build:${PATH} go test ${TEST_FLAGS} $(shell go list ./... | grep -v "^github.com/weaveworks/flux/vendor" | sort -u)

build/.%.done: docker/Dockerfile.%
mkdir -p ./build/docker/$*
Expand All @@ -64,28 +65,30 @@ build/helm-operator: cmd/helm-operator/*.go
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o $@ $(LDFLAGS) -ldflags "-X main.version=$(shell ./docker/image-tag)" ./cmd/helm-operator

build/kubectl: cache/kubectl-$(KUBECTL_VERSION)
mkdir -p build
cp cache/kubectl-$(KUBECTL_VERSION) $@
strip $@
chmod a+x $@

build/helm: cache/helm-$(HELM_VERSION)
mkdir -p build
cp cache/helm-$(HELM_VERSION) $@
strip $@
chmod a+x $@

cache/kubectl-$(KUBECTL_VERSION): docker/kubectl.version
mkdir -p cache
curl -L -o $(KUBECTL_TARGZ) "https://dl.k8s.io/$(KUBECTL_VERSION)/kubernetes-client-linux-amd64.tar.gz"
echo "$(KUBECTL_CHECKSUM) $(KUBECTL_TARGZ)" > "$(KUBECTL_TARGZ).checksum"
sha256sum -c $(KUBECTL_TARGZ).checksum
echo "$(KUBECTL_CHECKSUM) $(KUBECTL_TARGZ)" > "$(KUBECTL_TARGZ).checksum"
shasum -a 256 -c $(KUBECTL_TARGZ).checksum
tar -C ./cache -xzf $(KUBECTL_TARGZ) kubernetes/client/bin/kubectl
cp ./cache/kubernetes/client/bin/kubectl $@

cache/helm-$(HELM_VERSION): docker/helm.version
mkdir -p cache
curl -L -o $(HELM_TARGZ) "https://storage.googleapis.com/kubernetes-helm/helm-v$(HELM_VERSION)-linux-amd64.tar.gz"
echo "$(HELM_CHECKSUM) $(HELM_TARGZ)" > "$(HELM_TARGZ).checksum"
sha256sum -c "$(HELM_TARGZ).checksum"
echo "$(HELM_CHECKSUM) $(HELM_TARGZ)" > "$(HELM_TARGZ).checksum"
shasum -a 256 -c "$(HELM_TARGZ).checksum"
tar -C ./cache -xzf $(HELM_TARGZ) linux-amd64/helm
cp ./cache/linux-amd64/helm $@

Expand Down
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ We believe in GitOps:
- **You push code not containers.** Everything is controlled through
pull requests. There is no learning curve for new devs, they just use
your standard git PR process. The history in git allows you to recover
from any snapshot as you have an sequence of transactions. It is much
from any snapshot as you have a sequence of transactions. It is much
more transparent to make operational changes by pull request, e.g.
fix a production issue via a pull request instead of making changes to
the running system.
Expand Down Expand Up @@ -89,6 +89,16 @@ Get started by browsing through the documentation below:
- [Frequently encountered issues](https://github.com/weaveworks/flux/labels/FAQ)
- [Upgrading to Flux v1](/site/upgrading-to-1.0.md)

### Integrations

As Flux is Open Source, integrations are very straight-forward. Here are
a few popular ones you might want to check out:

- [Managing Helm releases the GitOps way](https://github.com/stefanprodan/gitops-helm)
- [OpenFaaS GitOps workflow with Flux](https://github.com/stefanprodan/openfaas-flux)
- [GitOps for Istio Canary deployments](https://github.com/stefanprodan/gitops-istio)
- [Fluxcloud to receive events from Flux](https://github.com/justinbarrick/fluxcloud)

## Community & Developer information

We welcome all kinds of contributions to Flux, be it code, issues you found,
Expand Down
1 change: 1 addition & 0 deletions api/v6/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ type ControllerStatus struct {
ReadOnly ReadOnlyReason
Status string
Rollout cluster.RolloutStatus
SyncError string
Antecedent flux.ResourceID
Labels map[string]string
Automated bool
Expand Down
127 changes: 127 additions & 0 deletions chart/flux/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
## 0.5.1 (2018-11-21)

### Bug fixes

- Removed CRD hook from chart
[weaveworks/flux#1536](https://github.com/weaveworks/flux/pull/1536)

### Improvements

- Updated Helm operator to `v0.5.1`
[weaveworks/flux#1536](https://github.com/weaveworks/flux/pull/1536)
- Updated chart README (removed Helm operator Git flags, fixed typos,
updated example repo and use the same Git URL format everywhere)
[weaveworks/flux#1527](https://github.com/weaveworks/flux/pull/1527)

## 0.5.0 (2018-11-16)

### Improvements

- Updated Flux to `v1.8.1` and the Helm operator to `v0.5.0`
[weaveworks/flux#1522](https://github.com/weaveworks/flux/pull/1522)
- Adapted chart to new Helm operator CRD and args
[weaveworks/flux#1382](https://github.com/weaveworks/flux/pull/1382)

## 0.4.1 (2018-11-04)

### Bug fixes

- Fixed indentation of `.Values.helmOperator.tls.caContent`
[weaveworks/flux#1484](https://github.com/weaveworks/flux/pull/1484)

### Improvements

- Updated Helm operator to `v0.4.0`
[weaveworks/flux#1487](https://github.com/weaveworks/flux/pull/1487)
- Added `--tiller-tls-hostname` Helm operator config flag to the chart
[weaveworks/flux#1484](https://github.com/weaveworks/flux/pull/1484)
- Include `valueFileSecrets` property in `helm-operator-crd.yaml`
[weaveworks/flux#1468](https://github.com/weaveworks/flux/pull/1468)
- Uniform language highlight on Helm chart README
[weaveworks/flux#1464](https://github.com/weaveworks/flux/pull/1463)

## 0.4.0 (2018-10-25)

### Bug fixes

- Made maximum memcache item size configurable, fixes
`SERVER_ERROR object too large for cache` errors on large deployments
[weaveworks/flux#1453](https://github.com/weaveworks/flux/pull/1453)
- Fixed indentation of `aditionalArgs`
[weaveworks/flux#1417](https://github.com/weaveworks/flux/pull/1417)

### Improvements

- Updated Flux to `v1.8.0` and the Helm operator to `0.3.0`
[weaveworks/flux#1470](https://github.com/weaveworks/flux/pull/1470)
- Deprecated Flux `--registry-cache-expiry` config flag
[weaveworks/flux#1470](https://github.com/weaveworks/flux/pull/1470)
- Added and documented multiple values (s.a. `nodeSelector`,
`extraEnvs`, `git.timeout`)
[weaveworks/flux#1469](https://github.com/weaveworks/flux/pull/1469)
[weaveworks/flux#1446](https://github.com/weaveworks/flux/pull/1446)
[weaveworks/flux#1416](https://github.com/weaveworks/flux/pull/1416)
- Made it possible to enable Promotheus annotations
[weaveworks/flux#1462](https://github.com/weaveworks/flux/pull/1462)

## 0.3.4 (2018-09-28)

### Improvements

- Updated Flux to `v1.7.1`
[weaveworks/flux#1405](https://github.com/weaveworks/flux/pull/1405)
- Custom SSH keys for Flux and Helm operator are now allowed
[weaveworks/flux#1391](https://github.com/weaveworks/flux/pull/1391)

## 0.3.3 (2018-09-18)

### Improvements

- Updated Flux to `v1.7.0` and the Helm operator to `v0.2.1`
[weaveworks/flux#1368](https://github.com/weaveworks/flux/pull/1368)
- Added memcached verbose option
[weaveworks/flux#1350](https://github.com/weaveworks/flux/pull/1350)
- Allow overrides of `.kube/config`
[weaveworks/flux#1342](https://github.com/weaveworks/flux/pull/1342)
- Documentation improvements
[weaveworks/flux#1357](https://github.com/weaveworks/flux/pull/1357)

## 0.3.2 (2018-08-31)

### Improvements

- Updated Flux to `v1.6.0`
[weaveworks/flux#1330](https://github.com/weaveworks/flux/pull/1330)
- Made the Helm operator CRD creation optional
[weaveworks/flux#1311](https://github.com/weaveworks/flux/pull/1311)

## 0.3.0 (2018-08-24)

### Improvements

- Updated Helm operator to `v0.2.0`
[weaveworks/flux#1308](https://github.com/weaveworks/flux/pull/1308)
- Added Flux git label and registry options
[weaveworks/flux#1305](https://github.com/weaveworks/flux/pull/1305)
- Removed `.Values.git.gitPath` value
[weaveworks/flux#1305](https://github.com/weaveworks/flux/pull/1305)
- Documented how to use a private Git host
[weaveworks/flux#1299](https://github.com/weaveworks/flux/pull/1299)
- Added option to opt-in to logging of release diffs
[weaveworks/flux#1271](https://github.com/weaveworks/flux/pull/1272)

## 0.2.2 (2018-08-09)

### Bug fixes

- Fixed indentation of `.Values.ssh.known_hosts`
[weaveworks/flux#1246](https://github.com/weaveworks/flux/pull/1246)

### Improvements

- Updated Flux to `v1.5.0`
[weaveworks/flux#1279](https://github.com/weaveworks/flux/pull/1279)
- Added openAPIV3Schema validation to Helm CRD
[weaveworks/flux#1253](https://github.com/weaveworks/flux/pull/1253)
- Fix markdown typo in README
[weaveworks/flux#1248](https://github.com/weaveworks/flux/pull/1248)
6 changes: 3 additions & 3 deletions chart/flux/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
apiVersion: v1
appVersion: "1.8.0"
appVersion: "1.8.1"
description: Flux is a tool that automatically ensures that the state of a cluster matches what is specified in version control
name: flux
version: 0.5.0-beta
version: 0.5.3
home: https://weave.works
sources:
- https://github.com/weaveworks/flux
maintainers:
- name: stefanprodan
email: stefan@weave.works
engine: gotpl
icon: https://landscape.cncf.io/logos/flux.svg
icon: https://landscape.cncf.io/logos/weave-flux.svg
Loading

0 comments on commit e3baeeb

Please sign in to comment.