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

meshca: Don't use the config proto from grpc-proto #4056

Merged
merged 1 commit into from
Nov 23, 2020

Conversation

easwars
Copy link
Contributor

@easwars easwars commented Nov 21, 2020

No description provided.

Copy link
Member

@dfawley dfawley left a comment

Choose a reason for hiding this comment

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

Thanks!

echo "git clone ${repo}"
git clone --quiet ${repo} ${WORKDIR}/${dirname}
done

# Pull in the MeshCA service proto.
Copy link
Member

Choose a reason for hiding this comment

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

What will it take to do this next? We should really not be generating .pb.gos from protos outside grpc-proto at all.

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, this is a weird case. Ideally, the MeshCA protos should have been part of googleapis or some public repo like that.

When (and if) we have to get this back, we probably might directly depend on the pb.gos from the istio repo. But I'm not sure if that is any better.

Copy link
Member

Choose a reason for hiding this comment

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

When (and if) we have to get this back, we probably might directly depend on the pb.gos from the istio repo. But I'm not sure if that is any better.

It is better, since it means:

  1. we don't have to deal with their proto's dependencies, which may expand over time, and
  2. we don't risk a panic if multiple generated versions of this proto are imported by one program.

We should be actively looking to remove this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Filed an issue to track this: #4058

@easwars easwars merged commit 6d0f011 into grpc:master Nov 23, 2020
@easwars easwars deleted the meshca_proto_update branch November 23, 2020 17:44
davidkhala pushed a commit to Hyperledger-TWGC/grpc that referenced this pull request Dec 7, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants