dpeckett / replikator

A simple operator to replicate Kubernetes configmaps and secrets across namespaces, https://xkcd.com/927/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Replikator

A simple operator to replicate Kubernetes configmaps and secrets across namespaces.

Why? Because none of the existing solutions seemed to be able to selectively replicate subkeys, particularly the ca.crt of a kubernetes.io/tls secret.

Getting Started

Prerequisites

Installing

Dependencies

PROMETHEUS_VERSION="v0.68.0"
CERT_MANAGER_VERSION="v1.12.0"

kapp deploy -y -a prometheus-crds -f "https://github.com/prometheus-operator/prometheus-operator/releases/download/${PROMETHEUS_VERSION}/stripped-down-crds.yaml"
kapp deploy -y -a cert-manager -f "https://github.com/cert-manager/cert-manager/releases/download/${CERT_MANAGER_VERSION}/cert-manager.yaml"

Operator

kapp deploy -y -a replikator -f https://github.com/dpeckett/replikator/releases/latest/download/replikator.yaml

Secret Replication

Replicate a Certificate Authority

kubectl apply -f examples

About

A simple operator to replicate Kubernetes configmaps and secrets across namespaces, https://xkcd.com/927/

License:Apache License 2.0


Languages

Language:Go 89.5%Language:Earthly 6.3%Language:Shell 4.2%