Skip to content

support additional kubernetes secret labels#34

Merged
jamiedel818 merged 1 commit intomasterfrom
optional-k8s-secret-labels
Feb 6, 2026
Merged

support additional kubernetes secret labels#34
jamiedel818 merged 1 commit intomasterfrom
optional-k8s-secret-labels

Conversation

@jamiedel818
Copy link
Collaborator

This pull requests extends Pentagon's secret mapping config to allow for extra labels to be added to the generated Kubernetes secret(s).

additionalSecretLabels can optionally be added to a mapping config. additionalSecretLabels will be merged with the top level default label config value.

Extended existing test cases to account for scenarios where no additional labels have been provided, ensuring the default label still exists. Introduced new test cases where additional labels are provided, ensuring the default label still exists.

Duplicates #31 without forking the reop

@jamiedel818 jamiedel818 merged commit 7e005cf into master Feb 6, 2026
3 checks passed
@jamiedel818 jamiedel818 deleted the optional-k8s-secret-labels branch February 6, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants