Skip to content

Commit

Permalink
Fix http-add-on operator kubeRbacProxy resources
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Ballman <[email protected]>
  • Loading branch information
aballman committed Nov 28, 2023
1 parent f70706b commit a83e0ff
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
7 changes: 1 addition & 6 deletions http-add-on/templates/operator/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,7 @@ spec:
- --v=10
image: "{{ .Values.images.kubeRbacProxy.name }}:{{ .Values.images.kubeRbacProxy.tag }}"
resources:
limits:
cpu: 300m
memory: 200Mi
requests:
cpu: 10m
memory: 20Mi
{{- toYaml .Values.operator.kubeRbacProxy.resources | nindent 10 }}
name: kube-rbac-proxy
- args:
- --metrics-bind-address=127.0.0.1:8080
Expand Down
11 changes: 11 additions & 0 deletions http-add-on/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,17 @@ operator:
# -- Affinity for pod scheduling ([docs](https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/))
affinity: {}

kubeRbacProxy:
resources:
# -- The CPU/memory resource limit for the operator component's kube rbac proxy
limits:
cpu: 300m
memory: 200Mi
# -- The CPU/memory resource request for the operator component's kube rbac proxy
requests:
cpu: 10m
memory: 20Mi

scaler:
# -- The image pull secrets for the scaler component
imagePullSecrets: []
Expand Down

0 comments on commit a83e0ff

Please sign in to comment.