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 handlers for Service Binding Creation #673

Merged
merged 3 commits into from
Feb 16, 2022
Merged

Add handlers for Service Binding Creation #673

merged 3 commits into from
Feb 16, 2022

Conversation

julian-hj
Copy link
Member

@julian-hj julian-hj commented Feb 16, 2022

Is there a related GitHub Issue?

#458

What is this change about?

Add handlers for Service Binding Creation

  • we modified the controller to pick up the secret name fromt the
    service instance spec insead of the service binding spec.
  • the service binding handler does not set the secret name on the spec,
    so the plan is to remove it entirely and modify any consumers to look
    up the secret name from the service binding status field.

Does this PR introduce a breaking change?

Possibly--we have changed the type of the servicebinding.Spec.name to a string pointer

Acceptance Steps

see #458

Tag your pair, your PM, and/or team

@akrishna90 @matt-royal @clintyoshimura

@akrishna90 akrishna90 marked this pull request as ready for review February 16, 2022 18:38
@akrishna90 akrishna90 changed the title [DRAFT] Add handlers for Service Binding Creation Add handlers for Service Binding Creation Feb 16, 2022
- we modified the controller to pick up the secret name fromt the
  service instance spec insead of the service binding spec.
- the service binding handler does not set the secret name on the spec,
  so the plan is to remove it entirely and modify any consumers to look
  up the secret name from the service binding status field.
- removed the secretName field from ServiceBinding Spec and updated the
  Build and Process Controller to fetch the service binding secret name from the status.

Co-authored-by: Ashwin Krishna <[email protected]>
Co-authored-by: Clint Yoshimura <[email protected]>
Co-authored-by: Julian Hjortshoj <[email protected]>
Copy link
Member

@akrishna90 akrishna90 left a comment

Choose a reason for hiding this comment

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

LGTM!

matt-royal and others added 2 commits February 16, 2022 13:13
- we modified the controller to pick up the secret name fromt the
  service instance spec insead of the service binding spec.
- the service binding handler does not set the secret name on the spec,
  so the plan is to remove it entirely and modify any consumers to look
  up the secret name from the service binding status field.
- removed the secretName field from ServiceBinding Spec and updated the
  Build and Process Controller to fetch the service binding secret name from the status.

Co-authored-by: Ashwin Krishna <[email protected]>
Co-authored-by: Clint Yoshimura <[email protected]>
Co-authored-by: Julian Hjortshoj <[email protected]>
…ontrollers into issues/458

� Conflicts:
�	api/apis/integration/create_service_binding_test.go
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.

3 participants