Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add secret annotations' backward translation #23

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

philimonoff
Copy link

No description provided.

@philimonoff philimonoff changed the title Add secret annotations' backward translation #22 Add secret annotations' backward translation Dec 19, 2022
@philimonoff
Copy link
Author

Closes #22.

@@ -29,6 +33,29 @@ type secretSyncer struct {
physicalClient client.Client
}

func (s *secretSyncer) getCertVirtualName(certPhysicalName string) (string, error) {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure, but I think this function and function below could be transformed to single function getObjectVirtualName or something like that.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when Oleg is back from holiday he may have thoughts, but for me this seems fine as two simple little functions like this!

Copy link

@carlmontanari carlmontanari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👋 hey there! im not super up to speed with the cert-manager plugin but just made a few nit picky comments here. I suspect we'll want to wait for Fabian or Oleg to chime back in after the holidays before getting merged since they've got more context... but, seems reasonable to me from what I know :)

@@ -29,6 +33,29 @@ type secretSyncer struct {
physicalClient client.Client
}

func (s *secretSyncer) getCertVirtualName(certPhysicalName string) (string, error) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when Oleg is back from holiday he may have thoughts, but for me this seems fine as two simple little functions like this!

cert-manager-plugin/pkg/syncers/secrets/syncer.go Outdated Show resolved Hide resolved
cert-manager-plugin/pkg/syncers/secrets/syncer.go Outdated Show resolved Hide resolved
cert-manager-plugin/pkg/syncers/secrets/syncer.go Outdated Show resolved Hide resolved
cert-manager-plugin/pkg/syncers/secrets/syncer.go Outdated Show resolved Hide resolved
@philimonoff
Copy link
Author

@carlmontanari Hi!
Thank You for Your comments!
Could You tell, when do You expect Fabian or Oleg to return?

@carlmontanari
Copy link

nice, thanks for the little clean up!

I think you'll be waiting till the new year what w/ holidays/time off and such.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants