k8s secret
Allows to integrate with k8s secrets and use them as secret provider for go-home.
system: secret provider: k8s introduced in v0.1
k8s provider attempts to load secrets from k8s-cluster secrets.
Secret should have key:value
map.
Configuration options
Param | Required | Type | Default | Description |
---|---|---|---|---|
secret | string | default/go-home |
Specifies namespace and secret name to use |
The following example will use go-home-server
secret in default
namespace:
./go-home \
-s provider:k8s \
-s secret:go-home-server
You can create secrets like this:
kubectl create secret generic go-home-server --from-literal=test-secret="example data"