Skip to content

Commit 96fab0a

Browse files
fixed rbac (#125)
Signed-off-by: raffaelespazzoli <[email protected]>
1 parent 19cbad4 commit 96fab0a

File tree

7 files changed

+12
-13
lines changed

7 files changed

+12
-13
lines changed

.github/workflows/pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Download operator sdk
3030
shell: bash
3131
env:
32-
RELEASE_VERSION: v1.9.0
32+
RELEASE_VERSION: v1.13.1
3333
run: |
3434
curl -LO https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION}/operator-sdk_linux_amd64
3535
chmod +x operator-sdk_linux_amd64

.github/workflows/push.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Download operator sdk
3434
shell: bash
3535
env:
36-
RELEASE_VERSION: v1.9.0
36+
RELEASE_VERSION: v1.13.1
3737
run: |
3838
curl -LO https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION}/operator-sdk_linux_amd64
3939
chmod +x operator-sdk_linux_amd64
@@ -231,7 +231,7 @@ jobs:
231231
- name: Download operator sdk
232232
shell: bash
233233
env:
234-
RELEASE_VERSION: v1.9.0
234+
RELEASE_VERSION: v1.13.1
235235
run: |
236236
curl -LO https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION}/operator-sdk_linux_amd64
237237
chmod +x operator-sdk_linux_amd64
@@ -265,7 +265,7 @@ jobs:
265265
sed -i '/replaces: '"$(basename $GITHUB_REPOSITORY)"'/d' ./bundle/manifests/$(basename $GITHUB_REPOSITORY).clusterserviceversion.yaml
266266
mkdir -p ./tmp/community-operators-prod/operators/$(basename $GITHUB_REPOSITORY)/${VERSION}
267267
/bin/cp -v -R ./bundle/* ./tmp/community-operators-prod/operators/$(basename $GITHUB_REPOSITORY)/${VERSION}
268-
/bin/cp -v -R ./config/community-operators/* ./tmp/community-operators-prod/operators/$(basename $GITHUB_REPOSITORY)
268+
/bin/cp -v -R ./config/community-operators/ci.yaml ./tmp/community-operators-prod/operators/$(basename $GITHUB_REPOSITORY)
269269
270270
- name: process bundle for disconnected support
271271
uses: redhat-cop/github-actions/disconnected-csv@master

config/default/manager_auth_proxy_patch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spec:
1010
spec:
1111
containers:
1212
- name: kube-rbac-proxy
13-
image: registry.redhat.io/openshift4/ose-kube-rbac-proxy@sha256:6d57bfd91fac9b68eb72d27226bc297472ceb136c996628b845ecc54a48b31cb
13+
image: quay.io/redhat-cop/kube-rbac-proxy:v0.11.0
1414
args:
1515
- "--secure-listen-address=0.0.0.0:8443"
1616
- "--upstream=http://127.0.0.1:8080/"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
apiVersion: v1
3+
kind: ServiceAccount
4+
metadata:
5+
name: rnamespace-configuration-operator-controller-manager

config/helmchart/values.yaml.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ affinity: {}
2929

3030
kube_rbac_proxy:
3131
image:
32-
repository: gcr.io/kubebuilder/kube-rbac-proxy
32+
repository: quay.io/redhat-cop/kube-rbac-proxy
3333
pullPolicy: IfNotPresent
34-
tag: v0.8.0
34+
tag: v0.11.0
3535
resources:
3636
requests:
3737
cpu: 100m

config/rbac/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
resources:
2-
- service_account.yaml
32
- role.yaml
43
- role_binding.yaml
54
- leader_election_role.yaml

config/rbac/service_account.yaml

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

0 commit comments

Comments
 (0)