external-secrets.io_externalsecrets.yaml 6.8 KB

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