This repository was archived by the owner on Nov 22, 2024. It is now read-only.
Encode the protocol version in the CRD#1097
Merged
Merged
Conversation
| } | ||
| .apiextensions() | ||
| .v1beta1() | ||
| .customResourceDefinitions() |
Contributor
There was a problem hiding this comment.
Does this need cluster admin / wide permissions?
Contributor
There was a problem hiding this comment.
It's probably a good idea to have a yaml that specifies exactly which permissions CLI needs to function, similar to https://github.com/lightbend/cloudflow-helm-charts/blob/main/cloudflow/templates/02-cloudflow-operator-clusterrole.yaml, what do you think?
Contributor
Author
There was a problem hiding this comment.
that's a good idea, have to think how to produce it, maybe running the cli from within the cluster and checking permissions.
fa0d999 to
d264abe
Compare
| val ProtocolVersion = "6" | ||
|
|
||
| val SupportedApplicationDescriptorVersion = 6 | ||
| val ApplicationDescriptorVersion = 6 |
Contributor
Author
There was a problem hiding this comment.
even ApplicationDescriptor ?
Contributor
There was a problem hiding this comment.
Oh wait. No you are right, this stays the same.
d264abe to
16afffe
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Move the version validation to the CRD from the ConfigMap.