Skip to content

Commit

Permalink
chore: using mirror.gcr.io instead of ghcr.io
Browse files Browse the repository at this point in the history
  • Loading branch information
afdesk committed Nov 15, 2024
1 parent 873864d commit 5fa71c0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions deploy/helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ Keeps security report resources updated
| trivy.clientServerSkipUpdate | bool | `false` | clientServerSkipUpdate is the flag to enable skip databases update for Trivy client. Only applicable in ClientServer mode. |
| trivy.command | string | `"image"` | command. One of `image`, `filesystem` or `rootfs` scanning, depending on the target type required for the scan. For 'filesystem' and `rootfs` scanning, ensure that the `trivyOperator.scanJobPodTemplateContainerSecurityContext` is configured to run as the root user (runAsUser = 0). |
| trivy.createConfig | bool | `true` | createConfig indicates whether to create config objects |
| trivy.dbRegistry | string | `"ghcr.io"` | |
| trivy.dbRepository | string | `"aquasecurity/trivy-db"` | |
| trivy.dbRegistry | string | `"mirror.gcr.io"` | |
| trivy.dbRepository | string | `"aquasec/trivy-db"` | |
| trivy.dbRepositoryInsecure | string | `"false"` | The Flag to enable insecure connection for downloading trivy-db via proxy (air-gaped env) |
| trivy.dbRepositoryPassword | string | `nil` | The password for dbRepository authentication |
| trivy.dbRepositoryUsername | string | `nil` | The username for dbRepository authentication |
Expand All @@ -149,8 +149,8 @@ Keeps security report resources updated
| trivy.imageScanCacheDir | string | `"/tmp/trivy/.cache"` | imageScanCacheDir the flag to set custom path for trivy image scan `cache-dir` parameter. Only applicable in image scan mode. |
| trivy.includeDevDeps | bool | `false` | includeDevDeps include development dependencies in the report (supported: npm, yarn) (default: false) note: this flag is only applicable when trivy.command is set to filesystem |
| trivy.insecureRegistries | object | `{}` | The registry to which insecure connections are allowed. There can be multiple registries with different keys. |
| trivy.javaDbRegistry | string | `"ghcr.io"` | javaDbRegistry is the registry for the Java vulnerability database. |
| trivy.javaDbRepository | string | `"aquasecurity/trivy-java-db"` | |
| trivy.javaDbRegistry | string | `"mirror.gcr.io"` | javaDbRegistry is the registry for the Java vulnerability database. |
| trivy.javaDbRepository | string | `"aquasec/trivy-java-db"` | |
| trivy.labels | object | `{}` | labels is the extra labels to be used for trivy server statefulset |
| trivy.mode | string | `"Standalone"` | mode is the Trivy client mode. Either Standalone or ClientServer. Depending on the active mode other settings might be applicable or required. |
| trivy.noProxy | string | `nil` | noProxy is a comma separated list of IPs and domain names that are not subject to proxy settings. |
Expand Down
8 changes: 4 additions & 4 deletions deploy/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -517,8 +517,8 @@ trivy:
serverCustomHeaders: ~
# serverCustomHeaders: "foo=bar"

dbRegistry: "ghcr.io"
dbRepository: "aquasecurity/trivy-db"
dbRegistry: "mirror.gcr.io"
dbRepository: "aquasec/trivy-db"

# -- The username for dbRepository authentication
#
Expand All @@ -529,8 +529,8 @@ trivy:
dbRepositoryPassword: ~

# -- javaDbRegistry is the registry for the Java vulnerability database.
javaDbRegistry: "ghcr.io"
javaDbRepository: "aquasecurity/trivy-java-db"
javaDbRegistry: "mirror.gcr.io"
javaDbRepository: "aquasec/trivy-java-db"

# -- The Flag to enable insecure connection for downloading trivy-db via proxy (air-gaped env)
#
Expand Down
4 changes: 2 additions & 2 deletions deploy/static/trivy-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3050,8 +3050,8 @@ data:
trivy.includeDevDeps: "false"
trivy.imageScanCacheDir: "/tmp/trivy/.cache"
trivy.filesystemScanCacheDir: "/var/trivyoperator/trivy-db"
trivy.dbRepository: "ghcr.io/aquasecurity/trivy-db"
trivy.javaDbRepository: "ghcr.io/aquasecurity/trivy-java-db"
trivy.dbRepository: "mirror.gcr.io/aquasec/trivy-db"
trivy.javaDbRepository: "mirror.gcr.io/aquasec/trivy-java-db"
trivy.command: "image"
trivy.sbomSources: ""
trivy.dbRepositoryInsecure: "false"
Expand Down

0 comments on commit 5fa71c0

Please sign in to comment.