1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-15 17:51:01 +00:00
external-secrets/config/crds/bases/generators.external-secrets.io_fakes.yaml

68 lines
2.3 KiB
YAML
Raw Normal View History

apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.3
labels:
external-secrets.io/component: controller
name: fakes.generators.external-secrets.io
spec:
group: generators.external-secrets.io
names:
categories:
- external-secrets
- external-secrets-generators
kind: Fake
listKind: FakeList
plural: fakes
shortNames:
- fake
singular: fake
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: |-
Fake generator is used for testing. It lets you define
a static set of credentials that is always returned.
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: FakeSpec contains the static data.
properties:
feat: add controller class on VaultDynamicSecret resources (#2287) * feat: add generator for vaultdynamicsecret * Added controllerClass on VaultDynamicSecret * Added controllerClass on VaultDynamicSecret Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com> * Fixed lint Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com> * Fixed hack bash Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com> * feat: Implemented generator controller class support - Controller class support in VaultDynamicSecret - Controller class support in Fake Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com> * feat: Implemented Generator controller class check Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com> * feat: Implemented Generator controller class check Signed-off-by: rdeepc <dpr0413@gmail.com> * feat: Implemented Generator controller class check Signed-off-by: rdeepc <dpr0413@gmail.com> * feat: hoist controller class check to the top The generator controller class check should be at the very top of the reconcile function just like the other secretStore class check. Otherwise we would return an error and as a result set the status field on the es resource - which is undesirable. The controller should completely ignore the resource instead. Signed-off-by: Moritz Johner <beller.moritz@googlemail.com> --------- Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com> Signed-off-by: rdeepc <dpr0413@gmail.com> Signed-off-by: Moritz Johner <beller.moritz@googlemail.com> Co-authored-by: Frederic Mereu <frederic.mereu@gaming1.com> Co-authored-by: Moritz Johner <beller.moritz@googlemail.com>
2023-05-16 06:59:26 +00:00
controller:
description: |-
Used to select the correct ESO controller (think: ingress.ingressClassName)
The ESO controller is instantiated with a specific controller name and filters VDS based on this property
feat: add controller class on VaultDynamicSecret resources (#2287) * feat: add generator for vaultdynamicsecret * Added controllerClass on VaultDynamicSecret * Added controllerClass on VaultDynamicSecret Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com> * Fixed lint Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com> * Fixed hack bash Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com> * feat: Implemented generator controller class support - Controller class support in VaultDynamicSecret - Controller class support in Fake Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com> * feat: Implemented Generator controller class check Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com> * feat: Implemented Generator controller class check Signed-off-by: rdeepc <dpr0413@gmail.com> * feat: Implemented Generator controller class check Signed-off-by: rdeepc <dpr0413@gmail.com> * feat: hoist controller class check to the top The generator controller class check should be at the very top of the reconcile function just like the other secretStore class check. Otherwise we would return an error and as a result set the status field on the es resource - which is undesirable. The controller should completely ignore the resource instead. Signed-off-by: Moritz Johner <beller.moritz@googlemail.com> --------- Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com> Signed-off-by: rdeepc <dpr0413@gmail.com> Signed-off-by: Moritz Johner <beller.moritz@googlemail.com> Co-authored-by: Frederic Mereu <frederic.mereu@gaming1.com> Co-authored-by: Moritz Johner <beller.moritz@googlemail.com>
2023-05-16 06:59:26 +00:00
type: string
data:
additionalProperties:
type: string
description: |-
Data defines the static data returned
by this generator.
type: object
type: object
type: object
served: true
storage: true
subresources:
status: {}