From 75cd32387b97bc10741ce16bcfb98ddab7c88a01 Mon Sep 17 00:00:00 2001 From: sunnyyip Date: Thu, 6 Jun 2024 15:15:25 -0400 Subject: [PATCH] Guac release 0.7.1 (#52) * bump version to 0.3.1 Signed-off-by: Sunny Yip * guac v0.7.0 release Signed-off-by: Sunny Yip * add no configmap test Signed-off-by: Sunny Yip * run osv certifier as collector Signed-off-by: Sunny Yip * bump version Signed-off-by: Sunny Yip * add daysSinceLastScan flag for osv certifier Signed-off-by: Sunny Yip --------- Signed-off-by: Sunny Yip --- charts/guac/Chart.yaml | 4 ++-- charts/guac/templates/guac-cm.yaml | 4 ++++ charts/guac/tests/osv-certifier_deployment_test.yaml | 2 +- charts/guac/values.yaml | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/charts/guac/Chart.yaml b/charts/guac/Chart.yaml index 0b0fd48..432cab2 100644 --- a/charts/guac/Chart.yaml +++ b/charts/guac/Chart.yaml @@ -9,8 +9,8 @@ maintainers: email: guac-info@kusari.dev type: application -version: 0.4.0 -appVersion: "v0.7.0" +version: 0.4.1 +appVersion: "v0.7.1" dependencies: - name: nats diff --git a/charts/guac/templates/guac-cm.yaml b/charts/guac/templates/guac-cm.yaml index 6ca812a..9bc95b7 100644 --- a/charts/guac/templates/guac-cm.yaml +++ b/charts/guac/templates/guac-cm.yaml @@ -43,6 +43,10 @@ data: service-poll: true use-csub: true + # OscCertifier behavior + daysSinceLastScan: 1 # days since the last vulnerability scan was run. 0 means only run once + + # certifier polling poll: true interval: 5m diff --git a/charts/guac/tests/osv-certifier_deployment_test.yaml b/charts/guac/tests/osv-certifier_deployment_test.yaml index da1b23a..82ec18b 100644 --- a/charts/guac/tests/osv-certifier_deployment_test.yaml +++ b/charts/guac/tests/osv-certifier_deployment_test.yaml @@ -35,7 +35,7 @@ tests: value: "-c" - equal: path: spec.template.spec.containers[0].command[2] - value: "/opt/guac/guacone certifier osv --poll" + value: "/opt/guac/guaccollect osv" - it: should respect spec level parameters values: diff --git a/charts/guac/values.yaml b/charts/guac/values.yaml index c0c4f9c..331e614 100644 --- a/charts/guac/values.yaml +++ b/charts/guac/values.yaml @@ -219,7 +219,7 @@ guac: reloader.stakater.com/auto: "true" replicas: 1 image: - command: ['sh', '-c', '/opt/guac/guacone certifier osv --poll'] + command: ['sh', '-c', '/opt/guac/guaccollect osv'] env: [] nodeSelector: {} tolerations: []