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

Asm overlay path #921

Merged
merged 8 commits into from
Jun 8, 2021

Conversation

Pega88
Copy link
Contributor

@Pega88 Pega88 commented Jun 7, 2021

Similar to the fix @ameer00 and I made for KEY_FILE_COMMAND_SNIPPET to add the full path to the service account key file, the CUSTOM_OVERLAYS_COMMAND also needs the full path since the script generating the command is in a different location from where it is used, so it will not resolve relative paths correctly.

@Pega88 Pega88 requested review from bharathkkb, Jberlinsky and a team as code owners June 7, 2021 16:56
@comment-bot-dev
Copy link

comment-bot-dev commented Jun 7, 2021

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

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
Looks like the converge step is failing
I believe this is due to CUSTOM_OVERLAYS_COMMAND becoming CUSTOM_OVERLAYS_COMMAND is --custom_overlay /workspace/test/fixtures/simple_zonal_with_asm/none although there are none specified

 install_asm_1.9 --verbose --project_id ci-gke-asm-... --cluster_name simple-zonal-asm-cluster-...--cluster_location us-central1-a --mode install  --option envoy-access-log --custom_overlay /workspace/test/fixtures/simple_zonal_with_asm/none --output_dir ./simple-zonal-asm-cluster-...-outdir  --enable_cluster_roles --enable_cluster_labels --enable_gcp_components    
       install_asm_1.9: [ERROR]: Couldn't find yaml file /workspace/test/fixtures/simple_zonal_with_asm/none.
       + cleanup
       + rm -rf /tmp/kubectl_wrapper_27218_27705

@Pega88
Copy link
Contributor Author

Pega88 commented Jun 8, 2021

@bharathkkb let me know if you need other changes, thnx!

@bharathkkb bharathkkb merged commit 5d3dc52 into terraform-google-modules:master Jun 8, 2021
CPL-markus pushed a commit to WALTER-GROUP/terraform-google-kubernetes-engine that referenced this pull request Jul 15, 2024
* use absolute path for overlay files similar to service account key file

* fix for multiple files

* fix for multiple files

* fix for multiple files

* fix for multiple files

* fix for multiple files

* fix for none

Co-authored-by: Bharath KKB <bharathkrishnakb@gmail.com>
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.

None yet

3 participants