Topicus KeyHub Vault Operator
Manage Kubernetes Secrets with Topicus KeyHub and the KeyHubSecret
resource.
Documentation
The documentation can be found here.
Getting started
You will need Golang version 1.21 or higher.
Run the operator locally. Make sure you are connecting to your local minikube cluster!
make run
By default the operator will look for a keyhub-vault-operator-secret
in the default
namespace.
Run the tests
make test
Development
Git pre-commit hook to check Conventional Commits
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.