A quick create wizard to create and modify opinionated kustomize deployments.

Overview

kqc ๐Ÿš€ โ˜ธ๏ธ

A quick create wizard to create and modify opinionated kustomize deployments.

latest version

This tool should help to quickly create and build up kustomize deployments. It features a wizard, which will let you create the boilerplate configuration and underlying file structure. With a templateing engine the most important values are already set into the resources, such that only minor further tweaks should be required for getting the deployment up and running.

Demo GIF of kqc in action

๐Ÿ“ฆ Requirements

  • rust

or

  • nix
  • direnv

๐Ÿš€ Getting started

Clone the repository and make sure the dependencies are installed. You either need rust or nix installed. With nix use either nix-shell or direnv allow up to your preferences. After dependencies are available run cargo install --path . to build and install the tool.

Then you should be able to call the wizard with kustomize-quick-create. It will detect the kustomize deployment if it exists in the kubernetes/ subdirectory of the present working dir.

๐Ÿงช Customizing the templates

Templates are stored in the templates/ directory of this repository and statically compiled into the binary. Feel free to tinker around with the templates and customize them to your needs. Please keep in mind that you need to update the fields of the relating struct in src/resources if you change them. Simply search for the template name in the code base and you should be able to find them.

โ„๏ธ Installation with nix

Add the following code to your overlays. Then kustomize-quick-create can be installed from pkgs.

final: prev: {
  kustomize-quick-create = prev.pkgs.rustPlatform.buildRustPackage rec {
    version = "0.1.0";
    pname = "kustomize-quick-create";

    src = prev.fetchFromGitHub {
      owner = "dj95";
      repo = pname;
      rev = "f2c811652ab824616fb48cdbc8c78d1e8b83d8c0";
      sha256 = "sha256-q6Cu0o5P3Tic3a3H9OOash6HbdJxciNhkKJQxd0WEaU=";
    };

    cargoSha256 = "sha256-Ay96cF3H3l7/yzU5ejOrK96T9WoEaIujiEM285qxMFU=";
  };
}

๐Ÿค Contributing

If you are missing features or find some annoying bugs please feel free to submit an issue or a bugfix within a pull request :)

๐Ÿ“ License

ยฉ 2023 Daniel Jankowski

This project is licensed under the MIT license.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You might also like...
Create Bitcoin double-spend discouraging bonds on Liquid.

doubletake A tool for creating Bitcoin double-spend punishment bonds on Liquid. WARNING: Don't use this tool for real use cases yet. There are still a

A template to create Rust-based Pure Data externals

Generate a Rust-based external for Pure Data This is a cargo generate template to create a Pure Data external written entirely in Rust. It uses pureda

Create a Stark prover & verifier from zero

stark-from-zero Create a Stark prover and verifier from zero, with Rust. Hopefully without external libraries. The point is to create a minimal versio

tool to create a relic export from network packets of a certain turn-based anime game
tool to create a relic export from network packets of a certain turn-based anime game

reliquary-archiver tool to create a relic export from network packets of a certain turn-based anime game json output format is based on the format of

IBC modules and relayer - Formal specifications and Rust implementation

ibc-rs Rust implementation of the Inter-Blockchain Communication (IBC) protocol. This project comprises primarily four crates: The ibc crate defines t

Diemโ€™s mission is to build a trusted and innovative financial network that empowers people and businesses around the world.
Diemโ€™s mission is to build a trusted and innovative financial network that empowers people and businesses around the world.

Note to readers: On December 1, 2020, the Libra Association was renamed to Diem Association. The project repos are in the process of being migrated. A

Fast and efficient ed25519 signing and verification in Rust.
Fast and efficient ed25519 signing and verification in Rust.

ed25519-dalek Fast and efficient Rust implementation of ed25519 key generation, signing, and verification in Rust. Documentation Documentation is avai

A safe implementation of the secure remote password authentication and key-exchange protocol (SRP), SRP6a and legacy are as features available.

Secure Remote Password (SRP 6 / 6a) A safe implementation of the secure remote password authentication and key-exchange protocol (SRP version 6a). Ver

Retrieving SSH and GPS keys from GitHub and GitLab

Dormarch Retrieving SSH and GPS keys from GitHub and GitLab Usage After having installed Dormarch, you can see all the options with dormarch -h. To re

Releases(v0.1.0)
Owner
Daniel Jankowski
DevOps engineer with dedication to OSS and it-security
Daniel Jankowski
Automated Solana tool for quick arbitrage, customizable, with real-time data and wallet integration. Trade responsibly.

Solana Arbitrage Trading Tool The Solana Arbitrage Trading Tool is an automated solution crafted to spot and capitalize on arbitrage opportunities wit

null 43 Mar 12, 2024
Quick poc of the rsync wire protocol in Rust. Supports delta transfer.

Rsync wire protocol in Rust This is a quick poc of the rsync wire protocol in Rust. It supports delta transfer. The code is really a mess right now, a

LightQuantum 4 Feb 18, 2023
Customisable CLI agents to answer all your quick questions. โš™๏ธ

Agent Smith ??๏ธโ€โ™‚๏ธ Your ally in the battle for mental space between you and the multiverse of CLI tools. ?? Setup OpenAI API Token You need to set the

Lef Filippakis 3 May 3, 2023
๐Ÿ—‚๏ธ A simple, opinionated, tool, written in Rust, for declaratively managing Git repos on your machine.

gitrs ??๏ธ A simple, opinionated, tool, written in Rust, for declaretively managing Git repos on your machine. "simple" - limited in what it supports.

Colton J. McCurdy 14 May 30, 2023
Zei is a library that provide tools to create and verify public transaction with confidential data.

#Zei: Findora's Cryptographic Library Zei is a library that provide tools to create and verify public transaction with confidential data. Support: Bas

Findora Foundation 0 Oct 23, 2022
๐Ÿฅ• Create a multisig with taproot and spend from it using BDK ๐Ÿฅ•

Multisig & carrots This repository contains all the code to build a taproot multisig with your friends, and to spend from it. It's been used first to

Daniela Brozzoni 15 Jan 31, 2023
Starknet Stack let's you easily create new Cairo Starknet chains with their own sequencers, provers and verifiers

Starknet Stack flowchart LR A("Client") ==>|"Starknet Transactions"| subGraph0["Sequencer"] subGraph0 -.->|"Blocks with txs"| 300319["Watcher prover

Lambdaclass 7 Jul 11, 2023
Create your personal token with rust smart contracts

Solana Rust Token ?? This application written Rust using Anchor โš“

Ritesh 6 Nov 22, 2022
MevWallet is a smart contract wallet that allows the user to capture MEV from Searchers, or create MEV on purpose.

MevWallet MevWallet is a smart contract wallet that allows the user to capture MEV from Searchers, or create MEV on purpose. This repo contains the so

Blunt Instruments 94 Jan 26, 2023