Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

MV: Install openapi2json to convert schemas for kubeconform validation #18

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

Conversation

micahvdk
Copy link

No description provided.

@@ -1,5 +1,12 @@
FROM cimg/ruby:3.1.1

RUN sudo apt update && \
Copy link
Member

Choose a reason for hiding this comment

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

do we need this? can we not use a python base image in the ci flow somewhere to grab the schema?

Copy link
Author

@micahvdk micahvdk Jun 19, 2022

Choose a reason for hiding this comment

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

Hmmm,

It means we would need to download the schema using a different image and then save that in CI and then restore that in the kubeconform image when it does validation.

I guess we can do that as well, not sure what is cleaner to have two images run, one to pull schema and second to validate manifests against schema.

Or to have those tasks run within a single container.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants