Skip to content

Commit

Permalink
NMS-16364: helm chart values for minion resources is unintentionally …
Browse files Browse the repository at this point in the history
…being ignored (#58)

* clean up extra resource declaration

* update the Charts version
  • Loading branch information
mershad-manesh authored Mar 11, 2024
1 parent 2331a37 commit 445bbec
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion horizon/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.1.11
version: 1.1.12

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion minion/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.1.11
version: 1.1.12

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
10 changes: 7 additions & 3 deletions minion/templates/minion-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,14 @@ spec:
value: America/New_York
image: {{ $image }}
imagePullPolicy: {{ .Values.minion.image.pullPolicy }}
{{- if .Values.minion.resources }}
{{- with .Values.minion.resources }}
resources:
{{- toYaml . | nindent 11 }}
limits:
cpu: {{ .limits.cpu }}
memory: {{ .limits.memory }}
requests:
cpu: {{ .requests.cpu }}
memory: {{ .requests.memory }}
{{- end }}
{{- if eq (include "onOpenShift" .) "true" }}
securityContext:
Expand Down Expand Up @@ -99,7 +104,6 @@ spec:
protocol: UDP
name: syslog
{{- end }}
resources: {}
volumeMounts:
- mountPath: /opt/minion/minion-config.yaml
name: minion-settings
Expand Down

0 comments on commit 445bbec

Please sign in to comment.