diff --git a/stable/anchore-engine/Chart.yaml b/stable/anchore-engine/Chart.yaml index 2e4873e286..48160e9828 100644 --- a/stable/anchore-engine/Chart.yaml +++ b/stable/anchore-engine/Chart.yaml @@ -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: diff --git a/stable/anchore-engine/templates/core_deployment.yaml b/stable/anchore-engine/templates/core_deployment.yaml index d818a89449..af5f6a9887 100644 --- a/stable/anchore-engine/templates/core_deployment.yaml +++ b/stable/anchore-engine/templates/core_deployment.yaml @@ -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 diff --git a/stable/anchore-engine/templates/worker_deployment.yaml b/stable/anchore-engine/templates/worker_deployment.yaml index e84b37e715..6c64cf9906 100644 --- a/stable/anchore-engine/templates/worker_deployment.yaml +++ b/stable/anchore-engine/templates/worker_deployment.yaml @@ -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 diff --git a/stable/anchore-engine/values.yaml b/stable/anchore-engine/values.yaml index 4abd723a80..6317ffd972 100644 --- a/stable/anchore-engine/values.yaml +++ b/stable/anchore-engine/values.yaml @@ -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: []