Skip to content

Commit

Permalink
Add missing changes for rbac-proxy and remove unused code (#583)
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Turrado <[email protected]>

Signed-off-by: Jorge Turrado <[email protected]>
  • Loading branch information
JorTurFer authored Jan 25, 2023
1 parent 3f326b1 commit 30108da
Show file tree
Hide file tree
Showing 37 changed files with 14 additions and 746 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: LabelTransformer
metadata:
name: metadataLabelTransformer
labels:
app.kubernetes.io/version: e2e-test
app.kubernetes.io/version: main
app.kubernetes.io/part-of: keda-http-add-on
fieldSpecs:
- path: metadata/labels
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ roleRef:
name: proxy-role
subjects:
- kind: ServiceAccount
name: default
namespace: system
name: keda-http-add-on
namespace: keda
2 changes: 2 additions & 0 deletions config/operator/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
resources:
- auth_proxy_role_binding.yaml
- auth_proxy_role.yaml
- operator.yaml
- service-admin.yaml
- service-metrics.yaml
Expand Down
7 changes: 6 additions & 1 deletion config/operator/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,17 @@ spec:
serviceAccountName: keda-http-add-on
containers:
- name: kube-rbac-proxy
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.5.0
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.13.0
args:
- --secure-listen-address=0.0.0.0:8443
- --upstream=http://127.0.0.1:8080/
- --logtostderr=true
- --v=10
ports:
- containerPort: 8443
name: https
securityContext:
runAsNonRoot: true
resources:
requests:
cpu: 10m
Expand Down
2 changes: 2 additions & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ rules:
- ""
resources:
- configmaps
- configmaps/status
- endpoint
- endpoints
- events
- pods
- services
verbs:
Expand Down
File renamed without changes.
26 changes: 0 additions & 26 deletions operator/config/certmanager/certificate.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions operator/config/certmanager/kustomization.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions operator/config/certmanager/kustomizeconfig.yaml

This file was deleted.

165 changes: 0 additions & 165 deletions operator/config/crd/bases/http.keda.sh_httpscaledobjects.yaml

This file was deleted.

21 changes: 0 additions & 21 deletions operator/config/crd/kustomization.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions operator/config/crd/kustomizeconfig.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions operator/config/crd/patches/cainjection_in_scaledobjects.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions operator/config/crd/patches/webhook_in_scaledobjects.yaml

This file was deleted.

Loading

0 comments on commit 30108da

Please sign in to comment.