Skip to content

Commit 4b040b8

Browse files
peschmaesimar7
authored andcommitted
docs(helm): Add trivy.existingSecret to README
1 parent 44a0102 commit 4b040b8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

deploy/helm/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ Keeps security report resources updated
136136
| trivy.dbRepositoryPassword | string | `nil` | The password for dbRepository authentication |
137137
| trivy.dbRepositoryUsername | string | `nil` | The username for dbRepository authentication |
138138
| trivy.debug | bool | `false` | debug One of `true` or `false`. Enables debug mode. |
139+
| trivy.existingSecret | bool | `false` | existingSecret if a secret containing gitHubToken, serverToken or serverCustomHeaders has been created outside the chart (e.g external-secrets, sops, etc...). Keys must be at least one of the following: trivy.githubToken, trivy.serverToken, trivy.serverCustomHeaders Overrides trivy.gitHubToken, trivy.serverToken, trivy.serverCustomHeaders values. Note: The secret has to be named "trivy-operator-trivy-config". |
139140
| trivy.externalRegoPoliciesEnabled | bool | `false` | The Flag to enable the usage of external rego policies config-map, this should be used when the user wants to use their own rego policies |
140141
| trivy.filesystemScanCacheDir | string | `"/var/trivyoperator/trivy-db"` | filesystemScanCacheDir the flag to set custom path for trivy filesystem scan `cache-dir` parameter. Only applicable in filesystem scan mode. |
141142
| trivy.githubToken | string | `nil` | githubToken is the GitHub access token used by Trivy to download the vulnerabilities database from GitHub. Only applicable in Standalone mode. |

deploy/helm/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ trivy:
520520
# Keys must be at least one of the following: trivy.githubToken, trivy.serverToken, trivy.serverCustomHeaders
521521
# Overrides trivy.gitHubToken, trivy.serverToken, trivy.serverCustomHeaders values.
522522
# Note: The secret has to be named "trivy-operator-trivy-config".
523-
# existingSecret: true
523+
existingSecret: false
524524

525525
# -- serverTokenHeader is the name of the HTTP header used to send the authentication
526526
# token to Trivy server. Only application in ClientServer mode when

0 commit comments

Comments
 (0)