Skip to content

Commit 0b15909

Browse files
authored
Fix-argocd-username (#307)
* moved argoCdUsername to cm * updated version to 0.0.284 * added oren and myself to codeowners * removed double env vars
1 parent 960f6b5 commit 0b15909

File tree

7 files changed

+7
-19
lines changed

7 files changed

+7
-19
lines changed

CODEOWNERS

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
* roi.kramer@codefresh.io
2-
/docs/releases/release_notes.md roi.kramer@codefresh.io
1+
* roi.kramer@codefresh.io noam.gal@codefresh.io oren.gurfinkel@codefresh.io

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=v0.0.283
1+
VERSION=v0.0.284
22

33
OUT_DIR=dist
44
YEAR?=$(shell date +"%Y")

cmd/commands/runtime.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1847,7 +1847,6 @@ func configureAppProxy(ctx context.Context, opts *RuntimeInstallOptions, rt *run
18471847
"argoWorkflowsInsecure=true",
18481848
fmt.Sprintf("cfHost=%s", cfConfig.GetCurrentContext().URL),
18491849
fmt.Sprintf("cors=%s", cfConfig.GetCurrentContext().URL),
1850-
"argoCdUsername=admin",
18511850
"env=production",
18521851
}
18531852

docs/releases/release_notes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ cf version
2323

2424
```bash
2525
# download and extract the binary
26-
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.283/cf-linux-amd64.tar.gz | tar zx
26+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.284/cf-linux-amd64.tar.gz | tar zx
2727

2828
# move the binary to your $PATH
2929
mv ./cf-linux-amd64 /usr/local/bin/cf
@@ -36,7 +36,7 @@ cf version
3636

3737
```bash
3838
# download and extract the binary
39-
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.283/cf-darwin-amd64.tar.gz | tar zx
39+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.284/cf-darwin-amd64.tar.gz | tar zx
4040

4141
# move the binary to your $PATH
4242
mv ./cf-darwin-amd64 /usr/local/bin/cf

manifests/app-proxy/app-proxy.cm.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ apiVersion: v1
22
kind: ConfigMap
33
metadata:
44
name: cap-app-proxy-cm
5+
data:
6+
argoCdUsername: admin

manifests/app-proxy/app-proxy.deploy.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -108,18 +108,6 @@ spec:
108108
name: codefresh-token
109109
key: encryptionIV
110110
optional: true
111-
- name: ARGO_CD_TOKEN
112-
valueFrom:
113-
secretKeyRef:
114-
name: argocd-token
115-
key: token
116-
optional: true
117-
- name: ARGO_CD_URL
118-
valueFrom:
119-
configMapKeyRef:
120-
name: cap-app-proxy-cm
121-
key: argoCDUrl
122-
optional: true
123111
- name: STORE_BACKEND
124112
valueFrom:
125113
configMapKeyRef:

manifests/runtime.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
namespace: "{{ namespace }}"
66
spec:
77
defVersion: 1.0.1
8-
version: 0.0.283
8+
version: 0.0.284
99
bootstrapSpecifier: github.com/codefresh-io/cli-v2/manifests/argo-cd
1010
components:
1111
- name: events

0 commit comments

Comments
 (0)