-
Notifications
You must be signed in to change notification settings - Fork 43
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
Conversation
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"), | ||
}, | ||
} | ||
|
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.
Any reason you added this here, and not at the end (just before the declaration of ResourceMapList
)?
"__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"), |
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.
Should this be run through gofmt
again?
@@ -1,524 +0,0 @@ | |||
/* |
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.
Did you mean to delete this file?
Looks like this is superseded by #246... |
No description provided.