Skip to content

Commit

Permalink
Merge pull request #456 from SparebankenVest/feature/fix-env-lookup-r…
Browse files Browse the repository at this point in the history
…egex

Fix env lookup regex in env injector
  • Loading branch information
181192 authored Dec 29, 2022
2 parents ca1552a + 3b1118b commit 6378db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/azure-keyvault-env/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import (
)

const (
envLookupRegex = `^([a-z-\d]*)@azurekeyvault([\?]?[a-z-\d]*)$`
envLookupRegex = `^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*)@azurekeyvault([\?]?[a-z-\d\.]*)$`
)

type injectorConfig struct {
Expand Down

0 comments on commit 6378db9

Please sign in to comment.