Skip to content
This repository was archived by the owner on Jul 15, 2024. It is now read-only.

Commit 2fb0435

Browse files
committed
Release v0.2.0
Signed-off-by: Jonathan West <jonwest@redhat.com>
1 parent ac37636 commit 2fb0435

File tree

13 files changed

+811
-73
lines changed

13 files changed

+811
-73
lines changed

.github/workflows/ci-build.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches:
55
- 'master'
6+
- 'release-*'
67
pull_request:
78
branches:
89
- 'master'
@@ -174,7 +175,7 @@ jobs:
174175
# This version is verified to match a version consistent with the kustomize install yaml,
175176
# by 'hack/verify-argo-cd-versions.sh'.
176177
# BEGIN-ARGO-CD-VERSION
177-
ref: v2.0.0
178+
ref: v2.1.0
178179
# END-ARGO-CD-VERSION
179180
- name: Setup Golang
180181
uses: actions/setup-go@v2

CHANGELOG.md

+265
Large diffs are not rendered by default.

docs/Getting-Started.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The ApplicationSet controller *must* be installed into the same namespace as the
1818
Presuming that Argo CD is installed into the `argocd` namespace, run the following command:
1919

2020
```bash
21-
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj-labs/applicationset/master/manifests/install.yaml
21+
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj-labs/applicationset/v0.2.0/manifests/install.yaml
2222
```
2323

2424
Once installed, the ApplicationSet controller requires no additional setup.
@@ -38,7 +38,7 @@ You may instead install both the ApplicationSet controller and the latest stable
3838

3939
```bash
4040
kubectl create namespace argocd
41-
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj-labs/applicationset/master/manifests/install-with-argo-cd.yaml
41+
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj-labs/applicationset/v0.2.0/manifests/install-with-argo-cd.yaml
4242
```
4343

4444
Once installed, follow the [Argo CD Getting Started](https://argoproj.github.io/argo-cd/getting_started/) to access Argo CD and log-in to the Web UI.
@@ -67,7 +67,7 @@ See the `master` branch [Read the Docs](https://argocd-applicationset.readthedoc
6767

6868
### D) Customized install using Kustomize
6969

70-
To extend or customize the ApplicationSet controller installation, [Kustomize](https://kustomize.io/) may be used with the existing namespace install [manifests/namespace-install/kustomize.yaml](https://github.com/argoproj-labs/applicationset/blob/master/manifests/namespace-install/kustomization.yaml) file.
70+
To extend or customize the ApplicationSet controller installation, [Kustomize](https://kustomize.io/) may be used with the existing namespace install [manifests/namespace-install/kustomize.yaml](https://github.com/argoproj-labs/applicationset/blob/v0.2.0/manifests/namespace-install/kustomization.yaml) file.
7171

7272
## Upgrading to a Newer Release
7373

@@ -83,6 +83,7 @@ There are no manual upgrade steps required between any release of ApplicationSet
8383
See the [Controlling Resource Modification](Controlling-Resource-Modification.md) page for information on additional parameters you may wish to add to the ApplicationSet `install.yaml`, to provide extra security against any initial, unexpected post-upgrade behaviour.
8484

8585
For instance, to temporarily prevent the upgraded ApplicationSet controller from making any changes, you could:
86+
8687
- Enable dry-run
8788
- Use a create-only policy
8889
- Enable `preserveResourcesOnDeletion` on your ApplicationSets

examples/git-generator-files-discovery/git-generator-files.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: guestbook
55
spec:
66
generators:
7-
- git:
7+
- git:
88
repoURL: https://github.com/argoproj-labs/applicationset.git
99
revision: HEAD
1010
files:
+20-20
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
apiVersion: argoproj.io/v1alpha1
22
kind: ApplicationSet
33
metadata:
4-
name: guestbook
4+
name: guestbook
55
spec:
6-
generators:
7-
- list:
8-
elements:
9-
- cluster: engineering-dev
10-
url: https://kubernetes.default.svc
11-
# - cluster: engineering-prod
12-
# url: https://kubernetes.default.svc
13-
template:
14-
metadata:
15-
name: '{{cluster}}-guestbook'
16-
spec:
17-
project: default
18-
source:
19-
repoURL: https://github.com/argoproj-labs/applicationset.git
20-
targetRevision: HEAD
21-
path: examples/list-generator/guestbook/{{cluster}}
22-
destination:
23-
server: '{{url}}'
24-
namespace: guestbook
6+
generators:
7+
- list:
8+
elements:
9+
- cluster: engineering-dev
10+
url: https://kubernetes.default.svc
11+
- cluster: engineering-prod
12+
url: https://kubernetes.default.svc
13+
template:
14+
metadata:
15+
name: '{{cluster}}-guestbook'
16+
spec:
17+
project: default
18+
source:
19+
repoURL: https://github.com/argoproj-labs/applicationset.git
20+
targetRevision: HEAD
21+
path: examples/list-generator/guestbook/{{cluster}}
22+
destination:
23+
server: '{{url}}'
24+
namespace: guestbook

go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ module github.com/argoproj-labs/applicationset
33
go 1.16
44

55
require (
6-
github.com/argoproj/argo-cd/v2 v2.0.0-20210723045424-f66a38875b49
7-
github.com/argoproj/gitops-engine v0.3.1-0.20210709004906-a4c77d5c70fb
6+
github.com/argoproj/argo-cd/v2 v2.1.0
7+
github.com/argoproj/gitops-engine v0.4.0
88
github.com/argoproj/pkg v0.9.1
99
github.com/go-logr/logr v0.4.0
1010
github.com/google/go-github/v35 v35.0.0

go.sum

+4-4
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo
8888
github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 h1:kFOfPq6dUM1hTo4JG6LR5AXSUEsOjtdm0kw0FtQtMJA=
8989
github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c=
9090
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
91-
github.com/argoproj/argo-cd/v2 v2.0.0-20210723045424-f66a38875b49 h1:50SiEyPCOCyo+hyn9tJAoodCu+hBvMkniv2il9PGbmY=
92-
github.com/argoproj/argo-cd/v2 v2.0.0-20210723045424-f66a38875b49/go.mod h1:a21F1IEszRrCLvXXYc1sML3mjlMN3pp6rpDxy+7E0os=
93-
github.com/argoproj/gitops-engine v0.3.1-0.20210709004906-a4c77d5c70fb h1:zwnkwh45K57emwKikePwtK4BLc3IuplxYxqMzZ4XTNY=
94-
github.com/argoproj/gitops-engine v0.3.1-0.20210709004906-a4c77d5c70fb/go.mod h1:EdFe8qIOqsmbyxRhtIydU4BUeyZ4VTsY6R3XVQhU9LA=
91+
github.com/argoproj/argo-cd/v2 v2.1.0 h1:1HUxHj1+iWX3jb2cOQonP6gXN1e2zHvCXcUgR6pHdAY=
92+
github.com/argoproj/argo-cd/v2 v2.1.0/go.mod h1:/e8fSyHanaAHLR5YsIIWfCGujTN452K6L7DaYep5KRU=
93+
github.com/argoproj/gitops-engine v0.4.0 h1:h141jAgWhgp1iGAgfHM1Hg1POvszDNmqyEfTFHsG1CA=
94+
github.com/argoproj/gitops-engine v0.4.0/go.mod h1:EdFe8qIOqsmbyxRhtIydU4BUeyZ4VTsY6R3XVQhU9LA=
9595
github.com/argoproj/pkg v0.9.1 h1:osfOS3QkzfRf+W43lbCZb0o0bzrBweQhL+U3rgEg+5M=
9696
github.com/argoproj/pkg v0.9.1/go.mod h1:ra+bQPmbVAoEL+gYSKesuigt4m49i3Qa3mE/xQcjCiA=
9797
github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=

hack/release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ make manifests
5050

5151
echo
5252
echo "*** performing release commit"
53-
git commit -s -m "Release ${TARGET_TAG}" VERSION manifests/
53+
git commit -s -m "Release ${TARGET_TAG}" VERSION manifests/ docs/ .github hack/ go.mod go.sum CHANGELOG.md examples/
5454
git tag ${TARGET_TAG}
5555

5656
echo

hack/verify-argo-cd-versions.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# To adopt a new version of Argo CD:
44
# 1) Update this value to the GitHub tag of the target 'argoproj/argo-cd' release (example: 'v1.8.4').
55
# 2) Fix the errors that are reported below (by editing the version string in the file reported in the error)
6-
TARGET_ARGO_CD_VERSION=v2.0.0
6+
TARGET_ARGO_CD_VERSION=v2.1.0
77

88
# Extract the Argo CD repository string from ci-build.yaml, which SHOULD contain the target Argo CD version
99
VERSION_FROM_CI_BUILD=$( awk '/BEGIN-ARGO-CD-VERSION/,/END-ARGO-CD-VERSION/' .github/workflows/ci-build.yaml )

manifests/base/kustomization.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ kind: Kustomization
44
images:
55
- name: quay.io/argoproj/argocd-applicationset
66
newName: quay.io/argoproj/argocd-applicationset
7-
newTag: latest
7+
newTag: v0.2.0
88

99
namespace: argocd
1010

0 commit comments

Comments
 (0)