Add resource declaration to deckhand job-ks-service chart template

This adds resource declarations to the keystone service job
container for deckhand. It also updates .gitignore to specifically
exclude tarballs and requirements lock files instead of all
contents in charts/deckhand

Change-Id: Ide80834cf636dfc96d207a19f2248fd75aea5ca7
This commit is contained in:
Steve Wilkerson 2018-02-28 10:31:32 -06:00 committed by Tin Lam
parent cef3b52a10
commit a792d35ad1
2 changed files with 3 additions and 2 deletions

4
.gitignore vendored
View File

@ -107,8 +107,8 @@ ENV/
.mypy_cache/
# makefile build/lint artifacts
/charts/deckhand/*
/charts/deckhand/*.tgz
/charts/deckhand/*.lock
# git
Changelog
AUTHORS

View File

@ -39,6 +39,7 @@ spec:
- name: {{ $osServiceType }}-ks-service-registration
image: {{ $envAll.Values.images.tags.ks_service }}
imagePullPolicy: {{ $envAll.Values.images.pull_policy }}
{{ tuple $envAll $envAll.Values.pod.resources.jobs.ks_service | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
command:
- /tmp/ks-service.sh
volumeMounts: