Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Fix: Generate new types

Daniel Hougaard3765a14246c6
diff --git a/k8-operator/api/v1alpha1/infisicalsecret_types.go b/k8-operator/api/v1alpha1/infisicalsecret_types.go
index da799a41d4..bcf9697405 100644
--- a/k8-operator/api/v1alpha1/infisicalsecret_types.go
+++ b/k8-operator/api/v1alpha1/infisicalsecret_types.go
@@ -10,10 +10,10 @@ type Authentication struct {
// +kubebuilder:validation:Optional
ServiceToken ServiceTokenDetails `json:"serviceToken"`
// +kubebuilder:validation:Optional
- UniversalAuthMachineIdentity UniversalAuthMachineIdentityDetails `json:"universalAuthMachineIdentity"`
+ UniversalAuth UniversalAuthDetails `json:"universalAuth"`
}
-type UniversalAuthMachineIdentityDetails struct {
+type UniversalAuthDetails struct {
// +kubebuilder:validation:Required
Credentials KubeSecretReference `json:"credentials"`
// +kubebuilder:validation:Required
diff --git a/k8-operator/api/v1alpha1/zz_generated.deepcopy.go b/k8-operator/api/v1alpha1/zz_generated.deepcopy.go
index bab60dbfd4..aa5cb1f510 100644
--- a/k8-operator/api/v1alpha1/zz_generated.deepcopy.go
+++ b/k8-operator/api/v1alpha1/zz_generated.deepcopy.go
@@ -31,7 +31,7 @@ func (in *Authentication) DeepCopyInto(out *Authentication) {
*out = *in
out.ServiceAccount = in.ServiceAccount
out.ServiceToken = in.ServiceToken
- out.UniversalAuthMachineIdentity = in.UniversalAuthMachineIdentity
+ out.UniversalAuth = in.UniversalAuth
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Authentication.
@@ -237,18 +237,18 @@ func (in *ServiceTokenDetails) DeepCopy() *ServiceTokenDetails {
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
-func (in *UniversalAuthMachineIdentityDetails) DeepCopyInto(out *UniversalAuthMachineIdentityDetails) {
+func (in *UniversalAuthDetails) DeepCopyInto(out *UniversalAuthDetails) {
*out = *in
out.Credentials = in.Credentials
out.SecretsScope = in.SecretsScope
}
-// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UniversalAuthMachineIdentityDetails.
-func (in *UniversalAuthMachineIdentityDetails) DeepCopy() *UniversalAuthMachineIdentityDetails {
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UniversalAuthDetails.
+func (in *UniversalAuthDetails) DeepCopy() *UniversalAuthDetails {
if in == nil {
return nil
}
- out := new(UniversalAuthMachineIdentityDetails)
+ out := new(UniversalAuthDetails)
in.DeepCopyInto(out)
return out
}