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

Add clear mongo log #4757

Merged
merged 18 commits into from
May 28, 2024
Merged

Add clear mongo log #4757

merged 18 commits into from
May 28, 2024

Conversation

wallyxjh
Copy link
Contributor

No description provided.

@sealos-ci-robot
Copy link
Member

sealos-ci-robot commented May 28, 2024

🤖 Generated by lychee action

Summary

Status Count
🔍 Total 1245
✅ Successful 374
⏳ Timeouts 0
🔀 Redirected 0
👻 Excluded 870
❓ Unknown 0
🚫 Errors 0

Full action output

Full Github Actions output

serviceAccountName: clear-mongo-logs-sa
containers:
- name: clear-logs
image: bitnami/kubectl
Copy link
Collaborator

Choose a reason for hiding this comment

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

fix this image tag

- /bin/bash
- -c
- |
clusters=$(kubectl get cluster.apps.kubeblocks.io -A | grep mongo)
Copy link
Collaborator

Choose a reason for hiding this comment

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

use get by label, some cluster may named by mongo but not mongo cluster.

@lingdie lingdie merged commit b4187c5 into labring:main May 28, 2024
30 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants