Manage Kubernetes Secrets with Topicus KeyHub and the KeyHubSecret
resource.
The documentation can be found here.
Run the operator locally. Make sure you are connecting to your local minikube cluster!
make run
Run the tests
make test
- Install minikube or something similar
- Install Operator SDK
- Install
pre-commit
- Install
pre-commit
script (more info):pre-commit install --hook-type commit-msg
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: keyhub-vault-operator
resources:
- ssh://github.com/topicuskeyhub/keyhub-vault-operator//config/default?ref=main
- Manually run the
Release
workflow (branchmain
) from Github Actions.
The Release
workflow will do the following:
- Update
images['controller'].newTag
inconfig/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.