-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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: Pull in the MeshCA config proto from grpc-proto repo. #3807
Conversation
6df6cb7
to
d20f84a
Compare
I have excluded the |
regenerate.sh
Outdated
"https://github.com/envoyproxy/protoc-gen-validate" | ||
) | ||
for repo in ${ENVOY_API_REPOS[@]}; do | ||
dirname=`basename ${repo}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use $(
instead of backticks please.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
regenerate.sh
Outdated
MAPPINGS=( | ||
"grpc/service_config/service_config.proto=/internal/proto/grpc_service_config" | ||
"envoy/config/core/v3/config_source.proto=github.com/envoyproxy/go-control-plane/envoy/config/core/v3" | ||
) | ||
OPTS="" | ||
for i in "${MAPPINGS[@]}" | ||
do | ||
OPTS+="M$i," | ||
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this extra complexity is a good idea. Just write it literally:
OPTS=Mgrpc/service_config/service_config.proto=/internal/proto/grpc_service_config,\
Menvoy/config/core/v3/config_source.proto=github.com/envoyproxy/go-control-plane/envoy/config/core/v3
(Also, the code above leaves a trailing comma which apparently works now, but doesn't seem like a good thing to be doing.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review.
regenerate.sh
Outdated
"https://github.com/envoyproxy/protoc-gen-validate" | ||
) | ||
for repo in ${ENVOY_API_REPOS[@]}; do | ||
dirname=`basename ${repo}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
regenerate.sh
Outdated
MAPPINGS=( | ||
"grpc/service_config/service_config.proto=/internal/proto/grpc_service_config" | ||
"envoy/config/core/v3/config_source.proto=github.com/envoyproxy/go-control-plane/envoy/config/core/v3" | ||
) | ||
OPTS="" | ||
for i in "${MAPPINGS[@]}" | ||
do | ||
OPTS+="M$i," | ||
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
No description provided.