Skip to content

DataReply/korgi

Repository files navigation

korgi - k8s organizer


Fetches your templated manifests and delivers it to Kapp like a good boi


WARNING: Very early release, use at your own discretion.

Tool to chain templating engines for k8s and execution engines for k8s. Depends on a very opinionated deployment structure:

realm
   namespaces
        namespace
            {app_group}
                _app_group.yaml
                app1.yaml
                app2.yaml

Korgi acts as glue between kubernetes templating and state management engines. In its current version, Korgi integrates Helmfile and kapp while imposing a specific deployment structure.

A reference implementation of the assumed deployment structure can be found here.

Examples

Apply all groups in namespace default and env dev:

korgi apply-namespace -e dev default

Apply a group in namespace default and env dev:

korgi apply -e dev -n default monitoring

Apply a single app from the monitoring group in namespace default and env dev:

korgi apply -e dev -n default -a dummy monitoring

Passing extra args to the engines:

korgi --helmfile-args "--skip-deps" --kapp-args "--color=false" apply-namespace default

Delete a single group:

korgi delete -e dev -n default monitoring