|
@@ -0,0 +1,169 @@
|
|
|
|
|
+
|
|
|
|
|
+---
|
|
|
|
|
+apiVersion: apiextensions.k8s.io/v1beta1
|
|
|
|
|
+kind: CustomResourceDefinition
|
|
|
|
|
+metadata:
|
|
|
|
|
+ annotations:
|
|
|
|
|
+ controller-gen.kubebuilder.io/version: v0.2.5
|
|
|
|
|
+ creationTimestamp: null
|
|
|
|
|
+ name: externalsecrets.external-secrets.io
|
|
|
|
|
+spec:
|
|
|
|
|
+ group: external-secrets.io
|
|
|
|
|
+ names:
|
|
|
|
|
+ kind: ExternalSecret
|
|
|
|
|
+ listKind: ExternalSecretList
|
|
|
|
|
+ plural: externalsecrets
|
|
|
|
|
+ singular: externalsecret
|
|
|
|
|
+ scope: Namespaced
|
|
|
|
|
+ validation:
|
|
|
|
|
+ openAPIV3Schema:
|
|
|
|
|
+ description: ExternalSecret is the Schema for the externalsecrets API
|
|
|
|
|
+ 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: ExternalSecretSpec defines the desired state of ExternalSecret
|
|
|
|
|
+ properties:
|
|
|
|
|
+ data:
|
|
|
|
|
+ description: Data defines the connection between the Kubernetes Secret
|
|
|
|
|
+ keys and the Provider data
|
|
|
|
|
+ items:
|
|
|
|
|
+ description: ExternalSecretData defines the connection between the
|
|
|
|
|
+ Kubernetes Secret key (spec.data.<key>) and the Provider data
|
|
|
|
|
+ properties:
|
|
|
|
|
+ remoteRef:
|
|
|
|
|
+ description: ExternalSecretDataRemoteRef defines Provider data
|
|
|
|
|
+ location
|
|
|
|
|
+ properties:
|
|
|
|
|
+ key:
|
|
|
|
|
+ description: Key is the key used in the Provider, mandatory
|
|
|
|
|
+ type: string
|
|
|
|
|
+ property:
|
|
|
|
|
+ description: Used to select a specific property of the Provider
|
|
|
|
|
+ value (if a map), if supported
|
|
|
|
|
+ type: string
|
|
|
|
|
+ version:
|
|
|
|
|
+ description: Used to select a specific version of the Provider
|
|
|
|
|
+ value, if supported
|
|
|
|
|
+ type: string
|
|
|
|
|
+ required:
|
|
|
|
|
+ - key
|
|
|
|
|
+ type: object
|
|
|
|
|
+ secretKey:
|
|
|
|
|
+ type: string
|
|
|
|
|
+ required:
|
|
|
|
|
+ - remoteRef
|
|
|
|
|
+ - secretKey
|
|
|
|
|
+ type: object
|
|
|
|
|
+ type: array
|
|
|
|
|
+ dataFrom:
|
|
|
|
|
+ description: DataFrom is used to fetch all properties from a specific
|
|
|
|
|
+ Provider data If multiple entries are specified, the Secret keys are
|
|
|
|
|
+ merged in the specified order
|
|
|
|
|
+ items:
|
|
|
|
|
+ description: ExternalSecretDataRemoteRef defines Provider data location
|
|
|
|
|
+ properties:
|
|
|
|
|
+ key:
|
|
|
|
|
+ description: Key is the key used in the Provider, mandatory
|
|
|
|
|
+ type: string
|
|
|
|
|
+ property:
|
|
|
|
|
+ description: Used to select a specific property of the Provider
|
|
|
|
|
+ value (if a map), if supported
|
|
|
|
|
+ type: string
|
|
|
|
|
+ version:
|
|
|
|
|
+ description: Used to select a specific version of the Provider
|
|
|
|
|
+ value, if supported
|
|
|
|
|
+ type: string
|
|
|
|
|
+ required:
|
|
|
|
|
+ - key
|
|
|
|
|
+ type: object
|
|
|
|
|
+ type: array
|
|
|
|
|
+ refreshInterval:
|
|
|
|
|
+ description: 'RefreshInterval is the amount of time before the values
|
|
|
|
|
+ reading again from the SecretStore provider Valid time units are "ns",
|
|
|
|
|
+ "us" (or "µs"), "ms", "s", "m", "h" (from time.ParseDuration) May
|
|
|
|
|
+ be set to zero to fetch and create it once TODO: Default to some value?'
|
|
|
|
|
+ type: string
|
|
|
|
|
+ secretStoreRef:
|
|
|
|
|
+ description: SecretStoreRef defines which SecretStore to fetch the ExternalSecret
|
|
|
|
|
+ data
|
|
|
|
|
+ properties:
|
|
|
|
|
+ kind:
|
|
|
|
|
+ description: Kind of the SecretStore resource (SecretStore or ClusterSecretStore)
|
|
|
|
|
+ Defaults to `SecretStore`
|
|
|
|
|
+ type: string
|
|
|
|
|
+ name:
|
|
|
|
|
+ description: Name of the SecretStore resource
|
|
|
|
|
+ type: string
|
|
|
|
|
+ required:
|
|
|
|
|
+ - name
|
|
|
|
|
+ type: object
|
|
|
|
|
+ target:
|
|
|
|
|
+ description: ExternalSecretTarget defines the Kubernetes Secret to be
|
|
|
|
|
+ created There can be only one target per ExternalSecret
|
|
|
|
|
+ properties:
|
|
|
|
|
+ creationPolicy:
|
|
|
|
|
+ description: CreationPolicy defines rules on how to create the resulting
|
|
|
|
|
+ Secret Defaults to 'Owner'
|
|
|
|
|
+ type: string
|
|
|
|
|
+ name:
|
|
|
|
|
+ description: Name defines the name of the Secret resource to be
|
|
|
|
|
+ managed This field is immutable Defaults to the .metadata.name
|
|
|
|
|
+ of the ExternalSecret resource
|
|
|
|
|
+ type: string
|
|
|
|
|
+ type: object
|
|
|
|
|
+ required:
|
|
|
|
|
+ - secretStoreRef
|
|
|
|
|
+ - target
|
|
|
|
|
+ type: object
|
|
|
|
|
+ status:
|
|
|
|
|
+ properties:
|
|
|
|
|
+ conditions:
|
|
|
|
|
+ items:
|
|
|
|
|
+ properties:
|
|
|
|
|
+ lastSyncTime:
|
|
|
|
|
+ format: date-time
|
|
|
|
|
+ type: string
|
|
|
|
|
+ lastTransitionTime:
|
|
|
|
|
+ format: date-time
|
|
|
|
|
+ type: string
|
|
|
|
|
+ message:
|
|
|
|
|
+ type: string
|
|
|
|
|
+ reason:
|
|
|
|
|
+ type: string
|
|
|
|
|
+ status:
|
|
|
|
|
+ type: string
|
|
|
|
|
+ type:
|
|
|
|
|
+ type: string
|
|
|
|
|
+ required:
|
|
|
|
|
+ - status
|
|
|
|
|
+ - type
|
|
|
|
|
+ type: object
|
|
|
|
|
+ type: array
|
|
|
|
|
+ phase:
|
|
|
|
|
+ description: ExternalSecretStatusPhase represents the current phase
|
|
|
|
|
+ of the Secret sync
|
|
|
|
|
+ type: string
|
|
|
|
|
+ type: object
|
|
|
|
|
+ type: object
|
|
|
|
|
+ version: v1alpha1
|
|
|
|
|
+ versions:
|
|
|
|
|
+ - name: v1alpha1
|
|
|
|
|
+ served: true
|
|
|
|
|
+ storage: true
|
|
|
|
|
+status:
|
|
|
|
|
+ acceptedNames:
|
|
|
|
|
+ kind: ""
|
|
|
|
|
+ plural: ""
|
|
|
|
|
+ conditions: []
|
|
|
|
|
+ storedVersions: []
|