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 labelling docs unclear due to ignored var #1671

Closed
zeemy23 opened this issue Jun 14, 2023 · 5 comments · Fixed by #1836
Closed

asm labelling docs unclear due to ignored var #1671

zeemy23 opened this issue Jun 14, 2023 · 5 comments · Fixed by #1836
Labels
bug Something isn't working

Comments

@zeemy23
Copy link

zeemy23 commented Jun 14, 2023

TL;DR

https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/blob/master/modules/asm/README.md

These docs guide the user to add the mesh_id label in a way that this PR from 2021 discontinued support for.

#1061

I can add a PR that clarifies the readme for future users. We were pulling our hair out trying to figure out why the label was getting ignored.

Expected behavior

following asm docs results in asm functionality

Observed behavior

ignored labels causes much strife if following docs

Terraform Configuration

module "gke" {
...
  cluster_resource_labels = { "mesh_id" : "proj-${data.google_project.project.number}" }
...
}

Terraform Version

all versions.

Additional information

No response

@zeemy23 zeemy23 added the bug Something isn't working label Jun 14, 2023
@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the Stale label Aug 13, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 21, 2023
@legal90
Copy link
Contributor

legal90 commented Dec 28, 2023

That issue is still actual. Should it be reopened? cc @apeabody , @ferrarimarco

Both ASM tf module documentation, as wells as the official Google docs are saying that mesh_id label has to be added explicitly to the cluster:

But, as @zeemy23 said above, this label is ignored on gke tf modules:

lifecycle {
ignore_changes = [node_pool, initial_node_count, resource_labels["asmv"], resource_labels["mesh_id"]]
}

It was added by #1061.

@apeabody apeabody removed the Stale label Dec 28, 2023
@apeabody
Copy link
Contributor

That issue is still actual. Should it be reopened? cc @apeabody , @ferrarimarco

Both ASM tf module documentation, as wells as the official Google docs are saying that mesh_id label has to be added explicitly to the cluster:

But, as @zeemy23 said above, this label is ignored on gke tf modules:

lifecycle {
ignore_changes = [node_pool, initial_node_count, resource_labels["asmv"], resource_labels["mesh_id"]]
}

It was added by #1061.

Removed the stale tag and reopened. cc @ferrarimarco who was working on the ASM sub-module.

@apeabody apeabody reopened this Dec 28, 2023
@ferrarimarco
Copy link
Contributor

Hi! Feel free to propose a PR. I'll review it :)

Thanks!

@legal90
Copy link
Contributor

legal90 commented Jan 4, 2024

@ferrarimarco Thank you! Here is the PR: #1836

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
4 participants