Skip to main content
Version: 0.1.0

Status Conditions and Events

Inspect

Inspect status conditions and namespace events

bash

kubectl -n <ns> get openbaocluster <name> -o jsonpath='{.status.conditions}' | jq
kubectl -n <ns> get openbaorestore <name> -o jsonpath='{.status.conditions}' | jq
kubectl -n <ns> get openbaotenant <name> -o jsonpath='{.status.conditions}' | jq

kubectl -n <ns> get events --sort-by=.lastTimestamp

For the fastest timeline view, run kubectl describe on the parent custom resource to see status and recent events together.

Reference table

Workflow checkpoints

Use these condition sets as the fastest contract checks for common workflows.

Workflow checkpoints. Use these condition sets as the fastest contract checks for common workflows.
WorkflowConditions to watch
Hardened with ACMEAvailable, ACMEIntegrationReady, ACMECacheReady, UserAccessBootstrap, ProductionReady
Gateway exposureGatewayIntegrationReady
Strict NetworkPolicy environmentsAPIServerNetworkReady
Scheduled backupsBackupConfigurationReady
Restore executionRestoreConfigurationReady, then RestoreComplete

OpenBaoCluster conditions

Condition types defined in api/v1alpha1:

TypeMeaningTypical Reasons
AvailableWorkload availability from ready replicasAllReplicasReady, NoReplicasReady, NotReady, Paused
APIServerNetworkReadyOperator-known Kubernetes API egress contract for operator-managed NetworkPoliciesAPIServerNetworkReady, APIServerEndpointIPsRecommended, APIServerNetworkConfigurationInvalid, Paused
TLSReadyTLS asset readinessReady, Disabled, TLSSecretMissing, TLSSecretInvalid, Unknown, Paused
UserAccessBootstrapBest-effort check that spec.selfInit.requests appears to create a human login path in addition to operator bootstrap authUserAccessConfigured, UserAccessUnverified, Disabled, Paused
ACMEIntegrationReadyOperator-known ACME prerequisites such as Gateway passthrough, private ACME trust, and supported self-reachability checksACMEIntegrationReady, GatewayAPIMissing, ACMEGatewayNotConfiguredForPassthrough, ACMEDomainNotResolvable, PrerequisitesMissing, Unknown, Paused
ACMECacheReadyShared ACME cache readiness for HA or blue/green ACME topologiesACMECacheReady, ACMECacheNotConfigured, ACMECacheMissing, ACMECachePending, ACMECacheInvalidAccessMode
GatewayIntegrationReadyOperator-known Gateway API prerequisites and controller support for spec.gatewayGatewayIntegrationReady, GatewayAPIMissing, GatewayReferenceMissing, GatewayClassMissing, GatewayClassPending, GatewayClassNotAccepted, GatewayVersionUnsupported, GatewayFeatureUnsupported, GatewayCapabilitiesUnknown, GatewayNotProgrammed, GatewayProgrammingPending, GatewayListenerIncompatible, Paused
BackupConfigurationReadyOperator-known backup Job prerequisites such as auth references, storage credential references, hardened-profile egress rules, and job-specific identity assumptionsReady, AuthenticationRequired, TokenSecretMissing, CredentialsSecretMissing, WorkloadIdentityConfigured, AmbientIdentityAssumed, NetworkEgressRulesRequired, Unknown, Paused
CloudUnsealIdentityReadyOperator-known authentication path for cloud KMS unseal on the main OpenBao PodsReady, CredentialsSecretMissing, PrerequisitesMissing, WorkloadIdentityConfigured, AmbientIdentityAssumed, Unknown, Paused
ProductionReadyIndicates whether the cluster currently meets the operator's Hardened production posture checks. This condition does not represent API stability or project support level.ProductionReady, ProfileNotSet, DevelopmentProfile, AdmissionPoliciesNotReady, OperatorManagedTLS, StaticUnsealInUse, RootTokenStored, Gateway or ACME readiness reasons such as GatewayFeatureUnsupported or ACMEGatewayNotConfiguredForPassthrough
UpgradingUpgrade stateInProgress, Idle, or upgrade failure reason
BackingUpBackup job stateInProgress, Idle
StorageConfiguredPersistent storage class selection visibilityStorageClassConfigured, StorageClassPending, StorageClassDefaulted, StorageClassUnset, StorageClassMismatch, StorageClassInconsistent
DegradedProblem requiring attentionBreakGlassRequired, upgrade failure reason, workload or adminops error reason, OIDCBootstrapConfigurationInvalid, APIServerNetworkConfigurationInvalid, RootTokenStored, Reconciling, Paused
EtcdEncryptionWarningetcd encryption verification warningEtcdEncryptionUnknown
SecurityRiskRelaxed security mode indicatorDevelopmentProfile
OpenBaoInitializedOpenBao initialization observed from registration labelsInitialized, NotInitialized, Unknown
OpenBaoSealedOpenBao seal state observed from registration labelsSealed, Unsealed, Unknown
OpenBaoLeaderLeader discovery from registration labelsLeaderFound, LeaderUnknown, MultipleLeaders
NodeSecurityCapabilityMismatchNode capability mismatch for enabled hardeningReady, AppArmorUnsupported

OpenBaoRestore conditions

TypeMeaningTypical Reasons
RestoreCompleteRestore terminal stateRestoreSucceeded, RestoreFailed, AuthenticationRequired
RestoreConfigurationReadyOperator-known restore prerequisites such as auth references, storage credential references, hardened-profile egress rules, and job-specific identity assumptionsReady, AuthenticationRequired, TokenSecretMissing, CredentialsSecretMissing, WorkloadIdentityConfigured, AmbientIdentityAssumed, NetworkEgressRulesRequired
OperationLockOverrideBreak-glass lock override occurredOperationLockOverridden
Ambient identity reasons

AmbientIdentityAssumed means the operator classified the configuration as relying on a provider default chain or other ambient identity path. It does not prove that the cloud-side identity binding is correct.

OpenBaoTenant conditions

TypeMeaningTypical Reasons
ProvisionedTenant RBAC provisioning stateSecurityViolation and provisioning outcomes

Kubernetes events

Event scope

The operator emits lifecycle events on parent custom resources only. OpenBaoCluster receives cluster lifecycle, init and bootstrap, upgrade, backup, and tenant Secret RBAC sync events. OpenBaoRestore receives restore lifecycle events. OpenBaoTenant receives tenant provisioning lifecycle events. Jobs do not receive the lifecycle events listed here.

Event types

Expect Normal events for routine progression and accepted operator input. Expect Warning events for failures, contention, overrides, and other states that need attention.

OpenBaoCluster safety and maintenance events

TypeReasonNotes
WarningProfileNotSetspec.profile missing; reconciliation blocked.
WarningDevelopmentProfileDevelopment profile warning for production.
NormalAmbientUnsealIdentityCloud KMS unseal is relying on ambient identity or the provider default chain for the main OpenBao Pods. This note is emitted only when the operator is not using a credentials Secret or explicit inline cloud credentials.
WarningStaticUnsealInUseStatic unseal warning.
WarningRootTokenStoredSelf-init is disabled and the operator stored the root token Secret.
WarningImageVerificationFailed and related reasonsWarn-policy image verification failures.
NormalPVCResizePVC expansion started.
NormalPVCResizeLeaderStepDownLeader step-down for resize restart path.
NormalPVCResizePodRestartPod restart to complete filesystem resize.

OpenBaoCluster init and bootstrap events

TypeReasonNotes
NormalInitStartedSelf-init or operator-driven initialization started or is still in progress.
NormalInitCompletedCluster initialization completed successfully.
WarningInitFailedOperator-driven initialization failed.

OpenBaoCluster tenant Secret RBAC events

TypeReasonNotes
NormalTenantSecretRBACSynchronizedTenant Secret RBAC allowlists were synchronized for the namespace.

OpenBaoCluster upgrade events

TypeReasonNotes
NormalUpgradeStartedUpgrade orchestration started.
NormalPreUpgradeSnapshotJobCreatedPre-upgrade snapshot Job created.
NormalPreUpgradeSnapshotCompletedPre-upgrade snapshot completed successfully.
WarningPreUpgradeSnapshotFailedPre-upgrade snapshot failed and upgrade is blocked.
NormalRollingRetryRequestedManual retry requested for a failed rolling upgrade.
NormalRollingRetryAcceptedFailed rolling upgrade state cleared and retry resumed.
NormalBlueGreenHoldEnteredBlue or green upgrade is waiting for manual promotion approval.
NormalBlueGreenPromotionApprovedPromotion approval observed and promotion started.
NormalUpgradeCompleteUpgrade finished successfully.
WarningUpgradeFailedUpgrade failed and operator marked the upgrade as failed.
WarningRollbackStartedBlue or green rollback started.
WarningBreakGlassEnteredBlue or green rollback entered break-glass mode.
NormalBreakGlassAcknowledgedBreak-glass mode was acknowledged and automation may resume.
WarningOperationLockBlockedUpgrade is waiting for another cluster operation to release the lock.

OpenBaoCluster backup events

TypeReasonNotes
NormalBackupManualTriggerAcceptedManual backup trigger accepted.
NormalBackupSkippedDue or manually requested backup intentionally skipped.
NormalBackupStartedBackup attempt started after lock acquisition.
NormalBackupIdentityConfigurationBackup identity mode and generated ServiceAccount attachment point.
NormalBackupJobCreatedBackup Job created.
NormalBackupCompletedBackup completed successfully.
WarningBackupFailedBackup Job failed.
WarningOperationLockBlockedBackup is waiting for another cluster operation to release the lock.

OpenBaoRestore events

TypeReasonNotes
NormalRestoreValidationStartedRestore validation started.
NormalRestoreStartedRestore execution started after validation.
NormalRestoreIdentityConfigurationRestore identity mode and generated ServiceAccount attachment point.
NormalRestoreJobCreatedRestore Job created.
NormalRestoreCompletedRestore completed successfully.
WarningRestoreFailedRestore failed.
WarningOperationLockBlockedRestore is waiting for another cluster operation to release the lock.
WarningOperationLockLostRestore lost the cluster operation lock while running.
WarningOperationLockOverrideLock override requested with break-glass restore.

OpenBaoTenant provisioning events

TypeReasonNotes
NormalTenantProvisionedTenant namespace RBAC was provisioned successfully.
NormalTenantRBACCleanedTenant namespace RBAC was cleaned up during deletion.
WarningTenantProvisioningBlockedProvisioning is blocked by guardrails, missing prerequisites, or dependency readiness checks.
WarningTenantProvisioningFailedProvisioning failed while applying tenant RBAC.

Structured audit events

In addition to Kubernetes Events, controllers emit structured audit events to logs, for example UpgradeStarted, UpgradeFailed, BackupJobCreated, RestoreCompleted, and TenantRBACProvisioned.

Stability

Condition types are part of the API surface. Reason and event values may expand over time as new scenarios are added.

Related lookup surfaces

Published release documentation

You are reading docs for version 0.1.0. Use the version menu to switch to next or another archived release.

Was this page helpful?

Use Needs work to open a structured GitHub issue for this page. The Yes button only acknowledges the signal locally.