Fix: Change credentials -> credentialsRef

This commit is contained in:
Daniel Hougaard
2024-03-19 11:25:26 +01:00
parent caea055281
commit 0341c32da0
6 changed files with 10 additions and 10 deletions

View File

@@ -15,7 +15,7 @@ type Authentication struct {
type UniversalAuthDetails struct {
// +kubebuilder:validation:Required
Credentials KubeSecretReference `json:"credentials"`
CredentialsRef KubeSecretReference `json:"credentialsRef"`
// +kubebuilder:validation:Required
SecretsScope MachineIdentityScopeInWorkspace `json:"secretsScope"`
}

View File

@@ -239,7 +239,7 @@ func (in *ServiceTokenDetails) DeepCopy() *ServiceTokenDetails {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *UniversalAuthDetails) DeepCopyInto(out *UniversalAuthDetails) {
*out = *in
out.Credentials = in.Credentials
out.CredentialsRef = in.CredentialsRef
out.SecretsScope = in.SecretsScope
}