Skip to content

Commit 81d7699

Browse files
authored
Permissions for wf actions (#188)
* changed rb to crb using argo-server-cluster-role
1 parent 47ab14a commit 81d7699

File tree

6 files changed

+9
-40
lines changed

6 files changed

+9
-40
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.171
1+
VERSION=v0.0.172
22

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

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.171/cf-linux-amd64.tar.gz | tar zx
26+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.172/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.171/cf-darwin-amd64.tar.gz | tar zx
39+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.172/cf-darwin-amd64.tar.gz | tar zx
4040

4141
# move the binary to your $PATH
4242
mv ./cf-darwin-amd64 /usr/local/bin/cf
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
apiVersion: rbac.authorization.k8s.io/v1
2-
kind: RoleBinding
2+
kind: ClusterRoleBinding
33
metadata:
44
labels:
55
app: cap-app-proxy
66
name: cap-app-proxy
77
roleRef:
88
apiGroup: rbac.authorization.k8s.io
9-
kind: Role
10-
name: cap-app-proxy
9+
kind: ClusterRole
10+
name: argo-server-cluster-role
1111
subjects:
1212
- kind: ServiceAccount
1313
name: cap-app-proxy
14+
namespace: default

manifests/app-proxy/app-proxy.role.yaml

Lines changed: 0 additions & 31 deletions
This file was deleted.

manifests/app-proxy/kustomization.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,5 @@ resources:
88
- app-proxy.deploy.yaml
99
- app-proxy.svc.yaml
1010
- app-proxy.sa.yaml
11-
- app-proxy.role.yaml
12-
- app-proxy.rb.yaml
11+
- app-proxy.crb.yaml
1312
- app-proxy.cm.yaml

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

0 commit comments

Comments
 (0)