Skip to content

Commit

Permalink
Merge pull request #136 from syedimam0012/bug/correcting-resources-pl…
Browse files Browse the repository at this point in the history
…acement-in-deployment

Updating deployment to fix resources positioning in deployment file
  • Loading branch information
asobti committed Jan 7, 2019
2 parents 75ccfd8 + a917713 commit ceddb3c
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 ceddb3c

Please sign in to comment.