Kubernetes CRDs

reloader.external-secrets.io/v1alpha1

Package v1alpha1 contains API Schema definitions for the Reloader v1alpha1 API group.

Config

Config is the Schema for the Reloader Config API.
FieldTypeDescriptionValidation
apiVersionstringreloader.external-secrets.io/v1alpha1
kindstringConfig
metadataObjectMetaRefer to Kubernetes API documentation for fields of metadata.
specConfigSpec

Types

AWSSDKAuth

AWSSDKAuth contains authentication methods for AWS SDK. Used by:
FieldTypeDescriptionValidation
authMethodstring
regionstring
serviceAccountRefServiceAccountSelector
secretRefAWSSDKSecretRef

AWSSDKSecretRef

Used by:
FieldTypeDescriptionValidation
accessKeyIdSecretRefSecretKeySelector
secretAccessKeySecretRefSecretKeySelector

AWSSQSConfig

AWSSQSConfig contains configuration for AWS SDK. Used by:
FieldTypeDescriptionValidation
queueURLstringQueueURL is the URL of the AWS SDK queue.
authAWSSDKAuthAuthentication methods for AWS.
numberOfMessagesintegerMaxNumberOfMessages specifies the maximum number of messages to retrieve from the SDK queue in a single request.default: 10
waitTimeSecondsintegerWaitTimeSeconds specifies the duration (in seconds) to wait for messages in the SDK queue before returning.default: 20
visibilityTimeoutintegerVisibilityTimeout specifies the duration (in seconds) that a message received from the SDK queue is hidden from subsequent retrievals.default: 30

AzureEventGridConfig

Used by:
FieldTypeDescriptionValidation
hoststring
portintegerdefault: 8080
subscriptionsstring array

BasicAuth

BasicAuth contains basic authentication credentials. Used by:
FieldTypeDescriptionValidation
usernameSecretRefSecretKeySelectorUsernameSecretRef contains a secret reference for the username
passwordSecretRefSecretKeySelectorPasswordSecretRef contains a secret reference for the password

BearerToken

BearerToken contains the bearer token credentials. Used by:
FieldTypeDescriptionValidation
bearerTokenSecretRefSecretKeySelectorBearerTokenSecretRef references a Kubernetes Secret containing the bearer token.

Condition

Used by:
FieldTypeDescriptionValidation
valuestring
operationConditionOperation

ConditionOperation (string)

Used by:
FieldDescription
Equal
NotEqual
Contains
NotContains
RegularExpression

ConfigSpec

ConfigSpec defines the desired state of a Reloader Config. Used by:
FieldTypeDescriptionValidation
notificationSourcesNotificationSource arrayNotificationSources specifies the notification systems to listen to.
destinationsToWatchDestinationToWatch arrayDestinationsToWatch specifies which secrets the controller should monitor.

DeploymentDestination

Defines a DeploymentDestination. Behavior is a pod template annotations patch.
  • Default UpdateStrategy is pod template annotations patch to trigger a new rollout.
  • Default MatchStrategy matches secret keys using:
    • spec.template.spec.containers[*].env[*].valueFrom.secretKeyRef.name
    • spec.template.spec.containers[*].envFrom.secretRef.name
  • Default WaitStrategy waits for rollout completion with a 3-minute grace period.
Used by:
FieldTypeDescriptionValidation
namespaceSelectorsLabelSelector arrayNamespaceSelectors selects namespaces based on labels. Manifest must be in a matching namespace.
labelSelectorsLabelSelectorLabelSelectors selects resources by labels. Supports matchLabels and matchExpressions.
namesstring arrayNames specifies resource names to watch. The resource must match one of the entries.

DestinationToWatch

DestinationToWatch specifies the criteria for monitoring secrets in the cluster. Used by:
FieldTypeDescriptionValidation
typeenum[ExternalSecret, Deployment]Type specifies the kind of destination to watch.
externalSecretExternalSecretDestination
deploymentDeploymentDestination
updateStrategyUpdateStrategyIf not specified, the default update strategy is used.
matchStrategyMatchStrategyIf not specified, the default match strategy is used.
waitStrategyWaitStrategyIf not specified, the default wait strategy is used.

ExternalSecretDestination

Defines an ExternalSecretDestination. Behavior is annotations patch.
  • Default UpdateStrategy: annotations patch triggers externalSecret reconcile.
  • Default MatchStrategy:
    • spec.data.remoteRef.key
    • spec.dataFrom.remoteRef.key
    • Regex match for spec.dataFrom.find.name.regexp
Used by:
FieldTypeDescriptionValidation
namespaceSelectorsLabelSelector arrayNamespaceSelectors selects namespaces based on labels. Manifest must be in a matching namespace.
labelSelectorsLabelSelectorLabelSelectors selects resources by labels. Supports matchLabels and matchExpressions.
namesstring arrayNames specifies resource names to watch. The resource must match one of the entries.

GCPSMAuthSecretRef

Used by:
FieldTypeDescriptionValidation
secretAccessKeySecretRefSecretKeySelectorThe SecretAccessKey is used for authentication

GCPWorkloadIdentity

Used by:
FieldTypeDescriptionValidation
serviceAccountRefServiceAccountSelector
clusterLocationstring
clusterNamestring
clusterProjectIDstring

GooglePubSubAuth

GooglePubSubAuth contains authentication methods for Google Pub/Sub. Used by:
FieldTypeDescriptionValidation
secretRefGCPSMAuthSecretRef
workloadIdentityGCPWorkloadIdentity

GooglePubSubConfig

GooglePubSubConfig contains configuration for Google Pub/Sub. Used by:
FieldTypeDescriptionValidation
subscriptionIDstringSubscriptionID is the ID of the Pub/Sub subscription.
projectIDstringProjectID is the GCP project ID where the subscription exists.
authGooglePubSubAuthAuthentication methods for Google Pub/Sub.

HashicorpVaultConfig

HashicorpVault contains configuration for Hashicorp Vault notifications. Used by:
FieldTypeDescriptionValidation
hoststringHost is the hostname or IP address to listen on.
portintegerPort is the port number to listen on.default: 8000

KubeConfigRef

Used by:
FieldTypeDescriptionValidation
secretRefSecretKeySelector

KubernetesAuth

Used by:
FieldTypeDescriptionValidation
kubeConfigRefKubeConfigRef
caBundlestringDefines a CABundle if either tokenRef or serviceAccountRef are used.
tokenRefTokenRef
serviceAccountRefServiceAccountSelector

KubernetesSecretConfig

KubernetesSecretConfig contains configuration for Kubernetes notifications. Used by:
FieldTypeDescriptionValidation
serverURLstringServer URL
authKubernetesAuthHow to authenticate with Kubernetes. If not specified, default config is used.

MatchStrategy

Used by:
FieldTypeDescriptionValidation
pathstring
conditionsCondition array

MockConfig

MockConfig represents configuration settings for mock notifications. Used by:
FieldTypeDescriptionValidation
emitIntervalinteger

NotificationSource

NotificationSource represents a notification system configuration. Used by:
FieldTypeDescriptionValidation
typeenum[AwsSqs, AzureEventGrid, GooglePubSub, HashicorpVault, Webhook, TCPSocket, KubernetesSecret]Type of the notification source.
awsSqsAWSSQSConfigAwsSqs configuration (required if type is AwsSqs).
azureEventGridAzureEventGridConfig
googlePubSubGooglePubSubConfigGooglePubSub configuration (required if type is GooglePubSub).
webhookWebhookConfigWebhook configuration (required if type is Webhook).
hashicorpVaultHashicorpVaultConfigHashicorpVault configuration (required if type is HashicorpVault).
kubernetesSecretKubernetesSecretConfigKubernetes Secret configuration (required if type is KubernetesSecret).
tcpSocketTCPSocketConfigTCPSocket configuration (required if type is TCPSocket).
mockMockConfigMock configuration (optional; useful for testing).

PatchOperationConfig

Used by:
FieldTypeDescriptionValidation
pathstring
templatestring

RetryPolicy

Used by:
FieldTypeDescriptionValidation
maxRetriesintegerMaxRetries is the maximum number of times to retry. Values over 10 are capped at 10.
algorithmstringDefines how retry timing evolves. Supports "linear" and "exponential" (default if value is invalid/null).

SecretKeySelector

SecretKeySelector references a specific key within a Kubernetes secret. Used by:
FieldTypeDescriptionValidation
namestringName of the referenced Kubernetes secret.
keystringKey within the referenced Kubernetes secret.
namespacestringNamespace where the secret resides.

ServiceAccountSelector

Used by:
FieldTypeDescriptionValidation
namestringName of the service account to select.
namespacestringNamespace of the service account.
audiencesstring arrayAudiences for the service account token. Additional values added based on identity provider used.

TCPSocketConfig

TCPSocketConfig contains configuration for TCP Socket notifications. Used by:
FieldTypeDescriptionValidation
hoststringHost is the hostname or IP address to listen on.
portintegerPort is the port number to listen on.default: 8000
identifierPathOnPayloadstringKey in the payload used to identify the secret. Defaults to 0.data.ObjectName if not specified.

TokenRef

Used by:
FieldTypeDescriptionValidation
secretRefSecretKeySelector

UpdateStrategy

Used by:
FieldTypeDescriptionValidation
operationUpdateStrategyOperation
patchOperationConfigPatchOperationConfigRequired if operation == Patch.

UpdateStrategyOperation (string)

Used by:
FieldDescription
PatchStatus
Patch
Delete

WaitForCondition

Used by:
FieldTypeDescriptionValidation
retryTimeoutDurationPeriod to wait before each retry.
maxRetriesintegerMaximum number of retries for the condition.
typestringThe name of the condition to wait for.
messagestringOptional message to match.
reasonstringOptional reason to match.
transitionedAfterDurationMinimum time since last transition to accept the condition.
updatedAfterDurationMinimum time since last update to accept the condition.

WaitStrategy

Used by:
FieldTypeDescriptionValidation
timeDurationWait time between reconciliations.
conditionWaitForConditionCondition that must be satisfied before continuing.

WebhookAuth

WebhookAuth contains authentication methods for webhooks. Used by:
FieldTypeDescriptionValidation
basicAuthBasicAuthBasic authentication credentials.
bearerTokenBearerTokenKubernetes secret containing the bearer token.

WebhookConfig

WebhookConfig contains configuration for Webhook notifications. Used by:
FieldTypeDescriptionValidation
pathstringEndpoint path (default: /webhook). Always expects a POST request.
addressstringAddress where the webhook is served. Defaults to :8090.
identifierPathOnPayloadstringKey in the payload used to identify the secret. Defaults to 0.data.ObjectName if not set.
webhookAuthWebhookAuthAuthentication method for the webhook.
retryPolicyRetryPolicyPolicy to retry failed messages. If not set, 4xx will be returned and no retry will be attempted.