Skip to content

Improved error on missing config key#589

Merged
hamistao merged 6 commits into
rancher:mainfrom
hamistao:improve_missing_key_error
Jul 16, 2026
Merged

Improved error on missing config key#589
hamistao merged 6 commits into
rancher:mainfrom
hamistao:improve_missing_key_error

Conversation

@hamistao

Copy link
Copy Markdown
Contributor

This contains:

  • Improved error on missing config key
  • Creation of UpdateSecretWithTemplate
  • Olhar small improvements

Also may contain changes from #513 as it was missing from a few branches,

@hamistao
hamistao requested a review from a team July 13, 2026 16:39
@hamistao

Copy link
Copy Markdown
Contributor Author

Backports for this (not all changes apply to all the branches):

2.14: #591
2.13: #592
2.12: #597
2.11: #596

@igomez06

@caliskanugur caliskanugur left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just have couple questions out of curiosity

Comment thread extensions/kubeapi/secrets/create.go
Comment thread pkg/config/config.go
lscalabrini01
lscalabrini01 previously approved these changes Jul 14, 2026
hamistao added 4 commits July 15, 2026 15:39
Signed-off-by: hamistao <[email protected]>
This avoids a flood of useless messages on our tests such as:
I1217 13:52:49.485450 12406 warnings.go:110] "Warning: child pods are preserved by default when jobs are deleted; set propagationPolicy=Background to remove them or set propagationPolicy=Orphan to suppress this warning"

Signed-off-by: hamistao <[email protected]>

@caliskanugur caliskanugur left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@igomez06 igomez06 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hamistao
hamistao merged commit 0b5b0d2 into rancher:main Jul 16, 2026
1 check passed
@hamistao
hamistao deleted the improve_missing_key_error branch July 16, 2026 16:10
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.

4 participants