Skip to content

Commit ce999e9

Browse files
Adding resources on all containers
1 parent 7627728 commit ce999e9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

charts/ingressmonitorcontroller/templates/deployment.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ spec:
5959
envFrom:
6060
{{- toYaml .Values.envFrom | nindent 8 }}
6161
{{- end }}
62-
{{- if .Values.kube-rbac-proxy.image.resources }}
62+
{{- if .Values.resources }}
6363
resources:
64-
{{ toYaml .Values.kube-rbac-proxy.image.resources | indent 10 }}
64+
{{ toYaml .Values.resources | indent 10 }}
6565
{{- end }}
6666
name: manager
6767
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
@@ -78,8 +78,10 @@ spec:
7878
port: 8081
7979
initialDelaySeconds: 5
8080
periodSeconds: 10
81+
{{- if .Values.resources }}
8182
resources:
82-
{{- toYaml .Values.resources | nindent 10 }}
83+
{{ toYaml .Values.resources | indent 10 }}
84+
{{- end }}
8385
terminationGracePeriodSeconds: 10
8486
{{- with .Values.nodeSelector }}
8587
nodeSelector:

charts/ingressmonitorcontroller/values.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ kube-rbac-proxy:
1515
repository: gcr.io/kubebuilder/kube-rbac-proxy
1616
tag: v0.8.0
1717
pullPolicy: IfNotPresent
18-
resources:
19-
{}
2018

2119
# Partial override for ingress-monitor-controller.fullname template (will keep the release name)
2220
nameOverride: ""

0 commit comments

Comments
 (0)