Skip to content

Commit

Permalink
Bump argocd (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
roi-codefresh authored Aug 4, 2021
1 parent f95aa68 commit 06aa078
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=v0.0.48
VERSION=v0.0.49
OUT_DIR=dist
YEAR?=$(shell date +"%Y")

Expand Down
4 changes: 2 additions & 2 deletions docs/releases/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
### Linux
```bash
# download and extract the binary
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.48/cf-linux-amd64.tar.gz | tar zx
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.49/cf-linux-amd64.tar.gz | tar zx

# move the binary to your $PATH
mv ./cf-linux-amd64 /usr/local/bin/cf
Expand All @@ -20,7 +20,7 @@ cf version
### Mac
```bash
# download and extract the binary
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.48/cf-darwin-amd64.tar.gz | tar zx
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.49/cf-darwin-amd64.tar.gz | tar zx

# move the binary to your $PATH
mv ./cf-darwin-amd64 /usr/local/bin/cf
Expand Down
13 changes: 6 additions & 7 deletions manifests/argo-cd/default-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,20 @@ kind: Role
metadata:
name: codefresh-cm-reader
rules:
- apiGroups: [""]
resources: ["configmaps"]
resourceNames: ["codefresh-cm"]
verbs: ["get"]
- apiGroups: [""]
resources: ["configmaps"]
resourceNames: ["codefresh-cm"]
verbs: ["get"]

---

apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: codefresh-cm-reader
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: codefresh
name: codefresh-cm-reader
subjects:
- kind: ServiceAccount
name: default
name: default
2 changes: 1 addition & 1 deletion manifests/argo-cd/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ resources:
images:
- name: quay.io/argoproj/argocd
newName: quay.io/codefresh/argocd
newTag: v2.1.0-rc1
newTag: v2.1.0-rc2

# will be effective on argo-cd 2.1
configMapGenerator:
Expand Down
2 changes: 1 addition & 1 deletion manifests/runtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
namespace: "{{ namespace }}"
spec:
defVersion: 1.0.0
version: 0.0.48
version: 0.0.49
bootstrapSpecifier: github.com/codefresh-io/cli-v2/manifests/argo-cd
components:
- name: events
Expand Down
4 changes: 1 addition & 3 deletions pkg/util/events/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,7 @@ func CreateEventSource(opts *CreateEventSourceOptions) *eventsourcev1alpha1.Even
},
},
Spec: eventsourcev1alpha1.EventSourceSpec{
Template: &eventsourcev1alpha1.Template{
ServiceAccountName: opts.ServiceAccountName,
},
Template: tpl,
EventBusName: opts.EventBusName,
Resource: resource,
Generic: generic,
Expand Down

0 comments on commit 06aa078

Please sign in to comment.