Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing changes for rbac-proxy and remove unused code #583

Merged
merged 2 commits into from
Jan 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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.

This file was deleted.

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

This file was deleted.

Loading