Skip to content
Proud to collaborate with Microsoft for Startups

registry.kubernetes-pull-binding.reconcile ​

Mint a dockerconfigjson pull Secret from a registry account and attach it to ServiceAccounts in selected namespaces

Reconcile a registry pull Secret onto selected namespaces of a Kubernetes connection. Mints docker-login credentials in-process from the registry account (or its GitHub connection) and never echoes them.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-kubernetes
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—Kubernetes cluster connection to apply the pull Secret on.
namespaceslistYes—Namespaces that receive the pull Secret. MASTER is refused.
secret_namestringNo—Secret name. Defaults to ghcr-pull.
registry_account_uuiduuidNo—RegistryAccount that yields docker-login credentials.
github_connection_uuiduuidNo—GitHub connection used by the GHCR RegistryAccount when registry_account_uuid is omitted.
service_account_nameslistNo—ServiceAccounts to attach. Defaults to default and relay-runtime.
organization_uuiduuidNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo——
organization_uuiduuidNo——
registry_account_uuiduuidNo——
github_connection_uuiduuidNo——
secret_namestringNo——
namespaceslistNo——
service_account_nameslistNo——
secrets_appliedintegerNo——
service_accounts_attachedintegerNo——
reconciled_atstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "registry.kubernetes-pull-binding.reconcile",
  "initial_data": {
    "connection_uuid": "value",
    "namespaces": "value"
  }
}