From f6d7ec52c2038cdbe6df3d212cfdd49dcd7d0d17 Mon Sep 17 00:00:00 2001 From: Drew Easley Date: Fri, 5 Apr 2024 08:00:47 -0400 Subject: [PATCH] fix: Run make kubectl-install --- k8-operator/README.md | 6 ++++ .../install-secrets-operator.yaml | 35 +++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/k8-operator/README.md b/k8-operator/README.md index 807476c0c..f2e349f07 100644 --- a/k8-operator/README.md +++ b/k8-operator/README.md @@ -72,6 +72,12 @@ If you are editing the API definitions, generate the manifests such as CRs or CR make manifests ``` +Also, after editing the API definitions, update the kubectl-install folder: + +```sh +make kubectl-install +``` + **NOTE:** Run `make --help` for more information on all potential `make` targets More information can be found via the [Kubebuilder Documentation](https://book.kubebuilder.io/introduction.html) diff --git a/k8-operator/kubectl-install/install-secrets-operator.yaml b/k8-operator/kubectl-install/install-secrets-operator.yaml index 5a11db30a..4e66a03cd 100644 --- a/k8-operator/kubectl-install/install-secrets-operator.yaml +++ b/k8-operator/kubectl-install/install-secrets-operator.yaml @@ -96,12 +96,47 @@ spec: - secretsScope - serviceTokenSecretReference type: object + universalAuth: + properties: + credentialsRef: + 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 + projectSlug: + type: string + secretsPath: + type: string + required: + - envSlug + - projectSlug + - secretsPath + type: object + required: + - credentialsRef + - secretsScope + type: object type: object hostAPI: description: Infisical host to pull secrets from type: string managedSecretReference: properties: + creationPolicy: + default: Orphan + description: 'The Kubernetes Secret creation policy. Enum with values: ''Owner'', ''Orphan''. Owner creates the secret and sets .metadata.ownerReferences of the InfisicalSecret CRD that created it. Orphan will not set the secret owner. This will result in the secret being orphaned and not deleted when the resource is deleted.' + type: string secretName: description: The name of the Kubernetes Secret type: string