Skip to content

Commit

Permalink
fix(controller): typo fix ("Secrete" -> "Secret") in secret informer (#…
Browse files Browse the repository at this point in the history
…2965)

fix: typo fix ("Secrete" -> "Secret") in secret informer

Signed-off-by: Bart Smykla <bartek@smykla.com>
  • Loading branch information
bartsmykla authored Aug 22, 2023
1 parent 7fb0a79 commit 8fc9021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/rollouts-controller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func newCommand() *cobra.Command {
resyncDuration,
kubeinformers.WithNamespace(notificationConfigNamespace),
kubeinformers.WithTweakListOptions(func(options *metav1.ListOptions) {
options.Kind = "Secrete"
options.Kind = "Secret"
options.FieldSelector = fmt.Sprintf("metadata.name=%s", record.NotificationSecret)
}),
)
Expand Down

0 comments on commit 8fc9021

Please sign in to comment.