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 #2296 from fluxcd/release/1.13.3
Browse files Browse the repository at this point in the history
Release 1.13.3
  • Loading branch information
squaremo authored Jul 25, 2019
2 parents 26e930b + f913959 commit e654595
Show file tree
Hide file tree
Showing 27 changed files with 167 additions and 115 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
# General contribution criteria
Please have a look at our contribution guidelines: https://github.com/weaveworks/flux/blob/master/CONTRIBUTING.md
Please have a look at our contribution guidelines: https://github.com/fluxcd/flux/blob/master/CONTRIBUTING.md
Particularly the sections about the:
- DCO;
Expand Down
50 changes: 50 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,56 @@
This is the changelog for the Flux daemon; the changelog for the Helm
operator is in [./CHANGELOG-helmop.md](./CHANGELOG-helmop.md).

## 1.13.3 (2019-07-25)

This is a patch release, mostly concerned with adapting documentation
to Flux's new home in https://github.com/fluxcd/ and the [CNCF
sandbox](https://www.cncf.io/sandbox-projects/).

### Fixes

- Correct the name of the `--registry-require` argument mentioned in a
log message [fluxcd/flux#2256][]
- Parse Docker credentials that have a host and port, but not a scheme
[fluxcd/flux#2248][]

### Maintenance and documentation

- Change references to weaveworks/flux to fluxcd/flux
[fluxcd/flux#2240][], [fluxcd/flux#2244][], [fluxcd/flux#2257][],
[fluxcd/flux#2271][]
- Add Walmart to production users (:tada:!) [fluxcd/flux#2268][]
- Mention the multi-tenancy tutorial in the README
[fluxcd/flux#2286][]
- Fix the filename given in the `.flux.yaml` (manifest generation)
docs [fluxcd/flux#2270][]
- Run credentials tests in parallel, without sleeping
[fluxcd/flux#2254][]
- Correct the Prometheus annotations given in examples
[fluxcd/flux#2278][]

### Thanks

Thanks to the following for contributions since the last release:
@2opremio, @aaron-trout, @adusumillipraveen, @alexhumphreys,
@aliartiza75, @ariep, @binjheBenjamin, @bricef, @caniszczyk,
@carlosjgp, @carlpett, @chriscorn-takt, @cloudoutloud, @derrickburns,
@dholbach, @fnmeissner, @gled4er, @hiddeco, @jmtrusona, @jowparks,
@jpellizzari, @ksaritek, @ktsakalozos, @mar1n3r0, @mzachh, @primeroz,
@squaremo, @stefanprodan, @sureshamk, @vyckou, @ybaruchel, @zoni.

[fluxcd/flux#2240]: https://github.com/fluxcd/flux/pull/2240
[fluxcd/flux#2244]: https://github.com/fluxcd/flux/pull/2244
[fluxcd/flux#2248]: https://github.com/fluxcd/flux/pull/2248
[fluxcd/flux#2254]: https://github.com/fluxcd/flux/pull/2254
[fluxcd/flux#2256]: https://github.com/fluxcd/flux/pull/2256
[fluxcd/flux#2257]: https://github.com/fluxcd/flux/pull/2257
[fluxcd/flux#2268]: https://github.com/fluxcd/flux/pull/2268
[fluxcd/flux#2270]: https://github.com/fluxcd/flux/pull/2270
[fluxcd/flux#2271]: https://github.com/fluxcd/flux/pull/2271
[fluxcd/flux#2278]: https://github.com/fluxcd/flux/pull/2278
[fluxcd/flux#2286]: https://github.com/fluxcd/flux/pull/2286

## 1.13.2 (2019-07-10)

This is a patch release, including a fix for [problems with using image
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ contribution. No action from you is required, but it's a good idea to see the
## Communications

The project uses Slack: To join the conversation, simply join the
[Weave community](https://slack.weave.works/) Slack workspace and use the
[#flux](https://weave-community.slack.com/messages/flux/) channel.
[CNCF](https://slack.cncf.io/) Slack workspace and use the
[#flux](https://cloud-native.slack.com/messages/flux/) channel.

The Flux developers use a mailing list to discuss development as well.
Simply subscribe to [flux-dev on Google
Groups](https://groups.google.com/forum/#!forum/flux-dev) to join the
conversation (this will also add an invitation to your Google calendar
for our [Flux meeting](https://github.com/weaveworks/flux/wiki/Meeting)).
for our [Flux meeting](https://docs.google.com/document/d/1l_M0om0qUEN_NNiGgpqJ2tvsF2iioHkaARDeh6b70B0/edit#)).

## Getting Started

Expand Down
32 changes: 18 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Flux

> **Notice** Flux has moved house! Please see https://github.com/weaveworks/flux/wiki/MoveToFluxCD
We believe in GitOps:

- **You declaratively describe the entire desired state of your
Expand Down Expand Up @@ -31,8 +33,8 @@ new infrastructure.

![Deployment Pipeline](site/images/deployment-pipeline.png)

[![CircleCI](https://circleci.com/gh/weaveworks/flux.svg?style=svg)](https://circleci.com/gh/weaveworks/flux)
[![GoDoc](https://godoc.org/github.com/weaveworks/flux?status.svg)](https://godoc.org/github.com/weaveworks/flux)
[![CircleCI](https://circleci.com/gh/fluxcd/flux.svg?style=svg)](https://circleci.com/gh/fluxcd/flux)
[![GoDoc](https://godoc.org/github.com/fluxcd/flux?status.svg)](https://godoc.org/github.com/fluxcd/flux)

## What Flux does

Expand Down Expand Up @@ -76,6 +78,7 @@ Its major features are:
- [Troii](https://troii.com/)
- [Under Armour](https://www.underarmour.com)
- [VSHN](https://vshn.ch)
- [Walmart Chile](https://www.walmartchile.cl)
- [Weave Cloud](https://cloud.weave.works)

If you too are using Flux in production; please submit a PR to add your organization to the list!
Expand All @@ -100,7 +103,7 @@ Get started by browsing through the documentation below:

- Background about Flux
- [Introduction to Flux](/site/introduction.md)
- [FAQ](/site/faq.md) and [frequently encountered issues](https://github.com/weaveworks/flux/labels/FAQ)
- [FAQ](/site/faq.md) and [frequently encountered issues](https://github.com/fluxcd/flux/labels/FAQ)
- [How it works](/site/how-it-works.md)
- [Considerations regarding installing Flux](/site/installing.md)
- [Flux <-> Helm integration](/site/helm-integration.md)
Expand All @@ -112,15 +115,16 @@ Get started by browsing through the documentation below:
- [Using fluxctl to control Flux](/site/fluxctl.md)
- [Helm Operator](/site/helm-operator.md)
- [Troubleshooting](/site/troubleshooting.md)
- [Frequently encountered issues](https://github.com/weaveworks/flux/labels/FAQ)
- [Frequently encountered issues](https://github.com/fluxcd/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)
- [Manage a multi-tenant cluster with Flux and Kustomize](https://github.com/fluxcd/multi-tenancy)
- [Managing Helm releases the GitOps way](https://github.com/fluxcd/helm-operator-get-started)
- [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)
Expand All @@ -130,10 +134,12 @@ a few popular ones you might want to check out:
We welcome all kinds of contributions to Flux, be it code, issues you found,
documentation, external tools, help and support or anything else really.

The Flux project adheres to the [CNCF Code of
Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md).

Instances of abusive, harassing, or otherwise unacceptable behavior
may be reported by contacting a *Flux* project maintainer, or Alexis
Richardson `<alexis@weave.works>`. Please refer to our [code of
conduct](CODE_OF_CONDUCT.md) as well.
may be reported by contacting a *Flux* project maintainer, or the CNCF
mediator, Mishi Choudhary <mishi@linux.com>.

To familiarise yourself with the project and how things work, you might
be interested in the following:
Expand All @@ -146,14 +152,12 @@ be interested in the following:

If you have any questions about Flux and continuous delivery:

- Read [the Weave Flux docs](https://github.com/weaveworks/flux/tree/master/site).
- Invite yourself to the <a href="https://slack.weave.works/" target="_blank">Weave community</a>
slack and ask a question on the [#flux](https://weave-community.slack.com/messages/flux/)
- Read [the Flux docs](https://github.com/fluxcd/flux/tree/master/site).
- Invite yourself to the <a href="https://slack.cncf.io" target="_blank">CNCF community</a>
slack and ask a question on the [#flux](https://cloud-native.slack.com/messages/flux/)
channel.
- To be part of the conversation about Flux's development, join the
[flux-dev mailing list](https://groups.google.com/forum/#!forum/flux-dev).
- Join the [Weave User Group](https://www.meetup.com/pro/Weave/) and get
invited to online talks, hands-on training and meetups in your area.
- [File an issue.](https://github.com/weaveworks/flux/issues/new)
- [File an issue.](https://github.com/fluxcd/flux/issues/new)

Your feedback is always welcome!
2 changes: 1 addition & 1 deletion api/v9/change_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

func TestChangeEncoding(t *testing.T) {
ref, _ := image.ParseRef("docker.io/weaveworks/flux")
ref, _ := image.ParseRef("docker.io/fluxcd/flux")
name := ref.Name

for _, update := range []Change{
Expand Down
4 changes: 2 additions & 2 deletions chart/flux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ The following tables lists the configurable parameters of the Weave Flux chart a

| Parameter | Default | Description
| ----------------------------------------------- | ---------------------------------------------------- | ---
| `image.repository` | `docker.io/weaveworks/flux` | Image repository
| `image.repository` | `docker.io/fluxcd/flux` | Image repository
| `image.tag` | `<VERSION>` | Image tag
| `replicaCount` | `1` | Number of Flux pods to deploy, more than one is not desirable.
| `image.pullPolicy` | `IfNotPresent` | Image pull policy
Expand Down Expand Up @@ -251,7 +251,7 @@ The following tables lists the configurable parameters of the Weave Flux chart a
| `memcached.securityContext` | [See values.yaml](/chart/flux/values.yaml#L192-L195) | Container security context for memcached
| `helmOperator.create` | `false` | If `true`, install the Helm operator
| `helmOperator.createCRD` | `true` | Create the `v1beta1` and `v1alpha2` Flux CRDs. Dependent on `helmOperator.create=true`
| `helmOperator.repository` | `docker.io/weaveworks/helm-operator` | Helm operator image repository
| `helmOperator.repository` | `docker.io/fluxcd/helm-operator` | Helm operator image repository
| `helmOperator.tag` | `<VERSION>` | Helm operator image tag
| `helmOperator.replicaCount` | `1` | Number of helm operator pods to deploy, more than one is not desirable.
| `helmOperator.pullPolicy` | `IfNotPresent` | Helm operator image pull policy
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 @@ -17,7 +17,7 @@ spec:
metadata:
annotations:
{{- if .Values.prometheus.enabled }}
prometheus.io.scrape: "true"
prometheus.io/scrape: "true"
{{- end }}
{{- if .Values.annotations }}
{{- .Values.annotations | toYaml | trimSuffix "\n" | nindent 8 }}
Expand Down
2 changes: 1 addition & 1 deletion chart/flux/templates/helm-operator-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
metadata:
annotations:
{{- if .Values.prometheus.enabled }}
prometheus.io.scrape: "true"
prometheus.io/scrape: "true"
{{- end }}
{{- if .Values.helmOperator.annotations }}
{{- .Values.helmOperator.annotations | toYaml | trimSuffix "\n" | nindent 8 }}
Expand Down
8 changes: 4 additions & 4 deletions chart/flux/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ replicaCount: 1
logFormat: fmt

image:
repository: docker.io/weaveworks/flux
tag: 1.13.2
repository: docker.io/fluxcd/flux
tag: 1.13.3
pullPolicy: IfNotPresent
pullSecret:

Expand All @@ -21,8 +21,8 @@ helmOperator:
replicaCount: 1
create: false
createCRD: true
repository: docker.io/weaveworks/helm-operator
tag: 0.9.1
repository: docker.io/fluxcd/helm-operator
tag: 0.10.0
pullPolicy: IfNotPresent
pullSecret:
# Limit the operator scope to a single namespace
Expand Down
20 changes: 10 additions & 10 deletions cluster/kubernetes/policies_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ func TestUpdatePolicies(t *testing.T) {
}{
{
name: "adding annotation with others existing",
in: []string{"prometheus.io.scrape", "'false'"},
out: []string{"prometheus.io.scrape", "'false'", "flux.weave.works/automated", "'true'"},
in: []string{"prometheus.io/scrape", "'false'"},
out: []string{"prometheus.io/scrape", "'false'", "flux.weave.works/automated", "'true'"},
update: resource.PolicyUpdate{
Add: policy.Set{policy.Automated: "true"},
},
Expand All @@ -38,8 +38,8 @@ func TestUpdatePolicies(t *testing.T) {
},
{
name: "adding annotation when already has annotation and others",
in: []string{"flux.weave.works/automated", "'true'", "prometheus.io.scrape", "'false'"},
out: []string{"flux.weave.works/automated", "'true'", "prometheus.io.scrape", "'false'"},
in: []string{"flux.weave.works/automated", "'true'", "prometheus.io/scrape", "'false'"},
out: []string{"flux.weave.works/automated", "'true'", "prometheus.io/scrape", "'false'"},
update: resource.PolicyUpdate{
Add: policy.Set{policy.Automated: "true"},
},
Expand All @@ -54,8 +54,8 @@ func TestUpdatePolicies(t *testing.T) {
},
{
name: "add and remove different annotations at the same time",
in: []string{"flux.weave.works/automated", "'true'", "prometheus.io.scrape", "'false'"},
out: []string{"prometheus.io.scrape", "'false'", "flux.weave.works/locked", "'true'"},
in: []string{"flux.weave.works/automated", "'true'", "prometheus.io/scrape", "'false'"},
out: []string{"prometheus.io/scrape", "'false'", "flux.weave.works/locked", "'true'"},
update: resource.PolicyUpdate{
Add: policy.Set{policy.Locked: "true"},
Remove: policy.Set{policy.Automated: "true"},
Expand All @@ -72,8 +72,8 @@ func TestUpdatePolicies(t *testing.T) {
},
{
name: "remove annotation with others existing",
in: []string{"flux.weave.works/automated", "true", "prometheus.io.scrape", "false"},
out: []string{"prometheus.io.scrape", "false"},
in: []string{"flux.weave.works/automated", "true", "prometheus.io/scrape", "false"},
out: []string{"prometheus.io/scrape", "false"},
update: resource.PolicyUpdate{
Remove: policy.Set{policy.Automated: "true"},
},
Expand All @@ -96,8 +96,8 @@ func TestUpdatePolicies(t *testing.T) {
},
{
name: "remove annotation with only others",
in: []string{"prometheus.io.scrape", "false"},
out: []string{"prometheus.io.scrape", "false"},
in: []string{"prometheus.io/scrape", "false"},
out: []string{"prometheus.io/scrape", "false"},
update: resource.PolicyUpdate{
Remove: policy.Set{policy.Automated: "true"},
},
Expand Down
4 changes: 2 additions & 2 deletions cluster/kubernetes/update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ spec:
labels:
name: authfe
annotations:
prometheus.io.port: "8080"
prometheus.io/port: "8080"
spec:
# blank comment spacers in the following
containers:
Expand Down Expand Up @@ -522,7 +522,7 @@ spec:
labels:
name: authfe
annotations:
prometheus.io.port: "8080"
prometheus.io/port: "8080"
spec:
# blank comment spacers in the following
containers:
Expand Down
4 changes: 2 additions & 2 deletions cmd/fluxd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ func main() {
possiblyRequired := stringset(RequireValues)
for _, r := range *registryRequire {
if !possiblyRequired.has(r) {
logger.Log("err", fmt.Sprintf("--registry-required value %q is not in possible values {%s}", r, strings.Join(RequireValues, ",")))
logger.Log("err", fmt.Sprintf("--registry-require value %q is not in possible values {%s}", r, strings.Join(RequireValues, ",")))
os.Exit(1)
}
}
Expand Down Expand Up @@ -449,7 +449,7 @@ func main() {
awsPreflight, credsWithAWSAuth := registry.ImageCredsWithAWSAuth(imageCreds, log.With(logger, "component", "aws"), awsConf)
if mandatoryRegistry.has(RequireECR) {
if err := awsPreflight(); err != nil {
logger.Log("error", "AWS API required (due to --registry-required=ecr), but not available", "err", err)
logger.Log("error", "AWS API required (due to --registry-require=ecr), but not available", "err", err)
os.Exit(1)
}
}
Expand Down
2 changes: 1 addition & 1 deletion deploy-helm/helm-operator-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
# There are no ":latest" images for helm-operator. Find the most recent
# release or image version at https://hub.docker.com/r/weaveworks/helm-operator/tags
# and replace the tag here.
image: docker.io/weaveworks/helm-operator:0.9.1
image: docker.io/fluxcd/helm-operator:0.9.1
imagePullPolicy: IfNotPresent
ports:
- name: http
Expand Down
4 changes: 2 additions & 2 deletions deploy-helm/weave-cloud-helm-operator-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
template:
metadata:
annotations:
prometheus.io.scrape: "false"
prometheus.io/scrape: "false"
labels:
app: flux-helm-operator
spec:
Expand All @@ -27,7 +27,7 @@ spec:
secretName: flux-git-deploy
containers:
- name: flux-helm-operator
image: docker.io/weaveworks/helm-operator:0.9.1
image: docker.io/fluxcd/helm-operator:0.9.1
imagePullPolicy: IfNotPresent
args:
- --git-timeout=20s
Expand Down
4 changes: 2 additions & 2 deletions deploy/flux-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
template:
metadata:
annotations:
prometheus.io.port: "3031" # tell prometheus to scrape /metrics endpoint's port.
prometheus.io/port: "3031" # tell prometheus to scrape /metrics endpoint's port.
labels:
name: flux
spec:
Expand Down Expand Up @@ -63,7 +63,7 @@ spec:
# There are no ":latest" images for flux. Find the most recent
# release or image version at https://hub.docker.com/r/weaveworks/flux/tags
# and replace the tag here.
image: docker.io/weaveworks/flux:1.13.2
image: docker.io/fluxcd/flux:1.13.3
imagePullPolicy: IfNotPresent
resources:
requests:
Expand Down
Loading

0 comments on commit e654595

Please sign in to comment.