A Dagger Module for testing configuration files using Conftest.
dagger -m github.com/tsirysndr/daggerverse/conftest call test \
--src <source> \
--files <files> \
--policy [policy] \
--output [output]
dagger -m github.com/tsirysndr/daggerverse/conftest call \
dev --src <source> terminal
dagger -m github.com/tsirysndr/daggerverse/conftest call test \
--src . \
--files deployment.yaml \
--policy policy \
--output-format stdout
dagger call -m github.com/tsirysndr/daggerverse/conftest dev --src . terminal
import { test } from 'jsr:@fx/conftest';
await test(
".",
"deployment.yaml",
"policy",
"stdout"
);