generators.external-secrets.io_generatorstates.yaml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. apiVersion: apiextensions.k8s.io/v1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. annotations:
  5. controller-gen.kubebuilder.io/version: v0.19.0
  6. labels:
  7. external-secrets.io/component: controller
  8. name: generatorstates.generators.external-secrets.io
  9. spec:
  10. group: generators.external-secrets.io
  11. names:
  12. categories:
  13. - external-secrets
  14. - external-secrets-generators
  15. kind: GeneratorState
  16. listKind: GeneratorStateList
  17. plural: generatorstates
  18. shortNames:
  19. - gs
  20. singular: generatorstate
  21. scope: Namespaced
  22. versions:
  23. - additionalPrinterColumns:
  24. - jsonPath: .spec.garbageCollectionDeadline
  25. name: GC Deadline
  26. type: string
  27. - jsonPath: .metadata.creationTimestamp
  28. name: Age
  29. type: date
  30. name: v1alpha1
  31. schema:
  32. openAPIV3Schema:
  33. description: GeneratorState represents the state created and managed by a
  34. generator resource.
  35. properties:
  36. apiVersion:
  37. description: |-
  38. APIVersion defines the versioned schema of this representation of an object.
  39. Servers should convert recognized schemas to the latest internal value, and
  40. may reject unrecognized values.
  41. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
  42. type: string
  43. kind:
  44. description: |-
  45. Kind is a string value representing the REST resource this object represents.
  46. Servers may infer this from the endpoint the client submits requests to.
  47. Cannot be updated.
  48. In CamelCase.
  49. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
  50. type: string
  51. metadata:
  52. type: object
  53. spec:
  54. description: GeneratorStateSpec defines the desired state of a generator
  55. state resource.
  56. properties:
  57. garbageCollectionDeadline:
  58. description: |-
  59. GarbageCollectionDeadline is the time after which the generator state
  60. will be deleted.
  61. It is set by the controller which creates the generator state and
  62. can be set configured by the user.
  63. If the garbage collection deadline is not set the generator state will not be deleted.
  64. format: date-time
  65. type: string
  66. resource:
  67. description: |-
  68. Resource is the generator manifest that produced the state.
  69. It is a snapshot of the generator manifest at the time the state was produced.
  70. This manifest will be used to delete the resource. Any configuration that is referenced
  71. in the manifest should be available at the time of garbage collection. If that is not the case deletion will
  72. be blocked by a finalizer.
  73. x-kubernetes-preserve-unknown-fields: true
  74. state:
  75. description: State is the state that was produced by the generator
  76. implementation.
  77. x-kubernetes-preserve-unknown-fields: true
  78. required:
  79. - resource
  80. - state
  81. type: object
  82. status:
  83. description: GeneratorStateStatus defines the observed state of a generator
  84. state resource.
  85. properties:
  86. conditions:
  87. items:
  88. description: GeneratorStateStatusCondition represents the observed
  89. condition of a generator state.
  90. properties:
  91. lastTransitionTime:
  92. format: date-time
  93. type: string
  94. message:
  95. type: string
  96. reason:
  97. type: string
  98. status:
  99. type: string
  100. type:
  101. description: GeneratorStateConditionType represents the type
  102. of condition for a generator state.
  103. type: string
  104. required:
  105. - status
  106. - type
  107. type: object
  108. type: array
  109. type: object
  110. type: object
  111. served: true
  112. storage: true
  113. subresources: {}