-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Conftest policy_sets "<CODE_DIRECTORY>" path clarification #1739
Comments
I can't answer you definitively. Though I can tell you we do exactly that. Bake the rego files (from a different repo) into the image at image build time. Then reference the absolute path in atlantis repo.yml. |
Thank you @davidh-unmind, that sure helps! 🙇 |
Hi @davidh-unmind ! Could you add those lines to the docs? I had the same problem, there is no clarification about what <CODE_DIRECTORY> is. Thanks in advance! |
It would be nice to have more clarity and better documentation on this new feature, please. Thanks, |
I've made a start on a PR (link above). This is derived from my own learnings. Thoughts welcome. |
I'm having a hard time deciphering this from the docs, for getting started with conftest:
What is <CODE_DIRECTORY> here? We are deploying Atlantis as a Helm chart, and use a custom image which installs Terragrunt atop of the official image.
Would I have to bake the rego files into my Atlantis image and provide an absolute path to the directory containing them? Is there any relation to the Git repository which is integrated with Atlantis for its MR review process? (that is what code directory suggests to me)
The text was updated successfully, but these errors were encountered: