File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -11,16 +11,19 @@ type Manifest struct {
11
11
12
12
// Secrets map with group-name, metadata and secrets list.
13
13
type Secrets struct {
14
- Path string `yaml:"path"`
15
- Data []SecretData `yaml:"data"`
14
+ Path string `yaml:"path"` // vault path
15
+ Type string `yaml:"type,omitempty"` // kubernetes secret type
16
+ Data []SecretData `yaml:"data"` // secret entries
16
17
}
17
18
18
19
// SecretData define a single secret in Vault, mapping to a regular file.
19
20
type SecretData struct {
20
21
Name string `yaml:"name"` // file name
21
- Extension string `yaml:"extension"` // file extension
22
+ Extension string `yaml:"extension,omitempty"` // file extension
22
23
Zip bool `yaml:"zip,omitempty"` // deal with zipped payload
23
24
NameAsSubPath bool `yaml:"nameAsSubPath,omitempty"` // employ name as part of the path
25
+ Key string `yaml:"key,omitempty"` // vault key
26
+ FromEnv string `yaml:"fromEnv,omitempty"` // load payload from environment
24
27
}
25
28
26
29
// NewManifest by parsing informed manifest file.
You can’t perform that action at this time.
0 commit comments