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

feat(CRDs): cluster-level GET for Namespaced CRDs #366

Merged
merged 1 commit into from
Dec 5, 2018
Merged

Conversation

silasbw
Copy link
Contributor

@silasbw silasbw commented Dec 5, 2018

No description provided.

if (manifest.spec.scope === 'Namespaced') {
const clusterPath = `/apis/${group}/${version}/${name}`
spec.paths[clusterPath] = {
get: {

Choose a reason for hiding this comment

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

only get is supported for cluster-level?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I think so.

@JacopoDaeli JacopoDaeli merged commit 9adcc04 into master Dec 5, 2018
@JacopoDaeli
Copy link
Contributor

Sorry merged this for mistake. I wanted to a'd instead. Do you want me to revert and recreate the PR? It looks good to me btw tho.

@silasbw silasbw deleted the cluster0 branch December 5, 2018 22:22
@silasbw
Copy link
Contributor Author

silasbw commented Dec 5, 2018

All good.

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.

None yet

3 participants