Skip to content

Commit

Permalink
added a valid value for OIDClabelkey
Browse files Browse the repository at this point in the history
  • Loading branch information
yijie-04 committed Jan 26, 2024
1 parent f2fe553 commit b2941ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/auth/serviceaccount.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func GetOIDCServiceAccountForResource(gvk schema.GroupVersionKind, objectMeta me
"description": fmt.Sprintf("Service Account for OIDC Authentication for %s %q", gvk.GroupKind().Kind, objectMeta.Name),
},
Labels: map[string]string{
sources.OIDCLabelKey: "OIDC label",
sources.OIDCLabelKey: "enabled",
},
},
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/auth/serviceaccount_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func TestGetOIDCServiceAccountForResource(t *testing.T) {
"description": "Service Account for OIDC Authentication for Broker \"my-broker\"",
},
Labels: map[string]string{
sources.OIDCLabelKey: "OIDC label",
sources.OIDCLabelKey: "enabled",
},
},
}
Expand Down

0 comments on commit b2941ac

Please sign in to comment.