Skip to content

Commit

Permalink
feeds: image v5.7.0 update (#229)
Browse files Browse the repository at this point in the history
* feeds: bumping chart version to 5.7.0; disable ANCHORE_FEEDS_GRYPEDB_PRELOAD_ENABLED by default
* feeds: bumping k8s version contraint

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

---------

Signed-off-by: Hung Nguyen <[email protected]>
  • Loading branch information
HN23 committed Jun 28, 2024
1 parent 1d89fdc commit 1697a24
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
kubernetesVersion: ["v1.24.17", "v1.25.16", "v1.26.14", "v1.27.11", "v1.28.7", "v1.29.2"]
kubernetesVersion: ["v1.24.17", "v1.25.16", "v1.26.14", "v1.27.11", "v1.28.7", "v1.29.2", "v1.30.0"]
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
6 changes: 3 additions & 3 deletions stable/feeds/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: v2
name: feeds
type: application
version: "2.6.0"
appVersion: "5.6.0"
kubeVersion: 1.23.x - 1.27.x || 1.23.x-x - 1.29.x-x
version: "2.7.0"
appVersion: "5.7.0"
kubeVersion: 1.23.x - 1.30.x || 1.23.x-x - 1.30.x-x
description: Anchore feeds service
keywords:
- "anchore"
Expand Down
11 changes: 9 additions & 2 deletions stable/feeds/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ helm install feedsy anchore/feeds \
--set securityContext.runAsGroup=null \
--set securityContext.runAsUser=null \
--set feeds-db.primary.containerSecurityContext.enabled=false \
--set feeds-db.primary.podSecurityContext.enabled=false
--set feeds-db.primary.podSecurityContext.enabled=false \
--set feeds-db.volumePermissions.enabled=true
```

#### Example OpenShift values file
Expand All @@ -107,6 +108,8 @@ feeds-db:
enabled: false
podSecurityContext:
enabled: false
volumePermissions:
enabled: true
```

## Upgrading the Chart
Expand Down Expand Up @@ -313,7 +316,7 @@ anchoreConfig:
| `url` | Set a custom feeds URL. Useful when using a feeds service endpoint that is external from the cluster. | `""` |
| `fullnameOverride` | overrides the fullname set on resources | `""` |
| `nameOverride` | overrides the name set on resources | `""` |
| `image` | Image used for feeds deployment | `docker.io/anchore/enterprise:v5.6.0` |
| `image` | Image used for feeds deployment | `docker.io/anchore/enterprise:v5.7.0` |
| `imagePullPolicy` | Image pull policy used by all deployments | `IfNotPresent` |
| `imagePullSecretName` | Name of Docker credentials secret for access to private repos | `anchore-enterprise-pullcreds` |
| `serviceAccountName` | Name of a service account used to run all Feeds pods | `""` |
Expand Down Expand Up @@ -502,6 +505,10 @@ 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.7.x
- Update Anchore Feeds image to v5.7.0. See the [Release Notes](https://docs.anchore.com/current/docs/releasenotes/570/) for more information.
### v2.6.x
- Update Anchore Feeds image to v5.6.0. See the [Release Notes](https://docs.anchore.com/current/docs/releasenotes/560/) for more information.
Expand Down
2 changes: 1 addition & 1 deletion stable/feeds/templates/envvars_configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ data:
ANCHORE_FEEDS_DRIVER_WOLFI_ENABLED: "true"
ANCHORE_FEEDS_EXTERNAL_URL: "{{ template "feeds.setGrypeProviderURL" . }}"
ANCHORE_FEEDS_LOCAL_WORKSPACE: "{{ .Values.persistence.mountPath }}"
ANCHORE_FEEDS_GRYPEDB_PRELOAD_ENABLED: "true"
ANCHORE_FEEDS_GRYPEDB_PRELOAD_ENABLED: "false"
ANCHORE_FEEDS_GRYPEDB_PRELOAD_PATH: "/preload/grype-db-workspace.tar.gz"
ANCHORE_FEEDS_GRYPEDB_PERSIST_WORKSPACE: "true"
ANCHORE_FEEDS_GRYPEDB_RESTORE_WORKSPACE: "true"
Expand Down
2 changes: 1 addition & 1 deletion stable/feeds/tests/__snapshot__/configmap_test.yaml.snap
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ should render the configmaps:
ANCHORE_FEEDS_DRIVER_WOLFI_ENABLED: "true"
ANCHORE_FEEDS_EXTERNAL_URL: http://test-release-feeds:8448/v2/
ANCHORE_FEEDS_GRYPEDB_PERSIST_WORKSPACE: "true"
ANCHORE_FEEDS_GRYPEDB_PRELOAD_ENABLED: "true"
ANCHORE_FEEDS_GRYPEDB_PRELOAD_ENABLED: "false"
ANCHORE_FEEDS_GRYPEDB_PRELOAD_PATH: /preload/grype-db-workspace.tar.gz
ANCHORE_FEEDS_GRYPEDB_RESTORE_WORKSPACE: "true"
ANCHORE_FEEDS_LOCAL_WORKSPACE: /workspace
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,6 @@ should render proper initContainers:
value: test-release-feeds.test-namespace.svc.cluster.local
- name: ANCHORE_PORT
value: "8448"
image: docker.io/anchore/enterprise:v5.6.0
image: docker.io/anchore/enterprise:v5.7.0
imagePullPolicy: IfNotPresent
name: wait-for-db
2 changes: 1 addition & 1 deletion stable/feeds/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ nameOverride: ""

## @param image Image used for feeds deployment
##
image: docker.io/anchore/enterprise:v5.6.0
image: docker.io/anchore/enterprise:v5.7.0

## @param imagePullPolicy Image pull policy used by all deployments
## ref: https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy
Expand Down

0 comments on commit 1697a24

Please sign in to comment.