Skip to content

Update documentation to new Custom Resource Definitions#203

Merged
dadjeibaah merged 3 commits into
masterfrom
d/rename-tpr-to-crd
Jan 5, 2018
Merged

Update documentation to new Custom Resource Definitions#203
dadjeibaah merged 3 commits into
masterfrom
d/rename-tpr-to-crd

Conversation

@dadjeibaah
Copy link
Copy Markdown
Contributor

There is still some documentation that still references the old ThirdPartyResource APIs. This PR fixes theses references and updates any links that referred to the old k8s TPR API.

@dadjeibaah dadjeibaah self-assigned this Jan 3, 2018
@dadjeibaah dadjeibaah requested a review from siggy January 3, 2018 19:21
Copy link
Copy Markdown
Member

@siggy siggy left a comment

Choose a reason for hiding this comment

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

Thanks for doing this!

If a user has a k8s cluster <1.8, is it possible they'll still need to configure a ThirdPartyResource rather than a CustomResourceDefinition? If so, consider keeping mention of the old stuff.

@siggy
Copy link
Copy Markdown
Member

siggy commented Jan 3, 2018

for reference: #183

@dadjeibaah
Copy link
Copy Markdown
Contributor Author

Good point. I will mention that in the Readme. Should I also create a separate yml for k8s environments that are still using ThirdPartyResources?

@siggy
Copy link
Copy Markdown
Member

siggy commented Jan 3, 2018

Yeah, I'd keep everything folks need for pre-1.8 k8s.

@siggy siggy mentioned this pull request Jan 5, 2018
Copy link
Copy Markdown
Member

@siggy siggy left a comment

Choose a reason for hiding this comment

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

one nit and then :shipit: thanks!

Comment thread k8s-daemonset/k8s/linkerd-rbac-beta.yml Outdated
verbs: ["get", "watch", "list"]
---
# grant namerd permisisons to third party resources for dtab storage
# grant namerd permissions to custom resource definitions for dtab storage
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

since the contents of this file are identical to linkerd-rbac-beta-legacy.yml, i'd say just drop that other file, and update this comment to call out TPR for k8s <1.8, CRD for >=1.8

@dadjeibaah dadjeibaah merged commit 622581f into master Jan 5, 2018
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.

2 participants