Skip to content

Add GitLab CI example - #155

Open
Moep90 wants to merge 1 commit into
kapicorp:masterfrom
Moep90:add-kapitan-gitlab-ci-example
Open

Moep90 wants to merge 1 commit into
kapicorp:masterfrom
Moep90:add-kapitan-gitlab-ci-example

Conversation

@Moep90

@Moep90 Moep90 commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Adds a self-contained examples/gitlab-ci showing Kapitan in a GitLab pipeline: one job runs kapitan compile and stores compiled/ as an artifact, a second job validates the generated Kubernetes manifests with kubeconform.

Why: a minimal, working reference for running Kapitan in GitLab CI, including the entrypoint override both images need.

Approach: standalone example pinned to Kapitan 0.36.1. The pipeline uses pinned image tags (no latest). A short note covers dynamic child pipelines as an optional follow-up.

Verification: kapitan compile produces the manifests; kubeconform reports 2 resources found in 2 files - Valid: 2.

Note: built as a standalone example because the repo currently pins 0.30 and the vendored generators do not run on 0.36.x.

Links:

Standalone example under examples/gitlab-ci: a compile job runs kapitan compile
and stores compiled/ as an artifact; a validate job checks the generated
Kubernetes manifests with kubeconform (2 resources, all valid). Images pinned;
Kapitan 0.36.1.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant