You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a snippet similar to the above to create a backupStorageLocation that is not the default still results in the backStorageLocation being created with the default field set to true
I believe the issue is because of the usage of withhere
Changing this section to the following should fix this issue
{{- if .default }}
default: {{ .default }}
{{- end }}
As a result when default is set to false the default field isn't generated by the helm template and somehow/somewhere it seems Velero is assuming that the default value should be set to true
What did you expect to happen:
The backupStorageLocation is created with default set to false
Environment:
helm version (use helm version): version.BuildInfo{Version:"v3.14.0", GitCommit:"3fc9f4b2638e76f26739cd77c7017139be81d0ea", GitTreeState:"clean", GoVersion:"go1.21.6"}
helm chart version and app version (use helm list -n <YOUR NAMESPACE>): 5.3.0
Kubernetes version (use kubectl version): 1.28.5
Kubernetes installer & version: k0s
OS (e.g. from /etc/os-release): Debian GNU/Linux 12 (bookworm)
The text was updated successfully, but these errors were encountered:
What steps did you take and what happened:
Using a snippet similar to the above to create a backupStorageLocation that is not the default still results in the backStorageLocation being created with the
default
field set totrue
I believe the issue is because of the usage of
with
hereChanging this section to the following should fix this issue
As a result when
default
is set tofalse
thedefault
field isn't generated by the helm template and somehow/somewhere it seems Velero is assuming that thedefault
value should be set totrue
What did you expect to happen:
The backupStorageLocation is created with
default
set tofalse
Environment:
helm version
):version.BuildInfo{Version:"v3.14.0", GitCommit:"3fc9f4b2638e76f26739cd77c7017139be81d0ea", GitTreeState:"clean", GoVersion:"go1.21.6"}
helm list -n <YOUR NAMESPACE>
):5.3.0
kubectl version
):1.28.5
k0s
/etc/os-release
):Debian GNU/Linux 12 (bookworm)
The text was updated successfully, but these errors were encountered: