Skip to content

Conversation

@christopher-hendrich-sada
Copy link
Contributor

This is to align the tf module with the install_asm script as used for Citadel to MeshCA in the official documentation: https://cloud.google.com/service-mesh/docs/ca-migration

It adds the --revision_name flag, so we can deploy a second ASM control plane of the same ASM version using a unique revision name.
It also lets you deploy ASM without specifying the maps for --ca_certs. If you only specify, --ca citadel, it will now deploy successfully.

@comment-bot-dev
Copy link

comment-bot-dev commented Jul 12, 2021

Thanks for the PR! 🚀
✅ Lint checks have passed.

@morgante morgante changed the title Adding CA option without providing CA_CERT maps and adding revision_name flag feat(asm): Adding CA option without providing CA_CERT maps and adding revision_name flag Jul 16, 2021
Copy link
Member

@bharathkkb bharathkkb 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 the PR @christopherhendrich
Some lint related issues #952 (comment) here
I assume we can also remove the bash CA_COMMAND* since with validation only all or none will be allowed?

@christopher-hendrich-sada
Copy link
Contributor Author

Hi @bharathkkb,
this is my first PR, so please bear with me, I will be a bit slow. I am going through the failed checks. I fixed the whitespacing.
I have to figure out whats going on in the terraform check.

In regards to the CA_COMMAND, do you mean line 182-186 in install_asm.sh? I think that is still needed, because you want to be able to run just the '--ca citadel' flag or the flag and the ca_certs maps or no --ca flag to use meshca.

…g {} around single digits numbers for line 24-32, adding echos for CA variables.
…aform-google-kubernetes-engine into ca-and-rev-name
@bharathkkb bharathkkb merged commit 64b782c into terraform-google-modules:master Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants