Documentation ¶
Index ¶
- Constants
- func AutoUnsealConfig(kubecli kubernetes.Interface, data string, v *api.VaultService) string
- func EnableWebUIConfig(kubecli kubernetes.Interface, data string, v *api.VaultService) string
- func NewClient(hostname string, port string, tlsConfig *vaultapi.TLSConfig) (*vaultapi.Client, error)
- func NewConfigWithDefaultParams(data string) string
- func NewConfigWithEtcd(data, etcdURL string) string
Constants ¶
View Source
const ( // VaultTLSAssetDir is the dir where vault's server TLS and etcd TLS assets sits VaultTLSAssetDir = "/run/vault/tls/" // ServerTLSCertName is the filename of the vault server cert ServerTLSCertName = "server.crt" // ServerTLSKeyName is the filename of the vault server key ServerTLSKeyName = "server.key" )
Variables ¶
This section is empty.
Functions ¶
func AutoUnsealConfig ¶
func AutoUnsealConfig(kubecli kubernetes.Interface, data string, v *api.VaultService) string
Auto Unseal Data
func EnableWebUIConfig ¶
func EnableWebUIConfig(kubecli kubernetes.Interface, data string, v *api.VaultService) string
func NewConfigWithDefaultParams ¶
NewConfigWithDefaultParams appends to given config data some default params: - telemetry setting - tcp listener
func NewConfigWithEtcd ¶
NewConfigWithEtcd returns the new config data combining original config and new etcd storage section.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.