Skip to content
This repository was archived by the owner on Mar 20, 2026. It is now read-only.

log: send a event when secret is not found - #2405

Merged
pjuarezd merged 1 commit into
minio:masterfrom
jiuker:send-a-event-when-secret-is-not-found
Apr 11, 2025
Merged

pjuarezd merged 1 commit into
minio:masterfrom
jiuker:send-a-event-when-secret-is-not-found

Conversation

@jiuker

@jiuker jiuker commented Mar 21, 2025 •

Copy link
Copy Markdown
Contributor

Description

log: send a event when secret is not found
if secret is not found, getting the operator log is the only way before.

Now we send a event to K8S as well

Related Issue

Type of Change

  • Bug fix 🐛
  • New feature 🚀
  • Breaking change 🚨
  • Documentation update 📖
  • Refactor 🔨
  • Other (please describe) ⬇️

log

Screenshots (if applicable e.g before/after)

Checklist

  • I have tested these changes
  • I have updated relevant documentation (if applicable)
  • I have added necessary unit tests (if applicable)

Test Steps

  1. Deploy a tenant without secret
  2. We can get the warnning by kubectl get events -n namespace

Additional Notes / Context

log: send a event when secret is not found
Comment thread pkg/controller/main-controller.go Resolved
@jiuker
jiuker requested a review from shtripat March 21, 2025 07:10
Comment thread pkg/controller/main-controller.go Resolved
@cesnietor

Copy link
Copy Markdown
Contributor

@jiuker please fill the PR template appropiately.
cc @ramondeklein @shtripat

@pjuarezd
pjuarezd merged commit 296f059 into minio:master Apr 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants