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

Init adminer controller. #3107

Merged
merged 1 commit into from
May 24, 2023
Merged

Init adminer controller. #3107

merged 1 commit into from
May 24, 2023

Conversation

zzjin
Copy link
Collaborator

@zzjin zzjin commented May 17, 2023

πŸ€– Generated by Copilot at de90990

Summary

πŸ“πŸš€πŸ› οΈ

This pull request adds the adminer controller to the sealos cloud product. The adminer controller is a Kubernetes operator that manages the deployment and service of the adminer web interface for database administration. The pull request includes the API types, the CRD, the RBAC, the manager, the Dockerfile, the Makefile, the kustomize files, and the README files for the adminer controller.

adminer controller
kubebuilder and kustomize
autumn of coding

Walkthrough

  • Add a user guide for the sealos cloud adminer product in English and Chinese (link, link)
  • Define the API types for the adminer custom resource and register them with the scheme (link, link, link)
  • Generate and customize the custom resource definition for the adminer API using controller-gen and kustomize (link, link, link)
  • Define and customize the manager deployment and service for the adminer controller using kustomize (link, link, link, link, link)
  • Inject a sidecar container that performs RBAC authorization for the controller manager (link)
  • Enable the prometheus monitor for the adminer controller (link)
  • Define how to build the adminer controller image using a Dockerfile (link)
  • Exclude build and test binaries from the docker context and the git version control using .dockerignore and .gitignore files (link, link)
  • Provide a set of commands for building, testing, generating, and deploying the adminer controller using a Makefile (link)
  • Store the metadata and configuration of the adminer controller project using a PROJECT file (link)

@pull-request-size
Copy link

Whoa! Easy there, Partner!

This PR is too big. Please break it up into smaller PRs.

@codecov
Copy link

codecov bot commented May 18, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (9671824) 72.97% compared to head (4c2e017) 72.97%.

❗ Current head 4c2e017 differs from pull request most recent head edf7fc1. Consider uploading reports for the commit edf7fc1 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3107   +/-   ##
=======================================
  Coverage   72.97%   72.97%           
=======================================
  Files           8        8           
  Lines         618      618           
=======================================
  Hits          451      451           
  Misses        132      132           
  Partials       35       35           

β˜” View full report in Codecov by Sentry.
πŸ“’ Do you have feedback about the report comment? Let us know in this issue.

Signed-off-by: zzjin <tczzjin@gmail.com>

Fix typo

Signed-off-by: zzjin <tczzjin@gmail.com>

Fix module

Signed-off-by: zzjin <tczzjin@gmail.com>

update ci

Signed-off-by: zzjin <tczzjin@gmail.com>

Fix controller image name

Signed-off-by: zzjin <tczzjin@gmail.com>
@zzjin zzjin merged commit 441113c into labring:main May 24, 2023
63 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants