Skip to content

Commit bbbee3c

Browse files
committed
Fix: ignore missing role_id and secret_id
1 parent af5bd14 commit bbbee3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

persys-scheduler/internal/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ func (c *Config) Validate() error {
191191
}
192192
case "approle":
193193
if strings.TrimSpace(c.VaultAppRoleID) == "" || strings.TrimSpace(c.VaultAppSecretID) == "" {
194-
return fmt.Errorf("vault approle auth selected but role_id/secret_id is missing")
194+
// return fmt.Errorf("vault approle auth selected but role_id/secret_id is missing")
195195
}
196196
default:
197197
return fmt.Errorf("unsupported PERSYS_VAULT_AUTH_METHOD=%q", c.VaultAuthMethod)

0 commit comments

Comments
 (0)