k8up-io / k8up

Kubernetes and OpenShift Backup Operator
https://k8up.io/
Apache License 2.0
719 stars 66 forks source link

Fix typo in `RestServerSpec` #941

Open Kidswiss opened 8 months ago

Kidswiss commented 8 months ago

Description

type RestServerSpec struct { URL string json:"url,omitempty" UserSecretRef corev1.SecretKeySelector json:"userSecretRef,omitempty" PasswordSecretReg corev1.SecretKeySelector json:"passwordSecretReg,omitempty" }

PasswordSecretReg -> PasswordSecretRef

However, as this changes a CRD field, we'd probably want to implement some mutation webhook to automatically re-write the wrong field.

Additional Context

No response

Logs

No response

Expected Behavior

PasswordSecretRef

Steps To Reproduce

No response

Version of K8up

Current master (a76028a4d5261962ffceca457298a1cf5c1d23b8)

Version of Kubernetes

N/A

Distribution of Kubernetes

N/A