Skip to content

Commit

Permalink
Updating deployment to fix resources positioning in deployment file
Browse files Browse the repository at this point in the history
  • Loading branch information
syedimam0012 committed Dec 24, 2018
1 parent 75ccfd8 commit a917713
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm/kubemonkey/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ spec:
command:
- "/kube-monkey"
args: ["-v={{ .Values.args.logLevel }}", "-log_dir={{ .Values.args.logDir }}"]
resources:
{{- toYaml .Values.resources | trimSuffix "\n" | nindent 12 }}
volumeMounts:
- name: config-volume
mountPath: "/etc/kube-monkey"
Expand All @@ -35,8 +37,6 @@ spec:
- name: config-volume
configMap:
name: {{ template "kubemonkey.fullname" . }}
resources:
{{ toYaml .Values.resources | indent 12 }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}
Expand Down

0 comments on commit a917713

Please sign in to comment.