Skip to content

Commit

Permalink
bump enterprise image to 5.9.0 (#403)
Browse files Browse the repository at this point in the history
* bump enterprise image to 5.9.0
* adding pull creds to smoketest pod

Signed-off-by: Hung Nguyen <[email protected]>

---------

Signed-off-by: Hung Nguyen <[email protected]>
  • Loading branch information
HN23 authored Sep 4, 2024
1 parent aaab3c3 commit cb3d666
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 18 deletions.
6 changes: 3 additions & 3 deletions stable/enterprise/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ dependencies:
version: 17.11.8
- name: feeds
repository: https://charts.anchore.io/stable
version: 2.8.1
digest: sha256:579bc21169746a5ed09f3e8c03148a53553baf9a2d84513e851e2cddf29e0337
generated: "2024-08-09T17:01:00.083497-04:00"
version: 2.9.0
digest: sha256:794234e4be51cccf563f5efc4b205fef8042f1ddd3113c2578f839eb4b6e10dd
generated: "2024-09-04T11:58:57.913094-04:00"
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: "2.9.3"
appVersion: "5.8.1"
version: "2.10.0"
appVersion: "5.9.0"
kubeVersion: 1.23.x - 1.30.x || 1.23.x-x - 1.30.x-x
description: |
Anchore Enterprise is a complete container security workflow solution for professional teams. Easily integrating with CI/CD systems,
Expand Down
7 changes: 5 additions & 2 deletions stable/enterprise/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ To restore your deployment to using your previous driver configurations:
| Name | Description | Value |
| --------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------- |
| `image` | Image used for all Anchore Enterprise deployments, excluding Anchore UI | `docker.io/anchore/enterprise:v5.8.1` |
| `image` | Image used for all Anchore Enterprise deployments, excluding Anchore UI | `docker.io/anchore/enterprise:v5.9.0` |
| `imagePullPolicy` | Image pull policy used by all deployments | `IfNotPresent` |
| `imagePullSecretName` | Name of Docker credentials secret for access to private repos | `anchore-enterprise-pullcreds` |
| `startMigrationPod` | Spin up a Database migration pod to help migrate the database to the new schema | `false` |
Expand Down Expand Up @@ -1365,7 +1365,7 @@ To restore your deployment to using your previous driver configurations:
| Name | Description | Value |
| ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- |
| `ui.image` | Image used for the Anchore UI container | `docker.io/anchore/enterprise-ui:v5.8.0` |
| `ui.image` | Image used for the Anchore UI container | `docker.io/anchore/enterprise-ui:v5.9.0` |
| `ui.imagePullPolicy` | Image pull policy for Anchore UI image | `IfNotPresent` |
| `ui.existingSecretName` | Name of an existing secret to be used for Anchore UI DB and Redis endpoints | `anchore-enterprise-ui-env` |
| `ui.ldapsRootCaCertName` | Name of the custom CA certificate file store in `.Values.certStoreSecretName` | `""` |
Expand Down Expand Up @@ -1490,6 +1490,9 @@ For the latest updates and features in Anchore Enterprise, see the official [Rel
- **Minor Chart Version Change (e.g., v0.1.2 -> v0.2.0)**: Indicates a significant change to the deployment that does not require manual intervention.
- **Patch Chart Version Change (e.g., v0.1.2 -> v0.1.3)**: Indicates a backwards-compatible bug fix or documentation update.
### V2.10.x
- Deploys Anchore Enterprise v5.9.x. See the [Release Notes](https://docs.anchore.com/current/docs/releasenotes/590/) for more information.
### V2.9.x
- Deploys Anchore Enterprise v5.8.x. See the [Release Notes](https://docs.anchore.com/current/docs/releasenotes/580/) for more information.
- **Helm upgrade SLO improvements:**
Expand Down
13 changes: 13 additions & 0 deletions stable/enterprise/templates/tests/anchorectl_smoketest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,19 @@ metadata:
"helm.sh/hook": test
spec:
volumes: {{- include "enterprise.common.volumes" . | nindent 2 }}
{{- with .Values.imagePullSecretName }}
imagePullSecrets:
- name: {{ . }}
{{- end }}
{{- with (default .Values.nodeSelector (index .Values (print $component)).nodeSelector) }}
nodeSelector: {{- toYaml . | nindent 2 }}
{{- end }}
{{- with (default .Values.affinity (index .Values (print $component)).affinity) }}
affinity: {{- toYaml . | nindent 2 }}
{{- end }}
{{- with (default .Values.tolerations (index .Values (print $component)).tolerations) }}
tolerations: {{- toYaml . | nindent 2 }}
{{- end }}
containers:
- name: "anchorectl-smoketest"
image: {{ .Values.image }}
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.8.1
image: docker.io/anchore/enterprise:v5.9.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.8.1
image: docker.io/anchore/enterprise:v5.9.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.8.1
image: docker.io/anchore/enterprise:v5.9.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.8.1
image: docker.io/anchore/enterprise:v5.9.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.8.1
image: docker.io/anchore/enterprise:v5.9.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.8.1
image: docker.io/anchore/enterprise:v5.9.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.8.1
image: docker.io/anchore/enterprise:v5.9.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.8.1
image: docker.io/anchore/enterprise:v5.9.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.8.1
image: docker.io/anchore/enterprise:v5.9.0
imagePullPolicy: IfNotPresent
name: wait-for-db
4 changes: 2 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.8.1
image: docker.io/anchore/enterprise:v5.9.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 @@ -1348,7 +1348,7 @@ simpleQueue:
ui:
## @param ui.image Image used for the Anchore UI container
##
image: docker.io/anchore/enterprise-ui:v5.8.0
image: docker.io/anchore/enterprise-ui:v5.9.0

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

0 comments on commit cb3d666

Please sign in to comment.