k8s-wireguard-mgr

command module
v0.0.0-...-a797ec1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: Unlicense Imports: 4 Imported by: 0

README

Kubernetes Wireguard Manager

What is this?

This is a CLI tool intended to be run inside of a kubernetes job that can manage wireguard configurations held inside of kubernetes objects. It's initial use case is to generate a wireguard server private key as a part of a hook for a helm chart install.

Why not just use bash and kubectl?

  1. I prefer to avoid bash once conditionals start coming into play
  2. By using the wireguard library directly and the kubernetes API directly, the key can be generated without having to do any gymnastics keeping it out of CLI args that would show up on the node process table.
  3. It can be re-used/expanded to manage kubernetes resources that hold wireguard objects to manage a VPN.

Environment variables

Name Description
K8S_WG_MGR_SERVER_SECRET_NAME Name of the secret to create

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