Skip to content

Support Simple Resource Class Selection#927

Merged
negz merged 7 commits intocrossplane:masterfrom
negz:notsoclassy
Oct 23, 2019
Merged

Support Simple Resource Class Selection#927
negz merged 7 commits intocrossplane:masterfrom
negz:notsoclassy

Conversation

@negz
Copy link
Copy Markdown
Member

@negz negz commented Oct 10, 2019

Description of your changes

This enables label based class matching per #926. Changes will also be required to crossplane-runtime, and all stacks.

Checklist

I have:

  • Run make reviewable to ensure this PR is ready for review.
  • Ensured this PR contains a neat, self documenting set of commits.
  • Updated any relevant documentation, examples, or release notes.
  • Updated the RBAC permissions in clusterrole.yaml to include any new types.

@upbound-bot
Copy link
Copy Markdown
Collaborator

81% (0.0%) vs master 81%

Copy link
Copy Markdown
Member

@hasheddan hasheddan left a comment

Choose a reason for hiding this comment

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

A few comments about updates that I think will need to be made in crossplane-runtime and angryjet before these changes are made.

@upbound-bot
Copy link
Copy Markdown
Collaborator

81% (0.0%) vs master 81%

negz added a commit to negz/crossplane-tools that referenced this pull request Oct 17, 2019
crossplane/crossplane#926
crossplane/crossplane#927
crossplane/crossplane-runtime#48

Updates angryjet to reflect the above changes.

Signed-off-by: Nic Cope <negz@rk0n.org>
negz added a commit to negz/crossplane-tools that referenced this pull request Oct 17, 2019
crossplane/crossplane#926
crossplane/crossplane#927
crossplane/crossplane-runtime#48

Updates angryjet to reflect the above changes.

Signed-off-by: Nic Cope <negz@rk0n.org>
negz added a commit to negz/crossplane-tools that referenced this pull request Oct 17, 2019
crossplane/crossplane#926
crossplane/crossplane#927
crossplane/crossplane-runtime#48

Updates angryjet to reflect the above changes.

Signed-off-by: Nic Cope <negz@rk0n.org>
negz added a commit to negz/crossplane-tools that referenced this pull request Oct 17, 2019
crossplane/crossplane#926
crossplane/crossplane#927
crossplane/crossplane-runtime#48

Updates angryjet to reflect the above changes.

Signed-off-by: Nic Cope <negz@rk0n.org>
@negz negz force-pushed the notsoclassy branch 2 times, most recently from 14372e8 to 3af5221 Compare October 18, 2019 23:41
@upbound-bot
Copy link
Copy Markdown
Collaborator

81% (+0.1%) vs master 81%

@upbound-bot
Copy link
Copy Markdown
Collaborator

81% (+0.1%) vs master 81%

negz added a commit to negz/provider-azure that referenced this pull request Oct 21, 2019
negz added a commit to negz/provider-azure that referenced this pull request Oct 21, 2019
negz added a commit to negz/provider-azure that referenced this pull request Oct 21, 2019
@negz negz mentioned this pull request Oct 21, 2019
11 tasks
negz added a commit to negz/provider-azure that referenced this pull request Oct 21, 2019
@negz negz marked this pull request as ready for review October 21, 2019 22:04
@upbound-bot
Copy link
Copy Markdown
Collaborator

81% (+0.1%) vs master 81%

negz added a commit to negz/provider-azure that referenced this pull request Oct 21, 2019
@negz negz changed the title Remove support for portable resource classes and resource claim parameters Support Simple Resource Class Selection Oct 22, 2019
negz added a commit to negz/provider-azure that referenced this pull request Oct 22, 2019
@upbound-bot
Copy link
Copy Markdown
Collaborator

81% (+0.1%) vs master 81%

@upbound-bot
Copy link
Copy Markdown
Collaborator

81% (+0.1%) vs master 81%

@upbound-bot
Copy link
Copy Markdown
Collaborator

81% (+0.1%) vs master 81%

negz added a commit to negz/crossplane-tools that referenced this pull request Oct 23, 2019
crossplane/crossplane#926
crossplane/crossplane#927
crossplane/crossplane-runtime#48

Updates angryjet to reflect the above changes.

Signed-off-by: Nic Cope <negz@rk0n.org>
@negz negz requested a review from hasheddan October 23, 2019 05:18
@upbound-bot
Copy link
Copy Markdown
Collaborator

81% (+0.1%) vs master 81%

Copy link
Copy Markdown
Member

@hasheddan hasheddan left a comment

Choose a reason for hiding this comment

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

LGTM!

negz added a commit to negz/provider-azure that referenced this pull request Oct 23, 2019
@hasheddan hasheddan mentioned this pull request Oct 23, 2019
4 tasks
@displague displague mentioned this pull request Oct 23, 2019
4 tasks
negz added a commit to negz/provider-azure that referenced this pull request Oct 23, 2019
@upbound-bot
Copy link
Copy Markdown
Collaborator

81% (+0.1%) vs master 81%

negz and others added 7 commits October 23, 2019 15:00
Signed-off-by: Nic Cope <negz@rk0n.org>
This also removes the default class controllers, and standardises the resource
claim print columns, a few of which were not functional.

Signed-off-by: Nic Cope <negz@rk0n.org>
This adds the new resource class selector, and also switches to our own
connection secret kind.

Signed-off-by: Nic Cope <negz@rk0n.org>
This was already a problem - we'd schedule workloads to a cluster that did not
specify a connection secret (and was thus unusable by Crossplane). Now that
connection secrets are pointer types this resulted in a nil pointer in the tests
which highlighted the fact that we should handle this condition.

Signed-off-by: Nic Cope <negz@rk0n.org>
Signed-off-by: Nic Cope <negz@rk0n.org>
Signed-off-by: Nic Cope <nicc@rk0n.org>

Co-Authored-By: Daniel Mangum <31777345+hasheddan@users.noreply.github.com>
@upbound-bot
Copy link
Copy Markdown
Collaborator

81% (+0.1%) vs master 81%

@negz negz merged commit 518648b into crossplane:master Oct 23, 2019
@negz negz deleted the notsoclassy branch October 23, 2019 22:13
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