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

Package the checks as an OCI container for usage in Kubernetes #6

Merged
merged 5 commits into from
Aug 30, 2024

Conversation

janvhs
Copy link
Member

@janvhs janvhs commented Aug 29, 2024

This PR packages the checks as an OCI container, so it can be used as a side car in Kubernetes and possibly in manual Docker/Podman deployments.

It intentionally installs the checks during runtime, so a volume can be mounted to /usr/share/trento/checks.

This commit adds a OCI to deploy the checks via Kubernetes
This commit adds supporting files for building the container via OBS
This commit expands the ci.yaml file wit the ability to deploy the
checks OCI image to OBS.
This commit ensures checks get only installed into a non empty
pre-existing directory. This is done to ensure that the volume is
mounted and empty. The installation should fail otherwise.
Copy link
Contributor

@dottorblaster dottorblaster left a comment

Choose a reason for hiding this comment

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

I'm just not sure about the entrypoint but we can just remove it in a second moment if we don't see fit

@dottorblaster dottorblaster merged commit 3d940be into main Aug 30, 2024
4 checks passed
@janvhs janvhs deleted the package-container branch August 30, 2024 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants