allowing annotations on core and worker deployments (#8306)

Signed-off-by: Raza Jhaveri <razajhaveri@googlemail.com>
This commit is contained in:
Raza Jhaveri
2018-10-16 11:07:41 -07:00
committed by k8s-ci-robot
parent 91e637898c
commit e6793d764a
4 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: anchore-engine
version: 0.2.3
version: 0.2.4
appVersion: 0.2.4
description: Anchore container analysis and policy evaluation engine service
keywords:
@@ -15,6 +15,10 @@ spec:
labels:
app: "{{ template "fullname" . }}"
component: core
{{- if .Values.coreConfig.annotations }}
annotations:
{{ toYaml .Values.coreConfig.annotations | indent 8 }}
{{- end }}
spec:
volumes:
- name: config-volume
@@ -15,6 +15,10 @@ spec:
labels:
app: "{{ template "worker.fullname" . }}"
component: worker
{{- if .Values.workerConfig.annotations }}
annotations:
{{ toYaml .Values.workerConfig.annotations | indent 8 }}
{{- end }}
spec:
containers:
- name: {{ .Chart.Name }}-worker
+4
View File
@@ -206,6 +206,8 @@ coreConfig:
## Node labels for pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
##
annotations: {}
nodeSelector: {}
tolerations: []
@@ -253,6 +255,8 @@ workerConfig:
## Node labels for pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
##
annotations: {}
nodeSelector: {}
tolerations: []