Skip to content

Commit 0027556

Browse files
authored
Merge pull request #42 from fluxcd/release-v0.0.1-beta.2
Release v0.0.1 beta.2
2 parents 8b8c03f + 9c18d04 commit 0027556

File tree

7 files changed

+16
-9
lines changed

7 files changed

+16
-9
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to this project are documented in this file.
44

5+
## 0.0.1-beta.2 (2020-06-10)
6+
7+
This beta release allows configuring the number of concurrent reconciles.
8+
Starting with this version, the controller watches for resources
9+
only in the namespace where it's deployed.
10+
511
## 0.0.1-beta.1 (2020-05-29)
612

713
This is the first beta release of kustomize controller.

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ kustomize_url=https://github.com/kubernetes-sigs/kustomize/releases/download &&
77
curl -sL ${kustomize_url}/kustomize%2Fv${kustomize_ver}/kustomize_v${kustomize_ver}_linux_amd64.tar.gz | \
88
tar xz && mv kustomize /usr/local/bin/kustomize
99

10-
RUN kubectl_ver=1.18.2 && \
10+
RUN kubectl_ver=1.18.3 && \
1111
curl -sL https://storage.googleapis.com/kubernetes-release/release/v${kubectl_ver}/bin/linux/amd64/kubectl \
1212
-o /usr/local/bin/kubectl && chmod +x /usr/local/bin/kubectl
1313

@@ -27,7 +27,7 @@ COPY internal/ internal/
2727
# build
2828
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o kustomize-controller main.go
2929

30-
FROM alpine:3.11
30+
FROM alpine:3.12
3131

3232
RUN apk add --no-cache ca-certificates tar tini git socat curl bash
3333

config/default/kustomization.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ resources:
55
- ../crd
66
- ../rbac
77
- ../manager
8-
- github.com/fluxcd/source-controller/config//crd?ref=v0.0.1-alpha.6
9-
- github.com/fluxcd/source-controller/config//manager?ref=v0.0.1-alpha.6
8+
- github.com/fluxcd/source-controller/config//crd?ref=v0.0.1-beta.2
9+
- github.com/fluxcd/source-controller/config//manager?ref=v0.0.1-beta.2
1010
- namespace.yaml

config/manager/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ resources:
55
images:
66
- name: fluxcd/kustomize-controller
77
newName: fluxcd/kustomize-controller
8-
newTag: v0.0.1-beta.1
8+
newTag: v0.0.1-beta.2

controllers/kustomization_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ func (r *KustomizationReconciler) download(kustomization kustomizev1.Kustomizati
287287
ctx, cancel := context.WithTimeout(context.Background(), timeout)
288288
defer cancel()
289289

290-
cmd := fmt.Sprintf("cd %s && curl -sL %s -o artifact.tar.gz && tar -xzf artifact.tar.gz --strip-components=1 -C .",
290+
cmd := fmt.Sprintf("cd %s && curl -sL %s -o artifact.tar.gz && tar -xzf artifact.tar.gz -C .",
291291
tmpDir, url)
292292
command := exec.CommandContext(ctx, "/bin/sh", "-c", cmd)
293293
output, err := command.CombinedOutput()

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/fluxcd/kustomize-controller
33
go 1.13
44

55
require (
6-
github.com/fluxcd/source-controller v0.0.1-alpha.6
6+
github.com/fluxcd/source-controller v0.0.1-beta.2
77
github.com/go-logr/logr v0.1.0
88
github.com/onsi/ginkgo v1.11.0
99
github.com/onsi/gomega v1.8.1

go.sum

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ github.com/evanphx/json-patch v4.5.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLi
135135
github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d/go.mod h1:ZZMPRZwes7CROmyNKgQzC3XPs6L/G2EJLHddWejkmf4=
136136
github.com/fatih/camelcase v1.0.0/go.mod h1:yN2Sb0lFhZJUdVvtELVWefmrXpuZESvPmqwoZc+/fpc=
137137
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
138-
github.com/fluxcd/source-controller v0.0.1-alpha.6 h1:CpSH1mA9bRjifRwmcVS98ejY2MA9ofTyLbl2xwT0MqM=
139-
github.com/fluxcd/source-controller v0.0.1-alpha.6/go.mod h1:gvU+sR6yH9kbyWZAJ9NEBQJMsJ+S3yCyOdPIhM+8FUI=
138+
github.com/fluxcd/source-controller v0.0.1-beta.2 h1:XOtc+tSf/8Q0bTVla2L5FdCMMjJWFSPWX/o4/h4OUv0=
139+
github.com/fluxcd/source-controller v0.0.1-beta.2/go.mod h1:tmscNdCxEt7+Xt2g1+bI38hMPw2leYMFAaCn4UlMGuw=
140140
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc=
141141
github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=
142142
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
@@ -479,6 +479,7 @@ github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6Mwd
479479
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
480480
github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
481481
github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM=
482+
github.com/sosedoff/gitkit v0.2.1-0.20191202022816-7182d43c6254/go.mod h1:A+o6ZazfVJwetlcHz3ah6th66XcBdsyzLo+aBt/AsK4=
482483
github.com/sourcegraph/go-diff v0.5.1/go.mod h1:j2dHj3m8aZgQO8lMTcTnBcXkRRRqi34cd2MNlA9u1mE=
483484
github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
484485
github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ=

0 commit comments

Comments
 (0)