kustomization-generator

command module
v0.1.0-alpha.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2021 License: BSD-3-Clause Imports: 2 Imported by: 0

README

kustomization-generator

Usage helm

This generator allows you to convert a hosted helm chart into locally stored resource definitions.

  1. Prepare folder with definition:
    # kustomization-generator.yaml
    type: helm
    registry: https://charts.jetstack.io
    chart: cert-manager
    version: v1.6.1
    name: cert-manager
    namespace: cert-manager-system
    args:
      - --include-crds
    values:
      some: value
    
  2. Run kustomization-generator in that folder
  3. Find a ready to use kustomization with the content of that chart
    ├── kustomization-generator.yaml
    ├── kustomization.yaml
    └── templates
        ├── cainjector-deployment.yaml
        ├── ...
        └── webhook-validating-webhook.yaml
    

Usage kustomize

This generator allows you to convert a remote kustomization into a locally stored resource definition.

  1. Prepare folder with definition:
    # kustomization-generator.yaml
    type: kustomize
    namespace: namespace
    url: github.com/CrunchyData/postgres-operator-examples/kustomize/install?ref=main
    args:
      - --reorder
      - legacy
    
  2. Run kustomization-generator in that folder
  3. Find a ready to use kustomization with the content of that chart
    ├── kustomization-generator.yaml
    ├── kustomization.yaml
    └── resources.yaml
    

Installation

Docker
cd my-git-directory
docker pull ghcr.io/choffmeister/kustomization-generator:latest
docker run --rm -v $PWD:/workdir ghcr.io/choffmeister/kustomization-generator:latest

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL