diff --git a/stable/anchore-engine/Chart.yaml b/stable/anchore-engine/Chart.yaml index 51e44fa1a4..8f9f8c0a7d 100644 --- a/stable/anchore-engine/Chart.yaml +++ b/stable/anchore-engine/Chart.yaml @@ -1,6 +1,6 @@ name: anchore-engine -version: 0.1.4 -appVersion: 0.1.6 +version: 0.1.5 +appVersion: 0.1.9 description: Anchore container analysis and policy evaluation engine service keywords: - analysis diff --git a/stable/anchore-engine/templates/core_configmap.yaml b/stable/anchore-engine/templates/core_configmap.yaml index 75dfb0e20a..60e69dfedf 100644 --- a/stable/anchore-engine/templates/core_configmap.yaml +++ b/stable/anchore-engine/templates/core_configmap.yaml @@ -11,7 +11,7 @@ metadata: data: config.yaml: | # Anchore Service Configuration File from ConfigMap - service_dir: {{ default "/config" .Values.globalConfig.configDir }} + service_dir: {{ .Values.globalConfig.configDir }} tmp_dir: "/tmp" allow_awsecr_iam_auto: {{ .Values.globalConfig.allowECRUseIAMRole }} diff --git a/stable/anchore-engine/templates/worker_configmap.yaml b/stable/anchore-engine/templates/worker_configmap.yaml index ec8502e3e9..9861ae2e6f 100644 --- a/stable/anchore-engine/templates/worker_configmap.yaml +++ b/stable/anchore-engine/templates/worker_configmap.yaml @@ -15,7 +15,7 @@ data: # General system-wide configuration options, these should not need to # be altered for basic operation # - service_dir: {{ default "/config" .Values.globalConfig.configDir }} + service_dir: {{ .Values.globalConfig.configDir }} tmp_dir: {{ default "/tmp" .Values.workerConfig.analyzerScratchDir }} allow_awsecr_iam_auto: {{ .Values.globalConfig.allowECRUseIAMRole }} diff --git a/stable/anchore-engine/values.yaml b/stable/anchore-engine/values.yaml index d467f75053..12216c4b66 100644 --- a/stable/anchore-engine/values.yaml +++ b/stable/anchore-engine/values.yaml @@ -11,8 +11,8 @@ service: k8sImagePolicyWebhook: 8338 image: - # Specific version tags are also available, e.g. v0.1.5, v0.1.6,... - tag: docker.io/anchore/anchore-engine:latest + # Can use 'latest' but not recommended + tag: docker.io/anchore/anchore-engine:v0.1.9 # pullPolicy: IfNotPresent # Used to create Ingress record (should used with service.type: ClusterIP or NodePort depending on platform) @@ -42,6 +42,9 @@ postgresql: # Global configuration shared by both core and worker globalConfig: + # Set where default configs are placed at startup. This must be a writable location for the pod. + configDir: /anchore_service_config + dbConfig: timeout: 120 # Use ssl, but the default postgresql config in helm's stable repo does not support ssl on server side, so this should be set for external dbs only for the time being