Skip to content

Commit

Permalink
Fix default sa permissions (#45)
Browse files Browse the repository at this point in the history
* fixed default sa permissions
  • Loading branch information
daniel-codefresh authored Aug 4, 2021
1 parent 06aa078 commit d5927d7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 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.49
VERSION=v0.0.50
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.49/cf-linux-amd64.tar.gz | tar zx
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.50/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.49/cf-darwin-amd64.tar.gz | tar zx
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.50/cf-darwin-amd64.tar.gz | tar zx

# move the binary to your $PATH
mv ./cf-darwin-amd64 /usr/local/bin/cf
Expand Down
10 changes: 5 additions & 5 deletions manifests/argo-cd/default-rbac.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: codefresh-cm-reader
name: codefresh-config-reader
rules:
- apiGroups: [""]
resources: ["configmaps"]
resourceNames: ["codefresh-cm"]
resources: [ "configmaps", "secrets" ]
resourceNames: [ "codefresh-cm", "codefresh-token" ]
verbs: ["get"]

---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: codefresh-cm-reader
name: codefresh-config-reader
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: codefresh-cm-reader
name: codefresh-config-reader
subjects:
- kind: ServiceAccount
name: default
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.49
version: 0.0.50
bootstrapSpecifier: github.com/codefresh-io/cli-v2/manifests/argo-cd
components:
- name: events
Expand Down

0 comments on commit d5927d7

Please sign in to comment.