mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-02-21 19:48:53 +02:00
including vaultSecretFile to parameter generator docu (#3436)
Co-authored-by: anilkeshav27 <you@example.com>
This commit is contained in:
parent
d880230320
commit
04c4460c78
@ -107,7 +107,7 @@ func parameterFurtherInfo(paramName string, stepData *config.StepData, execution
|
||||
if paramName == param.Name {
|
||||
if param.Secret {
|
||||
secretInfo := "[](#) pass via ENV or Jenkins credentials"
|
||||
if param.GetReference("vaultSecret") != nil {
|
||||
if param.GetReference("vaultSecret") != nil || param.GetReference("vaultSecretFile") != nil {
|
||||
secretInfo = " [](#) [](/) pass via ENV, Vault or Jenkins credentials"
|
||||
|
||||
}
|
||||
@ -324,7 +324,7 @@ func resourceReferenceDetails(resourceRef []config.ResourceReference) string {
|
||||
}
|
||||
|
||||
func addVaultResourceDetails(resource config.ResourceReference, resourceDetails string) string {
|
||||
if resource.Type == "vaultSecret" {
|
||||
if resource.Type == "vaultSecret" || resource.Type == "vaultSecretFile" {
|
||||
resourceDetails += "<br/>Vault paths: <br />"
|
||||
resourceDetails += "<ul>"
|
||||
for _, rootPath := range config.VaultRootPaths {
|
||||
|
Loading…
x
Reference in New Issue
Block a user