Skip to content

Commit

Permalink
add resource setting to kubeRbacProxy
Browse files Browse the repository at this point in the history
  • Loading branch information
Frapschen committed Jul 19, 2023
1 parent 914b5c3 commit 553aa88
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helm/tailing-sidecar-operator/templates/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,9 @@ spec:
image: {{ .Values.kubeRbacProxy.image.repository }}:{{ .Values.kubeRbacProxy.image.tag }}
imagePullPolicy: {{ .Values.kubeRbacProxy.image.pullPolicy }}
name: kube-rbac-proxy
{{- with .Values.kubeRbacProxy.resources }}
resources: {{ toYaml . | nindent 12 }}
{{- end }}
ports:
- containerPort: 8443
name: https
Expand Down
7 changes: 7 additions & 0 deletions helm/tailing-sidecar-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ kubeRbacProxy:
pullPolicy: IfNotPresent
repository: quay.io/brancz/kube-rbac-proxy
tag: v0.11.0
resources:
limits:
cpu: 500m
memory: 128Mi
requests:
cpu: 5m
memory: 64Mi

# Configuration for MutatingWebhook which is used by tailing sidecar operator
# for details please see Kubernetes API Reference Docs
Expand Down

0 comments on commit 553aa88

Please sign in to comment.