diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fdf77048be93259f52cdb206c9002dcc3235fb1..c6203469ef0e6ddaa49958278f11a8719e8629c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), --- +## [3.3.1-bb.1] - 2025-01-13 + +### Changed + +- ability to disable `ensure-anchore-db` job + ## [3.3.1-bb.0] - 2025-01-06 ### Changed diff --git a/README.md b/README.md index d742cfddba408ed464e4fea421b97b1481b7e965..c7c3f9f75509dccd0181ef8e7be9d801e99f2ff5 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ <!-- Warning: Do not manually edit this file. See notes on gluon + helm-docs at the end of this file for more information. --> # anchore -   +   Anchore Enterprise is a complete container security workflow solution for professional teams. Easily integrating with CI/CD systems, it allows developers to bolster security without compromising velocity and enables security teams to audit and verify compliance in real-time. @@ -541,6 +541,7 @@ helm install anchore chart/ | ui-redis.commonConfiguration | string | `"maxmemory 200mb\nsave \"\""` | | | postgresql.enabled | bool | `true` | | | postgresql.externalEndpoint | string | `""` | | +| postgresql.externalDBCheckEnabled | bool | `false` | | | postgresql.primary.resources | object | `{}` | | | postgresql.primary.service.ports.postgresql | int | `5432` | | | postgresql.primary.podSecurityContext.enabled | bool | `true` | | diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 34a3f089ae8f06bb5be636e2e9227edba896233e..f7bf3dc40d18c11d1440a94ca75800d961cf6e23 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,5 +1,5 @@ name: anchore -version: 3.3.1-bb.0 +version: 3.3.1-bb.1 apiVersion: v2 appVersion: 5.13.1 kubeVersion: ">=1.23.x || >=1.23.x-x" diff --git a/chart/templates/bigbang/db/ensure-anchore-db.yaml b/chart/templates/bigbang/db/ensure-anchore-db.yaml index 32426f0481ad62766e597c8e76b3884ba8283170..bb084e8106132aa1c61d66b05d0399a5193f8b33 100644 --- a/chart/templates/bigbang/db/ensure-anchore-db.yaml +++ b/chart/templates/bigbang/db/ensure-anchore-db.yaml @@ -1,5 +1,5 @@ {{- if hasKey .Values.postgresql "enabled" }} -{{- if (not .Values.postgresql.enabled) }} +{{- if and (not .Values.postgresql.enabled) ( not .Values.postgresql.externalDBCheckEnabled) }} # Job to sync db and db user with external postgres for Anchore's primary data store apiVersion: batch/v1 kind: Job diff --git a/chart/values.yaml b/chart/values.yaml index fa96f01d26084d0450754a1abd8031f2c86f1a8b..4e556e9fdce2cffc483c4d7207d0ceb443d50c07 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -1916,6 +1916,10 @@ postgresql: ## externalEndpoint: "" + ## ** Big Bang Change ** + ## switch to true for externalDBCheckEnabled if externalEndpoint is used. This disables ensure-anchore-db job + externalDBCheckEnabled: false + ## ** Big Bang Change ** ## @param postgresql.postgresUser Username used to connect to postgresql ## @param postgresql.postgresPassword Password used to connect to postgresql