From 0f3a48bb324fcfc2a9ae11ea86f86bf30e443217 Mon Sep 17 00:00:00 2001 From: Daniel Hougaard <62331820+DanielHougaard@users.noreply.github.com> Date: Wed, 6 Mar 2024 02:14:34 +0100 Subject: [PATCH] Generated --- .../api/v1alpha1/zz_generated.deepcopy.go | 33 +++++++++++++++++++ ...ecrets.infisical.com_infisicalsecrets.yaml | 32 ++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/k8-operator/api/v1alpha1/zz_generated.deepcopy.go b/k8-operator/api/v1alpha1/zz_generated.deepcopy.go index 5b6befcbc5..bab60dbfd4 100644 --- a/k8-operator/api/v1alpha1/zz_generated.deepcopy.go +++ b/k8-operator/api/v1alpha1/zz_generated.deepcopy.go @@ -31,6 +31,7 @@ func (in *Authentication) DeepCopyInto(out *Authentication) { *out = *in out.ServiceAccount = in.ServiceAccount out.ServiceToken = in.ServiceToken + out.UniversalAuthMachineIdentity = in.UniversalAuthMachineIdentity } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Authentication. @@ -157,6 +158,21 @@ func (in *KubeSecretReference) DeepCopy() *KubeSecretReference { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MachineIdentityScopeInWorkspace) DeepCopyInto(out *MachineIdentityScopeInWorkspace) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineIdentityScopeInWorkspace. +func (in *MachineIdentityScopeInWorkspace) DeepCopy() *MachineIdentityScopeInWorkspace { + if in == nil { + return nil + } + out := new(MachineIdentityScopeInWorkspace) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MangedKubeSecretConfig) DeepCopyInto(out *MangedKubeSecretConfig) { *out = *in @@ -219,3 +235,20 @@ func (in *ServiceTokenDetails) DeepCopy() *ServiceTokenDetails { in.DeepCopyInto(out) return out } + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *UniversalAuthMachineIdentityDetails) DeepCopyInto(out *UniversalAuthMachineIdentityDetails) { + *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 { + if in == nil { + return nil + } + out := new(UniversalAuthMachineIdentityDetails) + in.DeepCopyInto(out) + return out +} diff --git a/k8-operator/config/crd/bases/secrets.infisical.com_infisicalsecrets.yaml b/k8-operator/config/crd/bases/secrets.infisical.com_infisicalsecrets.yaml index 7d4e88b144..f6d5b05a9f 100644 --- a/k8-operator/config/crd/bases/secrets.infisical.com_infisicalsecrets.yaml +++ b/k8-operator/config/crd/bases/secrets.infisical.com_infisicalsecrets.yaml @@ -90,6 +90,38 @@ spec: - secretsScope - serviceTokenSecretReference type: object + universalAuthMachineIdentity: + properties: + credentials: + properties: + secretName: + description: The name of the Kubernetes Secret + type: string + secretNamespace: + description: The name space where the Kubernetes Secret + is located + type: string + required: + - secretName + - secretNamespace + type: object + secretsScope: + properties: + envSlug: + type: string + projectId: + type: string + secretsPath: + type: string + required: + - envSlug + - projectId + - secretsPath + type: object + required: + - credentials + - secretsScope + type: object type: object hostAPI: description: Infisical host to pull secrets from