Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/examples/src/charts/charts.k
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ charts: helm.Charts = {
chart = "external-secrets"
repoURL = "https://charts.external-secrets.io/"
schemaGenerator = "AUTO"
targetRevision = "2.6.0"
targetRevision = "2.8.0"
crdGenerator = "TEMPLATE"
values: {
installCRDs = True
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ schema ExternalSecretsIoV1ExternalSecretSpec:
- OnChange: Only synchronizes the Secret when the ExternalSecret's metadata or specification changes
secretStoreRef : ExternalSecretsIoV1ExternalSecretSpecSecretStoreRef, default is Undefined, optional
secret store ref
syncWindows : ExternalSecretsIoV1ExternalSecretSpecSyncWindows, default is Undefined, optional
sync windows
target : ExternalSecretsIoV1ExternalSecretSpecTarget, default is Undefined, optional
target
"""
Expand All @@ -67,6 +69,7 @@ schema ExternalSecretsIoV1ExternalSecretSpec:
refreshInterval?: str = "1h0m0s"
refreshPolicy?: "CreatedOnce" | "Periodic" | "OnChange"
secretStoreRef?: ExternalSecretsIoV1ExternalSecretSpecSecretStoreRef
syncWindows?: ExternalSecretsIoV1ExternalSecretSpecSyncWindows
target?: ExternalSecretsIoV1ExternalSecretSpecTarget

schema ExternalSecretsIoV1ExternalSecretSpecDataFromItems0:
Expand Down Expand Up @@ -106,7 +109,7 @@ schema ExternalSecretsIoV1ExternalSecretSpecDataFromItems0Extract:
Key is the key used in the Provider, mandatory
metadataPolicy : str, default is "None", optional
Policy for fetching tags/labels from provider secrets, possible options are Fetch, None. Defaults to None
nullBytePolicy : str, default is "Ignore", optional
nullBytePolicy : str, default is Undefined, optional
Controls how ESO handles fetched secret data containing NUL bytes for this source.
property : str, default is Undefined, optional
Used to select a specific property of the Provider value (if a map), if supported
Expand All @@ -118,7 +121,7 @@ schema ExternalSecretsIoV1ExternalSecretSpecDataFromItems0Extract:
key: str

metadataPolicy?: "None" | "Fetch" = "None"
nullBytePolicy?: "Ignore" | "Fail" = "Ignore"
nullBytePolicy?: "Ignore" | "Fail"
property?: str
version?: str

Expand All @@ -135,7 +138,7 @@ schema ExternalSecretsIoV1ExternalSecretSpecDataFromItems0Find:
Used to define a decoding Strategy
name : ExternalSecretsIoV1ExternalSecretSpecDataFromItems0FindName, default is Undefined, optional
name
nullBytePolicy : str, default is "Ignore", optional
nullBytePolicy : str, default is Undefined, optional
Controls how ESO handles fetched secret data containing NUL bytes for this find source.
path : str, default is Undefined, optional
A root path to start the find operations.
Expand All @@ -145,7 +148,7 @@ schema ExternalSecretsIoV1ExternalSecretSpecDataFromItems0Find:
conversionStrategy?: "Default" | "Unicode" = "Default"
decodingStrategy?: "Auto" | "Base64" | "Base64URL" | "None" = "None"
name?: ExternalSecretsIoV1ExternalSecretSpecDataFromItems0FindName
nullBytePolicy?: "Ignore" | "Fail" = "Ignore"
nullBytePolicy?: "Ignore" | "Fail"
path?: str
tags?: {str:str}

Expand Down Expand Up @@ -264,7 +267,7 @@ schema ExternalSecretsIoV1ExternalSecretSpecDataFromItems0SourceRefGeneratorRef:
Specify the name of the generator resource
"""
apiVersion?: str = "generators.external-secrets.io/v1alpha1"
kind: "ACRAccessToken" | "ClusterGenerator" | "CloudsmithAccessToken" | "ECRAuthorizationToken" | "Fake" | "GCRAccessToken" | "GithubAccessToken" | "QuayAccessToken" | "Password" | "SSHKey" | "STSSessionToken" | "UUID" | "VaultDynamicSecret" | "Webhook" | "Grafana" | "MFA"
kind: "ACRAccessToken" | "BeyondtrustWorkloadCredentialsDynamicSecret" | "ClusterGenerator" | "CloudsmithAccessToken" | "ECRAuthorizationToken" | "Fake" | "GCRAccessToken" | "GithubAccessToken" | "GitlabDeployToken" | "QuayAccessToken" | "Password" | "SSHKey" | "STSSessionToken" | "UUID" | "VaultDynamicSecret" | "Webhook" | "Grafana" | "MFA"

name: str

Expand All @@ -289,8 +292,8 @@ schema ExternalSecretsIoV1ExternalSecretSpecDataFromItems0SourceRefStoreRef:
name?: str

check:
len(name) <= 253 if name not in [None, Undefined]
len(name) >= 1 if name not in [None, Undefined]
len(name) <= 253 if name
len(name) >= 1 if name
_regex_match(str(name), r"^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$") if name

schema ExternalSecretsIoV1ExternalSecretSpecDataItems0:
Expand Down Expand Up @@ -332,7 +335,7 @@ schema ExternalSecretsIoV1ExternalSecretSpecDataItems0RemoteRef:
Key is the key used in the Provider, mandatory
metadataPolicy : str, default is "None", optional
Policy for fetching tags/labels from provider secrets, possible options are Fetch, None. Defaults to None
nullBytePolicy : str, default is "Ignore", optional
nullBytePolicy : str, default is Undefined, optional
Controls how ESO handles fetched secret data containing NUL bytes for this source.
property : str, default is Undefined, optional
Used to select a specific property of the Provider value (if a map), if supported
Expand All @@ -344,7 +347,7 @@ schema ExternalSecretsIoV1ExternalSecretSpecDataItems0RemoteRef:
key: str

metadataPolicy?: "None" | "Fetch" = "None"
nullBytePolicy?: "Ignore" | "Fail" = "Ignore"
nullBytePolicy?: "Ignore" | "Fail"
property?: str
version?: str

Expand Down Expand Up @@ -380,7 +383,7 @@ schema ExternalSecretsIoV1ExternalSecretSpecDataItems0SourceRefGeneratorRef:
Specify the name of the generator resource
"""
apiVersion?: str = "generators.external-secrets.io/v1alpha1"
kind: "ACRAccessToken" | "ClusterGenerator" | "CloudsmithAccessToken" | "ECRAuthorizationToken" | "Fake" | "GCRAccessToken" | "GithubAccessToken" | "QuayAccessToken" | "Password" | "SSHKey" | "STSSessionToken" | "UUID" | "VaultDynamicSecret" | "Webhook" | "Grafana" | "MFA"
kind: "ACRAccessToken" | "BeyondtrustWorkloadCredentialsDynamicSecret" | "ClusterGenerator" | "CloudsmithAccessToken" | "ECRAuthorizationToken" | "Fake" | "GCRAccessToken" | "GithubAccessToken" | "GitlabDeployToken" | "QuayAccessToken" | "Password" | "SSHKey" | "STSSessionToken" | "UUID" | "VaultDynamicSecret" | "Webhook" | "Grafana" | "MFA"

name: str

Expand All @@ -405,8 +408,8 @@ schema ExternalSecretsIoV1ExternalSecretSpecDataItems0SourceRefStoreRef:
name?: str

check:
len(name) <= 253 if name not in [None, Undefined]
len(name) >= 1 if name not in [None, Undefined]
len(name) <= 253 if name
len(name) >= 1 if name
_regex_match(str(name), r"^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$") if name

schema ExternalSecretsIoV1ExternalSecretSpecSecretStoreRef:
Expand All @@ -425,10 +428,57 @@ schema ExternalSecretsIoV1ExternalSecretSpecSecretStoreRef:
name?: str

check:
len(name) <= 253 if name not in [None, Undefined]
len(name) >= 1 if name not in [None, Undefined]
len(name) <= 253 if name
len(name) >= 1 if name
_regex_match(str(name), r"^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$") if name

schema ExternalSecretsIoV1ExternalSecretSpecSyncWindows:
r"""
SyncWindows optionally restricts when periodic refreshes may occur.
Evaluated in UTC, only for Periodic refresh policy (or when refreshPolicy is unset).

Attributes
----------
kind : str, default is Undefined, required
Kind applies to every window in the list.
"allow" -- syncs are permitted only while at least one window is active;
all other times are blocked.
"deny" -- syncs are blocked while any window is active;
all other times are permitted.
windows : [ExternalSecretsIoV1ExternalSecretSpecSyncWindowsWindowsItems0], default is Undefined, required
Windows is the list of schedule+duration pairs.
"""
kind: "allow" | "deny"

windows: [ExternalSecretsIoV1ExternalSecretSpecSyncWindowsWindowsItems0]

check:
len(windows) >= 1

schema ExternalSecretsIoV1ExternalSecretSpecSyncWindowsWindowsItems0:
r"""
ExternalSecretSyncWindowEntry defines a single cron-schedule + duration pair
within a SyncWindows block.

Attributes
----------
duration : str, default is Undefined, required
Duration specifies how long the window stays open after each Schedule
firing. Example: "8h".
schedule : str, default is Undefined, required
Schedule is a standard 5-field cron expression evaluated in UTC, or a
named shorthand such as @daily or @every 1h. It marks the start time of
each window occurrence.
Example: "0 22 * * 1-5" opens a window every weekday at 22:00 UTC.
"""
duration: str

schedule: str

check:
len(schedule) >= 1
_regex_match(str(schedule), r"^(@(annually|yearly|monthly|weekly|daily|midnight|hourly)|@every [^\s]+.*|[^\s]+( [^\s]+){4})$")

schema ExternalSecretsIoV1ExternalSecretSpecTarget:
r"""
ExternalSecretTarget defines the Kubernetes Secret to be created,
Expand All @@ -452,16 +502,16 @@ schema ExternalSecretsIoV1ExternalSecretSpecTarget:
template : ExternalSecretsIoV1ExternalSecretSpecTargetTemplate, default is Undefined, optional
template
"""
creationPolicy?: "Owner" | "Orphan" | "Merge" | "None" = "Owner"
creationPolicy?: "Owner" | "Orphan" | "Merge" | "None" | "CreateOrMerge" = "Owner"
deletionPolicy?: "Delete" | "Merge" | "Retain" = "Retain"
immutable?: bool
manifest?: ExternalSecretsIoV1ExternalSecretSpecTargetManifest
name?: str
template?: ExternalSecretsIoV1ExternalSecretSpecTargetTemplate

check:
len(name) <= 253 if name not in [None, Undefined]
len(name) >= 1 if name not in [None, Undefined]
len(name) <= 253 if name
len(name) >= 1 if name
_regex_match(str(name), r"^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$") if name

schema ExternalSecretsIoV1ExternalSecretSpecTargetManifest:
Expand Down Expand Up @@ -549,11 +599,14 @@ schema ExternalSecretsIoV1ExternalSecretSpecTargetTemplateTemplateFromItems0:
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".
valuesDecodingStrategy : str, default is "None", optional
Used to define a decoding Strategy for the rendered template values.
"""
configMap?: ExternalSecretsIoV1ExternalSecretSpecTargetTemplateTemplateFromItems0ConfigMap
literal?: str
secret?: ExternalSecretsIoV1ExternalSecretSpecTargetTemplateTemplateFromItems0Secret
target?: str = "Data"
valuesDecodingStrategy?: "Auto" | "Base64" | "Base64URL" | "None" = "None"

schema ExternalSecretsIoV1ExternalSecretSpecTargetTemplateTemplateFromItems0ConfigMap:
r"""
Expand Down
Loading
Loading