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 Get and GetCredentials for CFServiceInstances #3610

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

klapkov
Copy link
Contributor

@klapkov klapkov commented Nov 11, 2024

Is there a related GitHub Issue?

#3609
#3608

What is this change about?

Here we expose GET /v3/service_instances/:guid and we also add GET /v3/service_instances/:guid/credentials

Does this PR introduce a breaking change?

No

Acceptance Steps

Tag your pair, your PM, and/or team

}

namespace, err := r.namespaceRetriever.NamespaceFor(ctx, secretName, ServiceInstanceResourceType)
if err != nil {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe this is not the best way to do this, because we get the namespace from the service instance. Should we introduce the corev1.Secret Resource here: https://github.com/cloudfoundry/korifi/blob/main/api/repositories/namespace_retriever.go ? This seams the most reasonable approach to me.

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.

1 participant