Skip to content

Commit

Permalink
Merge pull request #427 from anchore/dev-sync
Browse files Browse the repository at this point in the history
enterprise-3.3.0 Anchore Enterprise 5.13 release
  • Loading branch information
HN23 authored Dec 17, 2024
2 parents 84f3c85 + d2e8f07 commit 127a7eb
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 33 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/openshift-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,15 @@ jobs:
env:
KUBECONFIG: ./tmp/kubeconfig

- name: Update to rc image if needed
if: ${{ github.event.pull_request.base.ref == 'rc5x' || github.ref_name == 'rc5x' }}
run: |
echo "Branch: ${{ github.event.pull_request.head.ref }}"
echo 'image: "docker.io/anchore/enterprise-dev:rc"' >> stable/enterprise/ci/openshift-test.yaml
echo 'ui:' >> stable/enterprise/ci/openshift-test.yaml
echo ' image: "docker.io/anchore/anchore-on-prem-ui-dev:rc"' >> stable/enterprise/ci/openshift-test.yaml
echo "Appended to stable/enterprise/ci/openshift-test.yaml"
- name: Run chart-testing
if: steps.list-changed.outputs.CHANGED == 'true'
run: |
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,15 @@ jobs:
helm install engine anchore/anchore-engine --namespace anchore --wait
kubectl --namespace anchore get pods
- name: Update to rc image if needed
if: ${{ github.event.pull_request.base.ref == 'rc5x' || github.ref_name == 'rc5x' }}
run: |
echo "Branch: ${{ github.event.pull_request.head.ref }}"
echo 'image: "docker.io/anchore/enterprise-dev:rc"' >> stable/enterprise/ci/rc-values.yaml
echo 'ui:' >> stable/enterprise/ci/rc-values.yaml
echo ' image: "docker.io/anchore/anchore-on-prem-ui-dev:rc"' >> stable/enterprise/ci/rc-values.yaml
echo "Appended to stable/enterprise/ci/rc-values.yaml"
- name: Run chart-testing
if: steps.list-changed.outputs.CHANGED == 'true'
run: ct install --config ct-config.yaml --helm-extra-args "--timeout 600s"
4 changes: 2 additions & 2 deletions stable/enterprise/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: enterprise
version: "3.2.3"
appVersion: "5.12.0"
version: "3.3.0"
appVersion: "5.13.0"
kubeVersion: 1.23.x - 1.31.x || 1.23.x-x - 1.31.x-x
description: |
Anchore Enterprise is a complete container security workflow solution for professional teams. Easily integrating with CI/CD systems,
Expand Down
27 changes: 7 additions & 20 deletions stable/enterprise/README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ should render the configmaps:
clamav:
db_update_enabled: true
enabled: <ALLOW_API_CONFIGURATION>
max_scan_time: 180000
retrieve_files:
file_list:
- /etc/passwd
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ migration job should match snapshot:
name: test-release-enterprise-config-env-vars
- secretRef:
name: test-release-enterprise
image: docker.io/anchore/enterprise:v5.12.0
image: docker.io/anchore/enterprise:v5.13.0
imagePullPolicy: IfNotPresent
name: migrate-analysis-archive
volumeMounts:
Expand Down Expand Up @@ -89,7 +89,7 @@ migration job should match snapshot:
valueFrom:
fieldRef:
fieldPath: metadata.name
image: docker.io/anchore/enterprise:v5.12.0
image: docker.io/anchore/enterprise:v5.13.0
imagePullPolicy: IfNotPresent
name: wait-for-db
restartPolicy: Never
Expand Down Expand Up @@ -148,7 +148,7 @@ migration job should match snapshot analysisArchiveMigration and objectStoreMigr
name: test-release-enterprise-config-env-vars
- secretRef:
name: test-release-enterprise
image: docker.io/anchore/enterprise:v5.12.0
image: docker.io/anchore/enterprise:v5.13.0
imagePullPolicy: IfNotPresent
name: migrate-analysis-archive
volumeMounts:
Expand Down Expand Up @@ -211,7 +211,7 @@ migration job should match snapshot analysisArchiveMigration and objectStoreMigr
valueFrom:
fieldRef:
fieldPath: metadata.name
image: docker.io/anchore/enterprise:v5.12.0
image: docker.io/anchore/enterprise:v5.13.0
imagePullPolicy: IfNotPresent
name: wait-for-db
restartPolicy: Never
Expand Down Expand Up @@ -268,7 +268,7 @@ migration job should match snapshot analysisArchiveMigration to true:
name: test-release-enterprise-config-env-vars
- secretRef:
name: test-release-enterprise
image: docker.io/anchore/enterprise:v5.12.0
image: docker.io/anchore/enterprise:v5.13.0
imagePullPolicy: IfNotPresent
name: migrate-analysis-archive
volumeMounts:
Expand Down Expand Up @@ -331,7 +331,7 @@ migration job should match snapshot analysisArchiveMigration to true:
valueFrom:
fieldRef:
fieldPath: metadata.name
image: docker.io/anchore/enterprise:v5.12.0
image: docker.io/anchore/enterprise:v5.13.0
imagePullPolicy: IfNotPresent
name: wait-for-db
restartPolicy: Never
Expand Down Expand Up @@ -387,7 +387,7 @@ migration job should match snapshot objectStoreMigration to true:
name: test-release-enterprise-config-env-vars
- secretRef:
name: test-release-enterprise
image: docker.io/anchore/enterprise:v5.12.0
image: docker.io/anchore/enterprise:v5.13.0
imagePullPolicy: IfNotPresent
name: migrate-analysis-archive
volumeMounts:
Expand Down Expand Up @@ -450,7 +450,7 @@ migration job should match snapshot objectStoreMigration to true:
valueFrom:
fieldRef:
fieldPath: metadata.name
image: docker.io/anchore/enterprise:v5.12.0
image: docker.io/anchore/enterprise:v5.13.0
imagePullPolicy: IfNotPresent
name: wait-for-db
restartPolicy: Never
Expand Down Expand Up @@ -621,6 +621,6 @@ should render proper initContainers:
valueFrom:
fieldRef:
fieldPath: metadata.name
image: docker.io/anchore/enterprise:v5.12.0
image: docker.io/anchore/enterprise:v5.13.0
imagePullPolicy: IfNotPresent
name: wait-for-db
6 changes: 4 additions & 2 deletions stable/enterprise/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ global:

## @param image Image used for all Anchore Enterprise deployments, excluding Anchore UI
##
image: docker.io/anchore/enterprise:v5.12.0
image: docker.io/anchore/enterprise:v5.13.0

## @param imagePullPolicy Image pull policy used by all deployments
## ref: https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy
Expand Down Expand Up @@ -503,6 +503,8 @@ anchoreConfig:
clamav:
enabled: "<ALLOW_API_CONFIGURATION>" # false
db_update_enabled: true
# Maximum time in milliseconds that a ClamAV scan is allowed to run
max_scan_time: 180000

catalog:
## @param anchoreConfig.catalog.cycle_timers.image_watcher Interval (seconds) to check for an update to a tag
Expand Down Expand Up @@ -1433,7 +1435,7 @@ simpleQueue:
ui:
## @param ui.image Image used for the Anchore UI container
##
image: docker.io/anchore/enterprise-ui:v5.12.0
image: docker.io/anchore/enterprise-ui:v5.13.0

## @param ui.imagePullPolicy Image pull policy for Anchore UI image
##
Expand Down

0 comments on commit 127a7eb

Please sign in to comment.