Skip to content

fix: Nautobot Secret Refs annotation as it is required before Creation - #2186

Open
geetikabatra wants to merge 1 commit into
rackerlabs:mainfrom
geetikabatra:geetika/nautobotsecretref
Open

fix: Nautobot Secret Refs annotation as it is required before Creation#2186
geetikabatra wants to merge 1 commit into
rackerlabs:mainfrom
geetikabatra:geetika/nautobotsecretref

Conversation

@geetikabatra

@geetikabatra geetikabatra commented Aug 4, 2026

Copy link
Copy Markdown

If nautobotSecretRef.Name is empty, the reconciler should skip gracefully: update .Status.Ready = false and .Status.Message with a clear “not configured” message, then requeue — instead of returning a raw error.

• If nautobotSecretRef.Namespace is empty but .Name is set, default to the CR’s own namespace rather than failing.

Fixes: 2183

@geetikabatra geetikabatra changed the title Fix Nautobot Secret Refs annotation as it is required before Creation fix: Nautobot Secret Refs annotation as it is required before Creation Aug 4, 2026
@geetikabatra geetikabatra self-assigned this Aug 4, 2026
@geetikabatra
geetikabatra requested a review from a team August 4, 2026 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NautobotSecretRef is optional in CRD, reconciler fails when it is unset

1 participant