-
Notifications
You must be signed in to change notification settings - Fork 1
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
Support KRM in Kustomize plugin - PolicyGenerator #7
Comments
I will attempt to do this task. |
I am not able to get the kustomize-plugin-kubeconform project to run. I noticed this line in the go.mod file:
I assumed that I needed your fork to run this plugin. So I went to your profile and grabbed your fork: https://github.com/aabouzaid/kubeconform After cloning the fork, I get the following error:
|
I'm still seeing what the best way would be to run introduce KRM functions to that PolicyGenerator project. I need a deeper understanding of KRM functions. |
I just read your blog post about krm functions: https://tech.aabouzaid.com/2022/07/notes-about-krm-functions-kustomize.html The PR you made in the Kustomize repo to fix the exec feature is very impressive!! Nice job!! |
Thanks @hamza-m-masood 🙌 Take a look at the PR I created to support KRM in SopsSecretGenerator. |
You can also check Kustomize Merger as a good example of using |
To be honest, I am a bit overwhelmed. I am very slowly making progress. I am still quite shaky on how KRM functions actually work and how the I made this program to learn more: https://gist.github.com/hamza-m-masood/077d34a35a5892fcdab93eba4524f4e2 @aabouzaid Looking at my program above, would |
@hamza-m-masood It's a good start 👌 |
Intro
Kustomize (the official tool to create K8s IaC) adopted the new Kubernetes declarative configurations known as
KRM Functions
. The new style is used as a unified way to interact with Kustomize plugins. There are 2 ways to use KRM in the plugins: Containerized KRM Functions and Exec KRM functions.Not all Kustomize plugins adopted the new format; hence the goal of this task is to support the new method in existing plugins, namely, PolicyGenerator.
Acquired Skills
By doing this task, you will gain the following skills:
The Challange
Support KRM in PolicyGenerator Kustomize plugin.
The Task
Notes and Tips
kyaml/fn/framework
(the one from Kustomize) is kustomize-plugin-merger.Related Links
The text was updated successfully, but these errors were encountered: