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

Commit

Permalink
Release v0.2.0
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan West <[email protected]>
  • Loading branch information
jgwest committed Aug 20, 2021
1 parent ac37636 commit 2fb0435
Show file tree
Hide file tree
Showing 13 changed files with 811 additions and 73 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- 'master'
- 'release-*'
pull_request:
branches:
- 'master'
Expand Down Expand Up @@ -174,7 +175,7 @@ jobs:
# This version is verified to match a version consistent with the kustomize install yaml,
# by 'hack/verify-argo-cd-versions.sh'.
# BEGIN-ARGO-CD-VERSION
ref: v2.0.0
ref: v2.1.0
# END-ARGO-CD-VERSION
- name: Setup Golang
uses: actions/setup-go@v2
Expand Down
265 changes: 265 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions docs/Getting-Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The ApplicationSet controller *must* be installed into the same namespace as the
Presuming that Argo CD is installed into the `argocd` namespace, run the following command:

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

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

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

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.
Expand Down Expand Up @@ -67,7 +67,7 @@ See the `master` branch [Read the Docs](https://argocd-applicationset.readthedoc

### D) Customized install using Kustomize

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.
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.

## Upgrading to a Newer Release

Expand All @@ -83,6 +83,7 @@ There are no manual upgrade steps required between any release of ApplicationSet
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.

For instance, to temporarily prevent the upgraded ApplicationSet controller from making any changes, you could:

- Enable dry-run
- Use a create-only policy
- Enable `preserveResourcesOnDeletion` on your ApplicationSets
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: guestbook
spec:
generators:
- git:
- git:
repoURL: https://github.com/argoproj-labs/applicationset.git
revision: HEAD
files:
Expand Down
40 changes: 20 additions & 20 deletions examples/list-generator/list-example.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: guestbook
name: guestbook
spec:
generators:
- list:
elements:
- cluster: engineering-dev
url: https://kubernetes.default.svc
# - cluster: engineering-prod
# url: https://kubernetes.default.svc
template:
metadata:
name: '{{cluster}}-guestbook'
spec:
project: default
source:
repoURL: https://github.com/argoproj-labs/applicationset.git
targetRevision: HEAD
path: examples/list-generator/guestbook/{{cluster}}
destination:
server: '{{url}}'
namespace: guestbook
generators:
- list:
elements:
- cluster: engineering-dev
url: https://kubernetes.default.svc
- cluster: engineering-prod
url: https://kubernetes.default.svc
template:
metadata:
name: '{{cluster}}-guestbook'
spec:
project: default
source:
repoURL: https://github.com/argoproj-labs/applicationset.git
targetRevision: HEAD
path: examples/list-generator/guestbook/{{cluster}}
destination:
server: '{{url}}'
namespace: guestbook
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ module github.com/argoproj-labs/applicationset
go 1.16

require (
github.com/argoproj/argo-cd/v2 v2.0.0-20210723045424-f66a38875b49
github.com/argoproj/gitops-engine v0.3.1-0.20210709004906-a4c77d5c70fb
github.com/argoproj/argo-cd/v2 v2.1.0
github.com/argoproj/gitops-engine v0.4.0
github.com/argoproj/pkg v0.9.1
github.com/go-logr/logr v0.4.0
github.com/google/go-github/v35 v35.0.0
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo
github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 h1:kFOfPq6dUM1hTo4JG6LR5AXSUEsOjtdm0kw0FtQtMJA=
github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c=
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
github.com/argoproj/argo-cd/v2 v2.0.0-20210723045424-f66a38875b49 h1:50SiEyPCOCyo+hyn9tJAoodCu+hBvMkniv2il9PGbmY=
github.com/argoproj/argo-cd/v2 v2.0.0-20210723045424-f66a38875b49/go.mod h1:a21F1IEszRrCLvXXYc1sML3mjlMN3pp6rpDxy+7E0os=
github.com/argoproj/gitops-engine v0.3.1-0.20210709004906-a4c77d5c70fb h1:zwnkwh45K57emwKikePwtK4BLc3IuplxYxqMzZ4XTNY=
github.com/argoproj/gitops-engine v0.3.1-0.20210709004906-a4c77d5c70fb/go.mod h1:EdFe8qIOqsmbyxRhtIydU4BUeyZ4VTsY6R3XVQhU9LA=
github.com/argoproj/argo-cd/v2 v2.1.0 h1:1HUxHj1+iWX3jb2cOQonP6gXN1e2zHvCXcUgR6pHdAY=
github.com/argoproj/argo-cd/v2 v2.1.0/go.mod h1:/e8fSyHanaAHLR5YsIIWfCGujTN452K6L7DaYep5KRU=
github.com/argoproj/gitops-engine v0.4.0 h1:h141jAgWhgp1iGAgfHM1Hg1POvszDNmqyEfTFHsG1CA=
github.com/argoproj/gitops-engine v0.4.0/go.mod h1:EdFe8qIOqsmbyxRhtIydU4BUeyZ4VTsY6R3XVQhU9LA=
github.com/argoproj/pkg v0.9.1 h1:osfOS3QkzfRf+W43lbCZb0o0bzrBweQhL+U3rgEg+5M=
github.com/argoproj/pkg v0.9.1/go.mod h1:ra+bQPmbVAoEL+gYSKesuigt4m49i3Qa3mE/xQcjCiA=
github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
Expand Down
2 changes: 1 addition & 1 deletion hack/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ make manifests

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

echo
Expand Down
2 changes: 1 addition & 1 deletion hack/verify-argo-cd-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# To adopt a new version of Argo CD:
# 1) Update this value to the GitHub tag of the target 'argoproj/argo-cd' release (example: 'v1.8.4').
# 2) Fix the errors that are reported below (by editing the version string in the file reported in the error)
TARGET_ARGO_CD_VERSION=v2.0.0
TARGET_ARGO_CD_VERSION=v2.1.0

# Extract the Argo CD repository string from ci-build.yaml, which SHOULD contain the target Argo CD version
VERSION_FROM_CI_BUILD=$( awk '/BEGIN-ARGO-CD-VERSION/,/END-ARGO-CD-VERSION/' .github/workflows/ci-build.yaml )
Expand Down
2 changes: 1 addition & 1 deletion manifests/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: Kustomization
images:
- name: quay.io/argoproj/argocd-applicationset
newName: quay.io/argoproj/argocd-applicationset
newTag: latest
newTag: v0.2.0

namespace: argocd

Expand Down
Loading

0 comments on commit 2fb0435

Please sign in to comment.