external-secrets.io_externalsecrets.yaml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. apiVersion: apiextensions.k8s.io/v1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. annotations:
  5. controller-gen.kubebuilder.io/version: v0.4.1
  6. creationTimestamp: null
  7. name: externalsecrets.external-secrets.io
  8. spec:
  9. group: external-secrets.io
  10. names:
  11. categories:
  12. - externalsecrets
  13. kind: ExternalSecret
  14. listKind: ExternalSecretList
  15. plural: externalsecrets
  16. shortNames:
  17. - es
  18. singular: externalsecret
  19. scope: Namespaced
  20. versions:
  21. - name: v1alpha1
  22. schema:
  23. openAPIV3Schema:
  24. description: ExternalSecret is the Schema for the external-secrets API.
  25. properties:
  26. apiVersion:
  27. description: 'APIVersion defines the versioned schema of this representation
  28. of an object. Servers should convert recognized schemas to the latest
  29. internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  30. type: string
  31. kind:
  32. description: 'Kind is a string value representing the REST resource this
  33. object represents. Servers may infer this from the endpoint the client
  34. submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
  35. type: string
  36. metadata:
  37. type: object
  38. spec:
  39. description: ExternalSecretSpec defines the desired state of ExternalSecret.
  40. properties:
  41. data:
  42. description: Data defines the connection between the Kubernetes Secret
  43. keys and the Provider data
  44. items:
  45. description: ExternalSecretData defines the connection between the
  46. Kubernetes Secret key (spec.data.<key>) and the Provider data.
  47. properties:
  48. remoteRef:
  49. description: ExternalSecretDataRemoteRef defines Provider data
  50. location.
  51. properties:
  52. key:
  53. description: Key is the key used in the Provider, mandatory
  54. type: string
  55. property:
  56. description: Used to select a specific property of the Provider
  57. value (if a map), if supported
  58. type: string
  59. version:
  60. description: Used to select a specific version of the Provider
  61. value, if supported
  62. type: string
  63. required:
  64. - key
  65. type: object
  66. secretKey:
  67. type: string
  68. required:
  69. - remoteRef
  70. - secretKey
  71. type: object
  72. type: array
  73. dataFrom:
  74. description: DataFrom is used to fetch all properties from a specific
  75. Provider data If multiple entries are specified, the Secret keys
  76. are merged in the specified order
  77. items:
  78. description: ExternalSecretDataRemoteRef defines Provider data location.
  79. properties:
  80. key:
  81. description: Key is the key used in the Provider, mandatory
  82. type: string
  83. property:
  84. description: Used to select a specific property of the Provider
  85. value (if a map), if supported
  86. type: string
  87. version:
  88. description: Used to select a specific version of the Provider
  89. value, if supported
  90. type: string
  91. required:
  92. - key
  93. type: object
  94. type: array
  95. refreshInterval:
  96. description: 'RefreshInterval is the amount of time before the values
  97. reading again from the SecretStore provider Valid time units are
  98. "ns", "us" (or "µs"), "ms", "s", "m", "h" (from time.ParseDuration)
  99. May be set to zero to fetch and create it once TODO: Default to
  100. some value?'
  101. type: string
  102. secretStoreRef:
  103. description: SecretStoreRef defines which SecretStore to fetch the
  104. ExternalSecret data.
  105. properties:
  106. kind:
  107. description: Kind of the SecretStore resource (SecretStore or
  108. ClusterSecretStore) Defaults to `SecretStore`
  109. type: string
  110. name:
  111. description: Name of the SecretStore resource
  112. type: string
  113. required:
  114. - name
  115. type: object
  116. target:
  117. description: ExternalSecretTarget defines the Kubernetes Secret to
  118. be created There can be only one target per ExternalSecret.
  119. properties:
  120. creationPolicy:
  121. description: CreationPolicy defines rules on how to create the
  122. resulting Secret Defaults to 'Owner'
  123. type: string
  124. name:
  125. description: Name defines the name of the Secret resource to be
  126. managed This field is immutable Defaults to the .metadata.name
  127. of the ExternalSecret resource
  128. type: string
  129. type: object
  130. required:
  131. - secretStoreRef
  132. - target
  133. type: object
  134. status:
  135. properties:
  136. conditions:
  137. items:
  138. properties:
  139. lastTransitionTime:
  140. format: date-time
  141. type: string
  142. message:
  143. type: string
  144. reason:
  145. type: string
  146. status:
  147. type: string
  148. type:
  149. type: string
  150. required:
  151. - status
  152. - type
  153. type: object
  154. type: array
  155. refreshTime:
  156. description: refreshTime is the time and date the external secret
  157. was fetched and the target secret updated
  158. format: date-time
  159. nullable: true
  160. type: string
  161. type: object
  162. type: object
  163. served: true
  164. storage: true
  165. subresources:
  166. status: {}
  167. status:
  168. acceptedNames:
  169. kind: ""
  170. plural: ""
  171. conditions: []
  172. storedVersions: []