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
kindstring
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
metadataobject
specobject
ClusterPushSecretSpec defines the configuration for a ClusterPushSecret resource.
namespaceSelectors[]object
A list of labels to select by to find the Namespaces to create the ExternalSecrets in. The selectors are ORed.
matchExpressions[]object
matchExpressions is a list of label selector requirements. The requirements are ANDed.
keystringrequired
key is the label key that the selector applies to.
operatorstringrequired
operator represents a key's relationship to a set of values.
Valid operators are In, NotIn, Exists and DoesNotExist.
values[]string
values is an array of string values. If the operator is In or NotIn,
the values array must be non-empty. If the operator is Exists or DoesNotExist,
the values array must be empty. This array is replaced during a strategic
merge patch.
matchLabelsobject
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions, whose key field is "key", the
operator is "In", and the values array contains only "value". The requirements are ANDed.
pushSecretMetadataobject
The metadata of the external secrets to be created
annotationsobject
labelsobject
pushSecretNamestring
The name of the push secrets to be created.
Defaults to the name of the ClusterPushSecret
PushSecretSpec defines what to do with the secrets.
data[]object
Secret Data that should be pushed to providers
conversionStrategystring
Used to define a conversion Strategy for the secret keys
enum: None, ReverseUnicode
matchobjectrequired
Match a given Secret Key to be pushed to the provider.
remoteRefobjectrequired
Remote Refs to push to providers.
propertystring
Name of the property in the resulting secret
remoteKeystringrequired
Name of the resulting provider secret.
secretKeystring
Secret Key to be pushed
metadataobject
Metadata is metadata attached to the secret.
The structure of metadata is provider specific, please look it up in the provider documentation.
dataTo[]object
DataTo defines bulk push rules that expand source Secret keys into provider entries.
conversionStrategystring
Used to define a conversion Strategy for the secret keys
enum: None, ReverseUnicode
matchobject
Match pattern for selecting keys from the source Secret.
If not specified, all keys are selected.
regexpstring
Regexp matches keys by regular expression.
If not specified, all keys are matched.
metadataobject
Metadata is metadata attached to the secret.
The structure of metadata is provider specific, please look it up in the provider documentation.
remoteKeystring
RemoteKey is the name of the single provider secret that will receive ALL
matched keys bundled as a JSON object (e.g. {"DB_HOST":"...","DB_USER":"..."}).
When set, per-key expansion is skipped and a single push is performed.
The provider's store prefix (if any) is still prepended to this value.
When not set, each matched key is pushed as its own individual provider secret.
rewrite[]object
Rewrite operations to transform keys before pushing to the provider.
Operations are applied sequentially.
regexpobject
Used to rewrite with regular expressions.
sourcestringrequired
Used to define the regular expression of a re.Compiler.
targetstringrequired
Used to define the target pattern of a ReplaceAll operation.
transformobject
Used to apply string transformation on the secrets.
templatestringrequired
Used to define the template to apply on the secret name.
`.value ` will specify the secret name in the template.
storeRefobject
StoreRef specifies which SecretStore to push to. Required.
kindstring
Kind of the SecretStore resource (SecretStore or ClusterSecretStore)
enum: SecretStore, ClusterSecretStore
labelSelectorobject
Optionally, sync to secret stores with label selector
matchExpressions[]object
matchExpressions is a list of label selector requirements. The requirements are ANDed.
keystringrequired
key is the label key that the selector applies to.
operatorstringrequired
operator represents a key's relationship to a set of values.
Valid operators are In, NotIn, Exists and DoesNotExist.
values[]string
values is an array of string values. If the operator is In or NotIn,
the values array must be non-empty. If the operator is Exists or DoesNotExist,
the values array must be empty. This array is replaced during a strategic
merge patch.
matchLabelsobject
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions, whose key field is "key", the
operator is "In", and the values array contains only "value". The requirements are ANDed.
namestring
Optionally, sync to the SecretStore of the given name
Deletion Policy to handle Secrets in the provider.
enum: Delete, None
refreshIntervalstring
The Interval to which External Secrets will try to push a secret definition
secretStoreRefs[]objectrequired
kindstring
Kind of the SecretStore resource (SecretStore or ClusterSecretStore)
enum: SecretStore, ClusterSecretStore
labelSelectorobject
Optionally, sync to secret stores with label selector
matchExpressions[]object
matchExpressions is a list of label selector requirements. The requirements are ANDed.
keystringrequired
key is the label key that the selector applies to.
operatorstringrequired
operator represents a key's relationship to a set of values.
Valid operators are In, NotIn, Exists and DoesNotExist.
values[]string
values is an array of string values. If the operator is In or NotIn,
the values array must be non-empty. If the operator is Exists or DoesNotExist,
the values array must be empty. This array is replaced during a strategic
merge patch.
matchLabelsobject
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions, whose key field is "key", the
operator is "In", and the values array contains only "value". The requirements are ANDed.
namestring
Optionally, sync to the SecretStore of the given name
matchExpressions is a list of label selector requirements. The requirements are ANDed.
keystringrequired
key is the label key that the selector applies to.
operatorstringrequired
operator represents a key's relationship to a set of values.
Valid operators are In, NotIn, Exists and DoesNotExist.
values[]string
values is an array of string values. If the operator is In or NotIn,
the values array must be non-empty. If the operator is Exists or DoesNotExist,
the values array must be empty. This array is replaced during a strategic
merge patch.
matchLabelsobject
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions, whose key field is "key", the
operator is "In", and the values array contains only "value". The requirements are ANDed.
templateobject
Template defines a blueprint for the created Secret resource.
dataobject
engineVersionstring
EngineVersion specifies the template engine version
that should be used to compile/execute the
template specified in .data and .templateFrom[].
enum: v2
mergePolicystring
TemplateMergePolicy defines how the rendered template should be merged with the existing Secret data.
enum: Replace, Merge
metadataobject
ExternalSecretTemplateMetadata defines metadata fields for the Secret blueprint.
annotationsobject
finalizers[]string
labelsobject
templateFrom[]object
configMapobject
TemplateRef specifies a reference to either a ConfigMap or a Secret resource.
items[]objectrequired
A list of keys in the ConfigMap/Secret to use as templates for Secret data
keystringrequired
A key in the ConfigMap/Secret
pattern: ^[-._a-zA-Z0-9]+$
minLength: 1
maxLength: 253
templateAsstring
TemplateScope specifies how the template keys should be interpreted.
Target specifies where to place the template result.
For Secret resources, common values are: "Data", "Annotations", "Labels".
For custom resources (when spec.target.manifest is set), this supports
nested paths like "spec.database.config" or "data".
typestring
updatePolicystring
UpdatePolicy to handle Secrets in the provider.
enum: Replace, IfNotExists
refreshTimestring
The time in which the controller should reconcile its objects and recheck namespaces for labels.
statusobject
ClusterPushSecretStatus contains the status information for the ClusterPushSecret resource.
conditions[]object
lastTransitionTimestring
format: date-time
messagestring
reasonstring
statusstringrequired
typestringrequired
PushSecretConditionType indicates the condition of the PushSecret.
failedNamespaces[]object
Failed namespaces are the namespaces that failed to apply an PushSecret
namespacestringrequired
Namespace is the namespace that failed when trying to apply an PushSecret
reasonstring
Reason is why the PushSecret failed to apply to the namespace
provisionedNamespaces[]string
ProvisionedNamespaces are the namespaces where the ClusterPushSecret has secrets