Skip to content

Commit

Permalink
Rbac proxy again (#81)
Browse files Browse the repository at this point in the history
* fixed rbac

Signed-off-by: raffaelespazzoli <raffaele.spazzoli@gmail.com>

* fix

Signed-off-by: raffaelespazzoli <raffaele.spazzoli@gmail.com>
  • Loading branch information
raffaelespazzoli committed Nov 15, 2021
1 parent c2b480b commit 3fd7df3
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Download operator sdk
shell: bash
env:
RELEASE_VERSION: v1.9.0
RELEASE_VERSION: v1.13.1
run: |
curl -LO https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION}/operator-sdk_linux_amd64
chmod +x operator-sdk_linux_amd64
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Download operator sdk
shell: bash
env:
RELEASE_VERSION: v1.9.0
RELEASE_VERSION: v1.13.1
run: |
curl -LO https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION}/operator-sdk_linux_amd64
chmod +x operator-sdk_linux_amd64
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
- name: Download operator sdk
shell: bash
env:
RELEASE_VERSION: v1.9.0
RELEASE_VERSION: v1.13.1
run: |
curl -LO https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION}/operator-sdk_linux_amd64
chmod +x operator-sdk_linux_amd64
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:
sed -i '/replaces: '"$(basename $GITHUB_REPOSITORY)"'/d' ./bundle/manifests/$(basename $GITHUB_REPOSITORY).clusterserviceversion.yaml
mkdir -p ./tmp/community-operators-prod/operators/$(basename $GITHUB_REPOSITORY)/${VERSION}
/bin/cp -v -R ./bundle/* ./tmp/community-operators-prod/operators/$(basename $GITHUB_REPOSITORY)/${VERSION}
/bin/cp -v -R ./config/community-operators/* ./tmp/community-operators-prod/operators/$(basename $GITHUB_REPOSITORY)
/bin/cp -v -R ./config/community-operators/ci.yaml ./tmp/community-operators-prod/operators/$(basename $GITHUB_REPOSITORY)
- name: process bundle for disconnected support
uses: redhat-cop/github-actions/disconnected-csv@master
Expand Down
2 changes: 1 addition & 1 deletion config/default/manager_auth_proxy_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
spec:
containers:
- name: kube-rbac-proxy
image: registry.redhat.io/openshift4/ose-kube-rbac-proxy@sha256:6d57bfd91fac9b68eb72d27226bc297472ceb136c996628b845ecc54a48b31cb
image: quay.io/redhat-cop/kube-rbac-proxy:v0.11.0
args:
- "--secure-listen-address=0.0.0.0:8443"
- "--upstream=http://127.0.0.1:8080/"
Expand Down
4 changes: 4 additions & 0 deletions config/helmchart/templates/service-account.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: keepalived-operator-controller-manager
4 changes: 2 additions & 2 deletions config/helmchart/values.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ affinity: {}

kube_rbac_proxy:
image:
repository: gcr.io/kubebuilder/kube-rbac-proxy
repository: quay.io/redhat-cop/kube-rbac-proxy
pullPolicy: IfNotPresent
tag: v0.8.0
tag: v0.11.0
resources:
requests:
cpu: 100m
Expand Down
1 change: 0 additions & 1 deletion config/rbac/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
resources:
- service_account.yaml
- role.yaml
- role_binding.yaml
- leader_election_role.yaml
Expand Down
5 changes: 0 additions & 5 deletions config/rbac/service_account.yaml

This file was deleted.

0 comments on commit 3fd7df3

Please sign in to comment.