Skip to content

topicuskeyhub/keyhub-vault-operator

Repository files navigation

GitHub release (latest by date) Go GitHub

Topicus KeyHub

Topicus KeyHub Vault Operator

Manage Kubernetes Secrets with Topicus KeyHub and the KeyHubSecret resource.

Documentation

The documentation can be found here.

Getting started

Run the operator locally. Make sure you are connecting to your local minikube cluster!

make run

Run the tests

make test

Development

Git pre-commit hook to check Conventional Commits

  • Install pre-commit
  • Install pre-commit script (more info):
    pre-commit install --hook-type commit-msg

Install

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: keyhub-vault-operator

resources:
- ssh://github.com/topicuskeyhub/keyhub-vault-operator//config/default?ref=main

Release

  • Manually run the Release workflow (branch main) from Github Actions.

The Release workflow will do the following:

  • Update images['controller'].newTag in config/manager/kustomization.yaml with the full semver (prefixed with a 'v'), e.g. v0.1.0. The semver is based on conventional commits and the latest git tag.
  • Create and push the release tag, e.g. v0.1.0.
  • Create a GitHub release with a changelog based on the (conventional) commits since the last release.
  • The build workflow will run on the tag to publish te build.