Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const (
restartDeploymentsEnvVariable = "AUTO_RESTART"
defaultPollingInterval = 600

annotationRegExpString = "^operator.1password.io\\/[a-zA-Z\\.]+"
annotationRegExpString = "^operator\\.1password\\.io\\/[a-zA-Z\\.]+"
)

func printVersion() {
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const (
username2 = "test-user2"
password2 = "4zotzqDqXKasLFT2jzTs"

annotationRegExpString = "^operator.1password.io\\/[a-zA-Z\\.]+"
annotationRegExpString = "^operator\\.1password\\.io\\/[a-zA-Z\\.]+"
)

// Define utility constants for object names and testing timeouts/durations and intervals.
Expand Down
2 changes: 1 addition & 1 deletion pkg/onepassword/annotations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
appsv1 "k8s.io/api/apps/v1"
)

const AnnotationRegExpString = "^operator.1password.io\\/[a-zA-Z\\.]+"
const AnnotationRegExpString = "^operator\\.1password\\.io\\/[a-zA-Z\\.]+"

func TestFilterAnnotations(t *testing.T) {
invalidAnnotation1 := "onepasswordconnect/vaultId"
Expand Down