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

Adding kube-rbac-proxy resources for imc #388

Merged
merged 15 commits into from
Apr 12, 2023
Merged
4 changes: 3 additions & 1 deletion charts/ingressmonitorcontroller/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ spec:
- containerPort: 8443
name: https
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 10 }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if the rbac proxy resources are different from the manage container? plz refer to the Forecastle chart

- args:
- --health-probe-bind-address=:8081
- --metrics-bind-address=127.0.0.1:8080
Expand Down Expand Up @@ -89,4 +91,4 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
---
---
13 changes: 6 additions & 7 deletions charts/ingressmonitorcontroller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,12 @@ serviceAccount:
name: ""

resources:
{}
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
limits:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should remain empty. Comment it out as before.

cpu: 100m
memory: 128Mi
requests:
cpu: 100m
memory: 128Mi

podAnnotations: {}

Expand Down