forked from opendatahub-io/opendatahub-operator
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: simplifies generateCertSecret func (#1233)
Passing name and namespace is redundant, as it is always the same as newSecret passed to this func as well. This change simplifies function signature and uses `client.ObjectKeyFromObject` utility function to fetch existing secret instance from the cluster. In addition error variables has been renamed to avoid shadowing.
- Loading branch information
1 parent
ff7d131
commit fc789a9
Showing
1 changed file
with
19 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters