mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
allowing annotations on core and worker deployments (#8306)
Signed-off-by: Raza Jhaveri <razajhaveri@googlemail.com>
This commit is contained in:
committed by
k8s-ci-robot
parent
91e637898c
commit
e6793d764a
@@ -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
|
||||
|
||||
@@ -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: []
|
||||
|
||||
Reference in New Issue
Block a user