Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/go_modules/k8s.io/api-0.21.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ATGardner authored Aug 3, 2021
2 parents ccec2ff + 4df53a7 commit 71b5fd2
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 29 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog:

# v0.2.13

### New Features:
* Allow installation of Argo-CD in `insecure` mode (useful when you want the SSL termination to happen in the ingress controller)[#144](https://github.com/argoproj-labs/argocd-autopilot/issues/144)

### Breaking Changes:
* Removed the `--namespaced` option from `repo bootstrap`. Installing argo-cd in namespaced mode cannot be used for bootstraping as the bootstrap installation contains CRDs, which are cluster scoped resources, which cannot be created by argo-cd in namespaced mode. Bottom line: it was never useable.

# v0.2.12

### New Features:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=v0.2.12
VERSION=v0.2.13
OUT_DIR=dist

CLI_NAME?=argocd-autopilot
Expand Down
4 changes: 0 additions & 4 deletions build/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,6 @@ steps:
title: linux_s390x
environment:
- TARGET=linux-s390x
linux_ppc64le:
title: linux_ppc64le
environment:
- TARGET=linux-ppc64le
windows_amd64:
title: windows_amd64
environment:
Expand Down
4 changes: 0 additions & 4 deletions cmd/commands/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -409,10 +409,6 @@ func setBootstrapOptsDefaults(opts RepoBootstrapOptions) (*RepoBootstrapOptions,

if opts.AppSpecifier == "" {
opts.AppSpecifier = getBootstrapAppSpecifier(opts.Insecure)
} else {
if opts.Insecure {
return nil, fmt.Errorf("cannot use flag '--insecure' in combination with '--app' flag")
}
}

if _, err := os.Stat(opts.AppSpecifier); err == nil {
Expand Down
12 changes: 0 additions & 12 deletions cmd/commands/repo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,6 @@ func Test_setBootstrapOptsDefaults(t *testing.T) {
assert.Equal(t, "manifests/insecure", opts.AppSpecifier)
},
},
"InsecureWithAppSpecifier": {
opts: &RepoBootstrapOptions{
CloneOptions: &git.CloneOptions{},
InstallationMode: installationModeFlat,
Insecure: true,
Namespace: "bar",
AppSpecifier: "https://github.com/foo/bar",
},
assertFn: func(t *testing.T, opts *RepoBootstrapOptions, ret error) {
assert.EqualError(t, ret, "cannot use flag '--insecure' in combination with '--app' flag")
},
},
}

orgCurrentKubeContext := currentKubeContext
Expand Down
14 changes: 6 additions & 8 deletions docs/releases/release_notes.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
### New Features:
* Allow sending extra key-value pairs to app create [138](https://github.com/argoproj-labs/argocd-autopilot/issues/138)

### Documentation fixes:
* update url path to core_concepts docs [#141](https://github.com/argoproj-labs/argocd-autopilot/pull/141)
* Allow installation of Argo-CD in `insecure` mode (useful when you want the SSL termination to happen in the ingress controller)[#144](https://github.com/argoproj-labs/argocd-autopilot/issues/144)
### Breaking Changes:
* Removed the `--namespaced` option from `repo bootstrap`. Installing argo-cd in namespaced mode cannot be used for bootstraping as the bootstrap installation contains CRDs, which are cluster scoped resources, which cannot be created by argo-cd in namespaced mode. Bottom line: it was never useable.

### Contributors:
- ehf ([ehf](https://github.com/ehf))
- Roi Kramer ([@roi-codefresh](https://github.com/roi-codefresh))
- Noam Gal ([@noam-codefresh](https://github.com/noam-codefresh))

## Installation:

Expand All @@ -25,7 +23,7 @@ argocd-autopilot version
### Linux and WSL (using curl):
```bash
# download and extract the binary
curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.2.12/argocd-autopilot-linux-amd64.tar.gz | tar zx
curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.2.13/argocd-autopilot-linux-amd64.tar.gz | tar zx

# move the binary to your $PATH
mv ./argocd-autopilot-* /usr/local/bin/argocd-autopilot
Expand All @@ -37,7 +35,7 @@ argocd-autopilot version
### Mac (using curl):
```bash
# download and extract the binary
curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.2.12/argocd-autopilot-darwin-amd64.tar.gz | tar zx
curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.2.13/argocd-autopilot-darwin-amd64.tar.gz | tar zx

# move the binary to your $PATH
mv ./argocd-autopilot-* /usr/local/bin/argocd-autopilot
Expand Down

0 comments on commit 71b5fd2

Please sign in to comment.