Skip to content

Commit 75b1433

Browse files
authored
fixed crbs (#18)
* fixed crbs
1 parent e964202 commit 75b1433

File tree

4 files changed

+28
-7
lines changed

4 files changed

+28
-7
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.23
1+
VERSION=v0.0.24
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.21/cf-linux-amd64.tar.gz | tar zx
11+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.24/cf-linux-amd64.tar.gz | tar zx
1212

1313
# move the binary to your $PATH
1414
mv ./cf-* /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.21/cf-darwin-amd64.tar.gz | tar zx
23+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.24/cf-darwin-amd64.tar.gz | tar zx
2424

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

manifests/argo-rollouts/kustomization.yaml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,20 @@ kind: Kustomization
33
resources:
44
- https://github.com/argoproj/argo-rollouts/releases/download/v1.0.2/install.yaml
55
patches:
6-
- patch: |-
7-
- op: remove
8-
path: /spec/preserveUnknownFields
9-
target:
6+
- target:
107
group: apiextensions.k8s.io
118
version: v1
129
kind: CustomResourceDefinition
10+
patch: |-
11+
- op: remove
12+
path: /spec/preserveUnknownFields
13+
14+
# reset the crbs to `subject.namespace: default`, so that argo-rollouts will later change them to the actual ns
15+
- target:
16+
group: rbac.authorization.k8s.io
17+
version: v1
18+
kind: ClusterRoleBinding
19+
patch: |-
20+
- op: replace
21+
path: /subjects/0/namespace
22+
value: default

manifests/argo-workflows/kustomization.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,14 @@ apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
44
- https://raw.githubusercontent.com/argoproj/argo-workflows/v3.1.1/manifests/install.yaml
5+
6+
patches:
7+
# reset the crbs to `subject.namespace: default`, so that argo-workflows will later change them to the actual ns
8+
- target:
9+
group: rbac.authorization.k8s.io
10+
version: v1
11+
kind: ClusterRoleBinding
12+
patch: |-
13+
- op: replace
14+
path: /subjects/0/namespace
15+
value: default

0 commit comments

Comments
 (0)