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

Add AnthosL4LB monitored resource type #245

Closed
wants to merge 2 commits into from
Closed

Add AnthosL4LB monitored resource type #245

wants to merge 2 commits into from

Conversation

courageJ
Copy link
Contributor

No description provided.

Comment on lines +80 to +90
var AnthosL4LBMap = ResourceMap{
Type: "anthos_l4lb",
LabelMap: map[string]labelTranslation{
ProjectIDLabel: constValue("project_id"),
KubernetesLocationLabel: constValue("location"),
"__meta_kubernetes_service_annotation_anthos_l4lb_kind": constValue("kind"),
"__meta_kubernetes_service_annotation_anthos_l4lb_group_name": constValue("group_name"),
"__meta_kubernetes_service_annotation_anthos_l4lb_hostname": constValue("hostname"),
},
}

Copy link
Member

Choose a reason for hiding this comment

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

Any reason you added this here, and not at the end (just before the declaration of ResourceMapList)?

Comment on lines +85 to +87
"__meta_kubernetes_service_annotation_anthos_l4lb_kind": constValue("kind"),
"__meta_kubernetes_service_annotation_anthos_l4lb_group_name": constValue("group_name"),
"__meta_kubernetes_service_annotation_anthos_l4lb_hostname": constValue("hostname"),
Copy link
Member

Choose a reason for hiding this comment

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

Should this be run through gofmt again?

@@ -1,524 +0,0 @@
/*
Copy link
Member

Choose a reason for hiding this comment

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

Did you mean to delete this file?

@igorpeshansky
Copy link
Member

Looks like this is superseded by #246...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants