Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/kyverno/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |

Expand Down
2 changes: 1 addition & 1 deletion charts/kyverno/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}
Expand Down
4 changes: 2 additions & 2 deletions charts/kyverno/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/config/custom-sigstore/kyverno.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
features:
tuf:
enable: true
enabled: true
root: "$(TUF_MIRROR)/root.json"
mirror: "$(TUF_MIRROR)"

Expand Down