Skip to content

Commit

Permalink
make resources for webhook cert manager configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahalsmiller committed Jul 16, 2024
1 parent 2fecfa9 commit 640a792
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions charts/consul/templates/webhook-cert-manager-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ spec:
{{ template "consul.imagePullPolicy" . }}
name: webhook-cert-manager
{{- include "consul.restrictedSecurityContext" . | nindent 8 }}
{ { - with .Values.webhookCertManager.resources } }
{{- with .Values.webhookCertManager.resources }}
resources:
{ { - toYaml . | nindent 12 } }
{ { - end } }
{{- toYaml . | nindent 12 }}
{{- end }}
volumeMounts:
- name: config
mountPath: /bootstrap/config
Expand Down
2 changes: 1 addition & 1 deletion charts/consul/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3505,7 +3505,7 @@ webhookCertManager:
cpu: "100m"
limits:
memory: "50Mi"
cpu: "1oom"
cpu: "200m"

# Configures a demo Prometheus installation.
prometheus:
Expand Down

0 comments on commit 640a792

Please sign in to comment.