Skip to content

chore(chart-deps): update trivy-operator to version 0.34.0 - #3435

Draft
svcAPLBot wants to merge 29 commits into
mainfrom
ci-update-trivy-operator-to-0.34.0
Draft

chore(chart-deps): update trivy-operator to version 0.34.0#3435
svcAPLBot wants to merge 29 commits into
mainfrom
ci-update-trivy-operator-to-0.34.0

Conversation

@svcAPLBot

Copy link
Copy Markdown
Contributor

This PR updates the dependency trivy-operator to version 0.34.0.

@svcAPLBot svcAPLBot added the chart-deps Auto generated helm chart dependencies label Jul 9, 2026
Copilot AI lite review requested due to automatic review settings July 29, 2026 13:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the vendored trivy-operator Helm chart to 0.34.0 (with appVersion 0.32.0) and aligns associated defaults/docs to the new chart content.

Changes:

  • Bump chart dependency/version references to 0.34.0 (and appVersion to 0.32.0) across the chart, chart index, and apps.yaml.
  • Update Trivy image default tag to 0.72.0.
  • Expand config audit coverage to include PersistentVolume/PersistentVolumeClaim and update RBAC resources accordingly.

Reviewed changes

Copilot reviewed 11 out of 12 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
charts/trivy-operator/values.yaml Updates Trivy image tag and extends supported config audit kinds.
charts/trivy-operator/templates/specs/rke2-cis-1.24.yaml Updates compliance spec label version value.
charts/trivy-operator/templates/specs/k8s-pss-restricted-0.1.yaml Updates compliance spec label version value.
charts/trivy-operator/templates/specs/k8s-pss-baseline-0.1.yaml Updates compliance spec label version value.
charts/trivy-operator/templates/specs/k8s-nsa-1.0.yaml Updates compliance spec label version value.
charts/trivy-operator/templates/specs/k8s-cis-1.23.yaml Updates compliance spec label version value.
charts/trivy-operator/templates/specs/eks-cis-1.4.yaml Updates compliance spec label version value.
charts/trivy-operator/README.md Regenerates version/appVersion badges and value table entries to match updated defaults.
charts/trivy-operator/generated/role.yaml Extends RBAC resource access for PV/PVC config audits.
charts/trivy-operator/Chart.yaml Bumps chart version to 0.34.0 and appVersion to 0.32.0.
chart/chart-index/Chart.yaml Updates the trivy-operator dependency version to 0.34.0.
apps.yaml Updates the Trivy Operator appVersion metadata to 0.32.0.

Comment on lines 6 to 10
labels:
app.kubernetes.io/name: trivy-operator
app.kubernetes.io/instance: trivy-operator
app.kubernetes.io/version: 0.30.1
app.kubernetes.io/version: 0.32.0
app.kubernetes.io/managed-by: kubectl
Comment on lines 7 to 11
labels:
app.kubernetes.io/name: trivy-operator
app.kubernetes.io/instance: trivy-operator
app.kubernetes.io/version: 0.30.1
app.kubernetes.io/version: 0.32.0
app.kubernetes.io/managed-by: kubectl
Comment on lines 7 to 11
labels:
app.kubernetes.io/name: trivy-operator
app.kubernetes.io/instance: trivy-operator
app.kubernetes.io/version: 0.30.1
app.kubernetes.io/version: 0.32.0
app.kubernetes.io/managed-by: kubectl
Comment on lines 7 to 11
labels:
app.kubernetes.io/name: trivy-operator
app.kubernetes.io/instance: trivy-operator
app.kubernetes.io/version: 0.30.1
app.kubernetes.io/version: 0.32.0
app.kubernetes.io/managed-by: kubectl
Comment on lines 7 to 11
labels:
app.kubernetes.io/name: trivy-operator
app.kubernetes.io/instance: trivy-operator
app.kubernetes.io/version: 0.30.1
app.kubernetes.io/version: 0.32.0
app.kubernetes.io/managed-by: kubectl
Comment on lines 6 to 10
labels:
app.kubernetes.io/name: trivy-operator
app.kubernetes.io/instance: trivy-operator
app.kubernetes.io/version: 0.30.1
app.kubernetes.io/version: 0.32.0
app.kubernetes.io/managed-by: kubectl
Copilot AI review requested due to automatic review settings July 29, 2026 14:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 12 changed files in this pull request and generated no new comments.

Comments suppressed due to low confidence (1)

apps.yaml:215

  • apps.yaml updates Trivy Operator appVersion to 0.32.0, but the relatedLinks URL still points to the old docs version (v0.16.4). This makes the in-repo app metadata inconsistent and sends readers to the wrong documentation for the version being shipped.
    appVersion: 0.32.0
    repo: https://github.com/aquasecurity/trivy-operator
    maintainers: Aqua Security
    relatedLinks:
      - https://aquasecurity.github.io/trivy-operator/v0.16.4/

Copilot AI review requested due to automatic review settings July 30, 2026 13:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 12 changed files in this pull request and generated no new comments.

Suppressed comments (6)

charts/trivy-operator/templates/specs/k8s-pss-restricted-0.1.yaml:10

  • Avoid hardcoding the app.kubernetes.io/version label here; it will drift the next time Chart.appVersion is bumped. Use the chart’s AppVersion template value instead to keep labels consistent across resources.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/k8s-pss-baseline-0.1.yaml:10

  • Avoid hardcoding the app.kubernetes.io/version label here; it will drift the next time Chart.appVersion is bumped. Use the chart’s AppVersion template value instead to keep labels consistent across resources.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/k8s-nsa-1.0.yaml:10

  • Avoid hardcoding the app.kubernetes.io/version label here; it will drift the next time Chart.appVersion is bumped. Use the chart’s AppVersion template value instead to keep labels consistent across resources.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/k8s-cis-1.23.yaml:9

  • Avoid hardcoding the app.kubernetes.io/version label here; it will drift the next time Chart.appVersion is bumped. Use the chart’s AppVersion template value instead to keep labels consistent across resources.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/eks-cis-1.4.yaml:9

  • Avoid hardcoding the app.kubernetes.io/version label here; it will drift the next time Chart.appVersion is bumped. Use the chart’s AppVersion template value instead to keep labels consistent across resources.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/rke2-cis-1.24.yaml:10

  • Avoid hardcoding the app.kubernetes.io/version label here; it will drift the next time Chart.appVersion is bumped. Use the chart’s AppVersion template value instead to keep labels consistent across resources.
    app.kubernetes.io/version: 0.32.0

Copilot AI review requested due to automatic review settings August 3, 2026 14:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 12 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings August 3, 2026 14:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 12 changed files in this pull request and generated no new comments.

Suppressed comments (6)

charts/trivy-operator/templates/specs/k8s-cis-1.23.yaml:9

  • The app.kubernetes.io/version label is hardcoded, which will drift on future chart upgrades. Since this is a Helm template already, use .Chart.AppVersion (as done in templates/_helpers.tpl) to keep the label consistent with Chart.yaml appVersion.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/eks-cis-1.4.yaml:9

  • The app.kubernetes.io/version label is hardcoded, which will drift on future chart upgrades. Since this is a Helm template already, use .Chart.AppVersion (as done in templates/_helpers.tpl) to keep the label consistent with Chart.yaml appVersion.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/rke2-cis-1.24.yaml:10

  • The app.kubernetes.io/version label is hardcoded, which will drift on future chart upgrades. Since this is a Helm template already, use .Chart.AppVersion (as done in templates/_helpers.tpl) to keep the label consistent with Chart.yaml appVersion.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/k8s-pss-restricted-0.1.yaml:10

  • The app.kubernetes.io/version label is hardcoded, which will drift on future chart upgrades. Since this is a Helm template already, use .Chart.AppVersion (as done in templates/_helpers.tpl) to keep the label consistent with Chart.yaml appVersion.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/k8s-pss-baseline-0.1.yaml:10

  • The app.kubernetes.io/version label is hardcoded, which will drift on future chart upgrades. Since this is a Helm template already, use .Chart.AppVersion (as done in templates/_helpers.tpl) to keep the label consistent with Chart.yaml appVersion.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/k8s-nsa-1.0.yaml:10

  • The app.kubernetes.io/version label is hardcoded, which will drift on future chart upgrades. Since this is a Helm template already, use .Chart.AppVersion (as done in templates/_helpers.tpl) to keep the label consistent with Chart.yaml appVersion.
    app.kubernetes.io/version: 0.32.0

Copilot AI review requested due to automatic review settings August 4, 2026 07:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 12 changed files in this pull request and generated no new comments.

Suppressed comments (7)

charts/trivy-operator/templates/specs/k8s-cis-1.23.yaml:9

  • The compliance spec hard-codes app.kubernetes.io/version. Since this value is the chart AppVersion and is already being updated, it should be templated (e.g. .Chart.AppVersion) to avoid having to manually touch multiple files on every upgrade.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/eks-cis-1.4.yaml:9

  • The compliance spec hard-codes app.kubernetes.io/version. Template this from the chart AppVersion (instead of a literal) to prevent version drift during future chart upgrades.
    app.kubernetes.io/version: 0.32.0

apps.yaml:215

  • The Trivy Operator docs link is pinned to v0.16.4, but the appVersion was updated to 0.32.0. This makes the metadata inconsistent and can send users to outdated docs; update the link to match the new appVersion (or switch to an unversioned docs URL).
    appVersion: 0.32.0
    repo: https://github.com/aquasecurity/trivy-operator
    maintainers: Aqua Security
    relatedLinks:
      - https://aquasecurity.github.io/trivy-operator/v0.16.4/

charts/trivy-operator/templates/specs/k8s-nsa-1.0.yaml:10

  • The compliance spec hard-codes app.kubernetes.io/version. Template this from the chart AppVersion (instead of a literal) to prevent version drift during future chart upgrades.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/k8s-pss-restricted-0.1.yaml:10

  • The compliance spec hard-codes app.kubernetes.io/version. Template this from the chart AppVersion (instead of a literal) to prevent version drift during future chart upgrades.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/rke2-cis-1.24.yaml:10

  • The compliance spec hard-codes app.kubernetes.io/version. Template this from the chart AppVersion (instead of a literal) to prevent version drift during future chart upgrades.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/k8s-pss-baseline-0.1.yaml:10

  • The compliance spec hard-codes app.kubernetes.io/version. Template this from the chart AppVersion (instead of a literal) to prevent version drift during future chart upgrades.
    app.kubernetes.io/version: 0.32.0

Copilot AI review requested due to automatic review settings August 4, 2026 07:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 12 changed files in this pull request and generated no new comments.

Suppressed comments (6)

charts/trivy-operator/templates/specs/rke2-cis-1.24.yaml:10

  • The compliance spec hard-codes app.kubernetes.io/version, which can drift from Chart.yaml appVersion (and the chart already has access to .Chart.AppVersion). Template this value so future bumps don’t require editing multiple files.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/k8s-pss-restricted-0.1.yaml:10

  • The compliance spec hard-codes app.kubernetes.io/version, which can drift from Chart.yaml appVersion (and the chart already has access to .Chart.AppVersion). Template this value so future bumps don’t require editing multiple files.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/k8s-pss-baseline-0.1.yaml:10

  • The compliance spec hard-codes app.kubernetes.io/version, which can drift from Chart.yaml appVersion (and the chart already has access to .Chart.AppVersion). Template this value so future bumps don’t require editing multiple files.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/k8s-nsa-1.0.yaml:10

  • The compliance spec hard-codes app.kubernetes.io/version, which can drift from Chart.yaml appVersion (and the chart already has access to .Chart.AppVersion). Template this value so future bumps don’t require editing multiple files.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/k8s-cis-1.23.yaml:9

  • The compliance spec hard-codes app.kubernetes.io/version, which can drift from Chart.yaml appVersion (and the chart already has access to .Chart.AppVersion). Template this value so future bumps don’t require editing multiple files.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/eks-cis-1.4.yaml:9

  • The compliance spec hard-codes app.kubernetes.io/version, which can drift from Chart.yaml appVersion (and the chart already has access to .Chart.AppVersion). Template this value so future bumps don’t require editing multiple files.
    app.kubernetes.io/version: 0.32.0

Copilot AI review requested due to automatic review settings August 4, 2026 07:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 12 changed files in this pull request and generated no new comments.

Suppressed comments (6)

charts/trivy-operator/templates/specs/rke2-cis-1.24.yaml:10

  • The version label is hard-coded here, which duplicates Chart.yaml appVersion and can drift on future upgrades. Use the chart's AppVersion template so this stays in sync automatically.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/k8s-pss-restricted-0.1.yaml:10

  • The version label is hard-coded here, which duplicates Chart.yaml appVersion and can drift on future upgrades. Use the chart's AppVersion template so this stays in sync automatically.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/k8s-pss-baseline-0.1.yaml:10

  • The version label is hard-coded here, which duplicates Chart.yaml appVersion and can drift on future upgrades. Use the chart's AppVersion template so this stays in sync automatically.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/k8s-nsa-1.0.yaml:10

  • The version label is hard-coded here, which duplicates Chart.yaml appVersion and can drift on future upgrades. Use the chart's AppVersion template so this stays in sync automatically.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/k8s-cis-1.23.yaml:9

  • The version label is hard-coded here, which duplicates Chart.yaml appVersion and can drift on future upgrades. Use the chart's AppVersion template so this stays in sync automatically.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/eks-cis-1.4.yaml:9

  • The version label is hard-coded here, which duplicates Chart.yaml appVersion and can drift on future upgrades. Use the chart's AppVersion template so this stays in sync automatically.
    app.kubernetes.io/version: 0.32.0

Copilot AI review requested due to automatic review settings August 4, 2026 09:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 12 changed files in this pull request and generated no new comments.

Suppressed comments (6)

charts/trivy-operator/templates/specs/rke2-cis-1.24.yaml:10

  • This Helm template hard-codes the app version label, which requires manual updates on every chart bump. Prefer templating it from the chart metadata (or the existing labels helper) so it stays in sync with Chart.yaml appVersion.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/k8s-pss-restricted-0.1.yaml:10

  • This Helm template hard-codes the app version label, which requires manual updates on every chart bump. Prefer templating it from the chart metadata (or the existing labels helper) so it stays in sync with Chart.yaml appVersion.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/k8s-pss-baseline-0.1.yaml:10

  • This Helm template hard-codes the app version label, which requires manual updates on every chart bump. Prefer templating it from the chart metadata (or the existing labels helper) so it stays in sync with Chart.yaml appVersion.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/k8s-nsa-1.0.yaml:10

  • This Helm template hard-codes the app version label, which requires manual updates on every chart bump. Prefer templating it from the chart metadata (or the existing labels helper) so it stays in sync with Chart.yaml appVersion.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/k8s-cis-1.23.yaml:9

  • This Helm template hard-codes the app version label, which requires manual updates on every chart bump. Prefer templating it from the chart metadata (or the existing labels helper) so it stays in sync with Chart.yaml appVersion.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/eks-cis-1.4.yaml:9

  • This Helm template hard-codes the app version label, which requires manual updates on every chart bump. Prefer templating it from the chart metadata (or the existing labels helper) so it stays in sync with Chart.yaml appVersion.
    app.kubernetes.io/version: 0.32.0

Copilot AI review requested due to automatic review settings August 5, 2026 10:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 12 changed files in this pull request and generated no new comments.

Suppressed comments (6)

charts/trivy-operator/templates/specs/k8s-pss-baseline-0.1.yaml:10

  • Hardcoding app.kubernetes.io/version requires touching multiple spec templates on every chart/appVersion bump and risks drifting from Chart.yaml. Use the chart’s appVersion to keep this label consistent automatically.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/k8s-pss-restricted-0.1.yaml:10

  • Hardcoding app.kubernetes.io/version requires touching multiple spec templates on every chart/appVersion bump and risks drifting from Chart.yaml. Use the chart’s appVersion to keep this label consistent automatically.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/k8s-cis-1.23.yaml:9

  • Hardcoding app.kubernetes.io/version requires touching multiple spec templates on every chart/appVersion bump and risks drifting from Chart.yaml. Use the chart’s appVersion to keep this label consistent automatically.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/eks-cis-1.4.yaml:9

  • Hardcoding app.kubernetes.io/version requires touching multiple spec templates on every chart/appVersion bump and risks drifting from Chart.yaml. Use the chart’s appVersion to keep this label consistent automatically.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/rke2-cis-1.24.yaml:10

  • Hardcoding app.kubernetes.io/version requires touching multiple spec templates on every chart/appVersion bump and risks drifting from Chart.yaml. Use the chart’s appVersion to keep this label consistent automatically.
    app.kubernetes.io/version: 0.32.0

charts/trivy-operator/templates/specs/k8s-nsa-1.0.yaml:10

  • Hardcoding app.kubernetes.io/version requires touching multiple spec templates on every chart/appVersion bump and risks drifting from Chart.yaml. Use the chart’s appVersion to keep this label consistent automatically.
    app.kubernetes.io/version: 0.32.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chart-deps Auto generated helm chart dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants