Skip to content
This repository was archived by the owner on Aug 13, 2024. It is now read-only.
This repository was archived by the owner on Aug 13, 2024. It is now read-only.

Move isValidPrefix methods to provider injector packages #234

@csatib02

Description

@csatib02

Preflight Checklist

  • I have searched the issue tracker for an issue that matches the one I want to file, without success.
  • I agree to follow the Code of Conduct.

Problem Description

Currently the Secrets-webhook repo contains methods for checking provider prefixes e.g.: https://github.com/bank-vaults/secrets-webhook/blob/44e97a55e446774eb1e19dc3d782db77c37f3a51/pkg/provider/vault/provider.go#L72C1-L74C2

Proposed Solution

Move these to the corresponding injector package, making it a single source of truth.

Alternatives Considered

No response

Additional Information

No response

Metadata

Metadata

Assignees

Labels

kind/enhancementCategorizes issue or PR as related to an improvement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions