Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Obtain scope of CRD instances from its manifest as a fallback #1876

Merged

Conversation

2opremio
Copy link
Contributor

Before this, we were only obtaining the scope of CRD instances from the cluster.

However, this wasn't good enough if the Git repository contained both the CRD manifest and instance manifests.

Fixes #1825

@2opremio 2opremio requested a review from squaremo March 28, 2019 17:04
Copy link
Member

@squaremo squaremo left a comment

Choose a reason for hiding this comment

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

I think there's a mistake; other than that, a suggestion for rearranging more pleasefully (at least to me :-)

cluster/kubernetes/namespacer.go Show resolved Hide resolved
cluster/kubernetes/manifests.go Show resolved Hide resolved
@2opremio 2opremio force-pushed the 1825-fix-creating-crd-and-instances branch 5 times, most recently from 73550eb to b20944d Compare March 29, 2019 13:59
Copy link
Member

@squaremo squaremo left a comment

Choose a reason for hiding this comment

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

Good to go; thanks Fons 🥝

Before this, we were only obtaining the scope of CRD instances from the cluster.

However, this wasn't good enough if the Git repository contained both the CRD
manifest and instance manifests.
@2opremio 2opremio force-pushed the 1825-fix-creating-crd-and-instances branch from b20944d to ceac801 Compare April 1, 2019 13:06
@2opremio
Copy link
Contributor Author

2opremio commented Apr 1, 2019

I case you are wondering about the last commit amendment, I just renamed ResourceDefinitionScopes to ResourceScopes

@2opremio 2opremio merged commit fea9167 into fluxcd:master Apr 1, 2019
@2opremio 2opremio deleted the 1825-fix-creating-crd-and-instances branch April 1, 2019 13:19
@ghost
Copy link

ghost commented Apr 11, 2019

K

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

Successfully merging this pull request may close these issues.

2 participants