appcat-cli

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

README

appcat-cli

appcat-cli generates yaml files for custom kubernetes resources from command line arguments.

Warning: This tool is currently under heavy development. Stuff may change & break between releases!

Goal & Purpose

appcat-cli is developed as a converter tool for k8ify. It's purpose is to generate yaml files for custom kubernetes resources to be processed by k8ify into kubernetes manifests.

Non-Goals

Out of scope(for now) of this project are:

  • Checking scope and availability of custom resources on target cluster

Mode of Operation

Command Line Arguments

appcatcli supports the following command line arguments:

  • Argument #1: Name of custom resource type. Mandatory.
  • Argument #2...N: Parameters of custom resource. Optional.

Testing

To test the tool with standart parameters, in the root of the repository run:

go run . "VSHNPostgreSQL" "--spec.parameters.service.majorVersion" "1" "--spec.parameters.size.CPU" "6m" "--spec.parameters.size.disk" "8Gi" "--spec.parameters.size.memory" "35Mi" "--Spec.Parameters.Size.Requests.CPU" "3m" "--spec.parameters.size.requests.memory" "1Mi" "--spec.parameters.backup.schedule" "3 2 * * *" "--spec.parameters.backup.retention" "1"

License

This project is licensed under the BSD 3-Clause License

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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