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)

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
Charles-Edouard Brétéché 2023-09-27 15:03:17 +02:00 committed by GitHub
parent 8d2b68dc46
commit 4cabc3ce44
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.registryClient.credentialHelpers | list | `["default","google","amazon","azure","github"]` | Enable registry client helpers |
| features.reports.chunkSize | int | `1000` | Reports chunk size | | features.reports.chunkSize | int | `1000` | Reports chunk size |
| features.ttlController.reconciliationInterval | string | `"1m"` | Reconciliation interval for the label based cleanup manager | | 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.root | string | `nil` | Tuf root |
| features.tuf.mirror | string | `nil` | Tuf mirror | | features.tuf.mirror | string | `nil` | Tuf mirror |

View file

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

View file

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

View file

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