Skip to content

Commit

Permalink
Adding resources on all containers
Browse files Browse the repository at this point in the history
  • Loading branch information
Muneebstakater committed May 19, 2022
1 parent 7627728 commit ce999e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 5 additions & 3 deletions charts/ingressmonitorcontroller/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ spec:
envFrom:
{{- toYaml .Values.envFrom | nindent 8 }}
{{- end }}
{{- if .Values.kube-rbac-proxy.image.resources }}
{{- if .Values.resources }}
resources:
{{ toYaml .Values.kube-rbac-proxy.image.resources | indent 10 }}
{{ toYaml .Values.resources | indent 10 }}
{{- end }}
name: manager
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
Expand All @@ -78,8 +78,10 @@ spec:
port: 8081
initialDelaySeconds: 5
periodSeconds: 10
{{- if .Values.resources }}
resources:
{{- toYaml .Values.resources | nindent 10 }}
{{ toYaml .Values.resources | indent 10 }}
{{- end }}
terminationGracePeriodSeconds: 10
{{- with .Values.nodeSelector }}
nodeSelector:
Expand Down
2 changes: 0 additions & 2 deletions charts/ingressmonitorcontroller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ kube-rbac-proxy:
repository: gcr.io/kubebuilder/kube-rbac-proxy
tag: v0.8.0
pullPolicy: IfNotPresent
resources:
{}

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

0 comments on commit ce999e9

Please sign in to comment.