1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

fix: make tuf feature in chart consistent with others (#8542) (#8546)

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
gcp-cherry-pick-bot[bot] 2023-09-27 13:50:31 +00:00 committed by GitHub
parent f8d7d622af
commit 44859d9c47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View file

@ -315,7 +315,7 @@ The chart values are organised per component.
| features.registryClient.credentialHelpers | list | `["default","google","amazon","azure","github"]` | Enable registry client helpers |
| features.reports.chunkSize | int | `1000` | Reports chunk size |
| features.ttlController.reconciliationInterval | string | `"1m"` | Reconciliation interval for the label based cleanup manager |
| features.tuf.enable | bool | `false` | Enable tuf |
| features.tuf.enabled | bool | `false` | Enables the feature |
| features.tuf.root | string | `nil` | Tuf root |
| features.tuf.mirror | string | `nil` | Tuf mirror |

View file

@ -75,7 +75,7 @@
{{- $flags = append $flags (print "--ttlReconciliationInterval=" .reconciliationInterval) -}}
{{- end -}}
{{- with .tuf -}}
{{- with .enable -}}
{{- with .enabled -}}
{{- $flags = append $flags (print "--enableTuf=" .) -}}
{{- end -}}
{{- with .mirror -}}

View file

@ -448,8 +448,8 @@ features:
# -- Reconciliation interval for the label based cleanup manager
reconciliationInterval: 1m
tuf:
# -- Enable tuf
enable: false
# -- Enables the feature
enabled: false
# -- (string) Tuf root
root: ~
# -- (string) Tuf mirror

View file

@ -1,6 +1,6 @@
features:
tuf:
enable: true
enabled: true
root: "$(TUF_MIRROR)/root.json"
mirror: "$(TUF_MIRROR)"