Consdata / vault-secrets-operator

Create k8s secrets with Vault

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vault secrets operator

This operator allows creating k8s secrets with data from Vault KV secrets. To create new secret you need to apply custom resource:

apiVersion: consdata.com/v1
kind: VaultSecret
metadata:
  name: test
spec:
  path: "k8s/test"
  vault: "http://0.0.0.0:8200"
  role: "k8s-operator"
  name: test-secret
  type: "kubernetes.io/dockerconfigjson"
parameter description
path Path to kv secret
vault Vault host
role K8s authentication role
name K8s secret name
type K8s secret type

Installation

kubectl apply -f https://raw.githubusercontent.com/Consdata/vault-secrets-operator/master/operator.yml

About

Create k8s secrets with Vault

License:MIT License


Languages

Language:Python 82.5%Language:Shell 12.4%Language:Dockerfile 5.1%