Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jiuker
Copy link
Contributor

@jiuker jiuker commented Mar 21, 2025

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
@jiuker jiuker requested a review from shtripat March 21, 2025 07:10
@cesnietor
Copy link
Contributor

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

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