Documentation
¶
Overview ¶
package vault contains an addon that installs Vault
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewVaultAppRoleSecret ¶
func NewVaultAppRoleSecret(name, secretId string) *v1.Secret
func NewVaultTokenSecret ¶
func NewVaultTokenSecret(name string) *v1.Secret
Types ¶
type Details ¶
type Details struct {
// Host is the hostname that can be used to connect to Pebble
Host string
// PodName is the name of the Vault pod
PodName string
// Namespace is the namespace vault has been deployed into
Namespace string
// VaultCA is the CA used to sign the vault serving certificate
VaultCA []byte
VaultCAPrivateKey []byte
// VaultCert is the vault serving certificate
VaultCert []byte
VaultCertPrivateKey []byte
}
type Vault ¶
type Vault struct {
// Tiller is the tiller instance used to deploy the chart
Tiller *tiller.Tiller
// Name is a unique name for this Pebble deployment
Name string
// Namespace is the namespace to deploy Pebble into
Namespace string
// contains filtered or unexported fields
}
Vault describes the configuration details for an instance of Vault deployed to the test cluster
func (*Vault) Deprovision ¶
Deprovision will destroy this instance of Pebble
func (*Vault) Provision ¶
Provision will actually deploy this instance of Pebble-ingress to the cluster.
func (*Vault) SupportsGlobal ¶
type VaultInitializer ¶
type VaultInitializer struct {
Details
RootMount string
IntermediateMount string
Role string
AuthPath string
// contains filtered or unexported fields
}
func (*VaultInitializer) Clean ¶
func (v *VaultInitializer) Clean() error
func (*VaultInitializer) CleanAppRole ¶
func (v *VaultInitializer) CleanAppRole() error
func (*VaultInitializer) CreateAppRole ¶
func (v *VaultInitializer) CreateAppRole() (string, string, error)
func (*VaultInitializer) Init ¶
func (v *VaultInitializer) Init() error
func (*VaultInitializer) Setup ¶
func (v *VaultInitializer) Setup() error
Click to show internal directories.
Click to hide internal directories.