Skip to content

Commit d5927d7

Browse files
Fix default sa permissions (#45)
* fixed default sa permissions
1 parent 06aa078 commit d5927d7

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=v0.0.49
1+
VERSION=v0.0.50
22
OUT_DIR=dist
33
YEAR?=$(shell date +"%Y")
44

docs/releases/release_notes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
### Linux
99
```bash
1010
# download and extract the binary
11-
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.49/cf-linux-amd64.tar.gz | tar zx
11+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.50/cf-linux-amd64.tar.gz | tar zx
1212

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

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

manifests/argo-cd/default-rbac.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
apiVersion: rbac.authorization.k8s.io/v1
22
kind: Role
33
metadata:
4-
name: codefresh-cm-reader
4+
name: codefresh-config-reader
55
rules:
66
- apiGroups: [""]
7-
resources: ["configmaps"]
8-
resourceNames: ["codefresh-cm"]
7+
resources: [ "configmaps", "secrets" ]
8+
resourceNames: [ "codefresh-cm", "codefresh-token" ]
99
verbs: ["get"]
1010

1111
---
1212
apiVersion: rbac.authorization.k8s.io/v1
1313
kind: RoleBinding
1414
metadata:
15-
name: codefresh-cm-reader
15+
name: codefresh-config-reader
1616
roleRef:
1717
apiGroup: rbac.authorization.k8s.io
1818
kind: Role
19-
name: codefresh-cm-reader
19+
name: codefresh-config-reader
2020
subjects:
2121
- kind: ServiceAccount
2222
name: default

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.0
8-
version: 0.0.49
8+
version: 0.0.50
99
bootstrapSpecifier: github.com/codefresh-io/cli-v2/manifests/argo-cd
1010
components:
1111
- name: events

0 commit comments

Comments
 (0)