Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
gosec scan fixes (#42)
Browse files Browse the repository at this point in the history
* use official docker collector (#8)

* use official docker collector

* remove references to old collector image

* update vendor

* use develop collector image for now

this really needs to be a param

* lint updates

don't run maligned checks
increase deadline

* set kubernetes collector flag

* use latest tag for collector image

this should still be a param

* bump version (#12)

* bump version

* update maintainer

* Stash to GitHub (#13)

* update maintainer

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* Develop (#9)

* use official docker collector (#8)

* use official docker collector

* remove references to old collector image

* update vendor

* use develop collector image for now

this really needs to be a param

* lint updates

don't run maligned checks
increase deadline

* set kubernetes collector flag

* use latest tag for collector image

this should still be a param

* bump version (#12)

* bump version

* update maintainer

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* Dev-40217 support to set log levels and improve (#14)

* update maintainer

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* Develop (#9)

* use official docker collector (#8)

* use official docker collector

* remove references to old collector image

* update vendor

* use develop collector image for now

this really needs to be a param

* lint updates

don't run maligned checks
increase deadline

* set kubernetes collector flag

* use latest tag for collector image

this should still be a param

* bump version (#12)

* bump version

* update maintainer

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* bump version

* lint fixes

* ugh. lint.

* don't shadow restResponse

* Dev 42060 improve the branch of the lm sdk (#17)

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-42060: Don't create collector device for Kubernetes Clusters

* DEV-42060: Don't create collector device for Kubernetes Clusters

* Update Dockerfile

* Dev 48974 upgrade golang 1.9 to 1.11 (#19)

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-42060: Don't create collector device for Kubernetes Clusters

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV 49511 allow user to custom the collector group (#20)

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-42060: Don't create collector device for Kubernetes Clusters

* DEV-48885 collectorset controller doesn't update failover collectors when increasing replica count

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* Develop (#22)

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-42060: Don't create collector device for Kubernetes Clusters

* DEV-48885 collectorset controller doesn't update failover collectors when increasing replica count

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* DEV-49251 add panic error handle logic, print the error log

* DEV-49251 add unit test

* DEV-49251 improve panic error

* DEV-50734 Case insensitive

* DEV-50734  Improve collector size conversion to lowercase

* DEV-41301 Upgrade the go sdk to v2

* DEV-49251 Improve panic error

* DEV-41301 Upgrade the go sdk to v2

* DEV-50494 Improve the custom properties name

* DEV-50734 Improve the log

* DEV-49251 Improve the log and comments

* DEV-49251 Improve the comments

* Modify the format by Travis CI check

* DEV-51677 Improve the code according to github comments

* Develop (#25)

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-42060: Don't create collector device for Kubernetes Clusters

* DEV-48885 collectorset controller doesn't update failover collectors when increasing replica count

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* DEV-49251 add panic error handle logic, print the error log

* DEV-49251 add unit test

* DEV-49251 improve panic error

* DEV-50734 Case insensitive

* DEV-50734  Improve collector size conversion to lowercase

* DEV-41301 Upgrade the go sdk to v2

* DEV-49251 Improve panic error

* DEV-41301 Upgrade the go sdk to v2

* DEV-50494 Improve the custom properties name

* DEV-50734 Improve the log

* DEV-49251 Improve the log and comments

* DEV-49251 Improve the comments

* Modify the format by Travis CI check

* DEV-51677 Improve the code according to github comments

* Develop (#23)

* use official docker collector (#8)

* use official docker collector

* remove references to old collector image

* update vendor

* use develop collector image for now

this really needs to be a param

* lint updates

don't run maligned checks
increase deadline

* set kubernetes collector flag

* use latest tag for collector image

this should still be a param

* bump version (#12)

* bump version

* update maintainer

* Stash to GitHub (#13)

* update maintainer

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* Develop (#9)

* use official docker collector (#8)

* use official docker collector

* remove references to old collector image

* update vendor

* use develop collector image for now

this really needs to be a param

* lint updates

don't run maligned checks
increase deadline

* set kubernetes collector flag

* use latest tag for collector image

this should still be a param

* bump version (#12)

* bump version

* update maintainer

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* Dev-40217 support to set log levels and improve (#14)

* update maintainer

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* Develop (#9)

* use official docker collector (#8)

* use official docker collector

* remove references to old collector image

* update vendor

* use develop collector image for now

this really needs to be a param

* lint updates

don't run maligned checks
increase deadline

* set kubernetes collector flag

* use latest tag for collector image

this should still be a param

* bump version (#12)

* bump version

* update maintainer

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* bump version

* lint fixes

* ugh. lint.

* don't shadow restResponse

* Dev 42060 improve the branch of the lm sdk (#17)

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-42060: Don't create collector device for Kubernetes Clusters

* DEV-42060: Don't create collector device for Kubernetes Clusters

* Update Dockerfile

* Dev 48974 upgrade golang 1.9 to 1.11 (#19)

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-42060: Don't create collector device for Kubernetes Clusters

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV 49511 allow user to custom the collector group (#20)

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-42060: Don't create collector device for Kubernetes Clusters

* DEV-48885 collectorset controller doesn't update failover collectors when increasing replica count

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* Develop (#22)

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-42060: Don't create collector device for Kubernetes Clusters

* DEV-48885 collectorset controller doesn't update failover collectors when increasing replica count

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* DEV-49251 add panic error handle logic, print the error log

* DEV-49251 add unit test

* DEV-49251 improve panic error

* DEV-50734 Case insensitive

* DEV-50734  Improve collector size conversion to lowercase

* DEV-41301 Upgrade the go sdk to v2

* DEV-49251 Improve panic error

* DEV-41301 Upgrade the go sdk to v2

* DEV-50494 Improve the custom properties name

* DEV-50734 Improve the log

* DEV-49251 Improve the log and comments

* DEV-49251 Improve the comments

* Modify the format by Travis CI check

* DEV-51677 Improve the code according to github comments

* DEV-51952 Research http proxy configuration options

* DEV-52044 Add http proxy for collectorset-controller

* DEV-52044 Add http proxy for collectorset-controller

* DEV-52044 Add http proxy for collectorset-controller

* DEV-52044 Add http proxy for collectorset-controller

* DEV-52044 Add http proxy for collectorset-controller

* DEV-52044 Fix the comments

* DEV-52044 Improve the proxy url configuration

* DEV-52044 Improve the proxy url configuration

* DEV-52044 Improve the proxy url configuration

* Develop (#24)

* use official docker collector (#8)

* use official docker collector

* remove references to old collector image

* update vendor

* use develop collector image for now

this really needs to be a param

* lint updates

don't run maligned checks
increase deadline

* set kubernetes collector flag

* use latest tag for collector image

this should still be a param

* bump version (#12)

* bump version

* update maintainer

* Stash to GitHub (#13)

* update maintainer

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* Develop (#9)

* use official docker collector (#8)

* use official docker collector

* remove references to old collector image

* update vendor

* use develop collector image for now

this really needs to be a param

* lint updates

don't run maligned checks
increase deadline

* set kubernetes collector flag

* use latest tag for collector image

this should still be a param

* bump version (#12)

* bump version

* update maintainer

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* Dev-40217 support to set log levels and improve (#14)

* update maintainer

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* Develop (#9)

* use official docker collector (#8)

* use official docker collector

* remove references to old collector image

* update vendor

* use develop collector image for now

this really needs to be a param

* lint updates

don't run maligned checks
increase deadline

* set kubernetes collector flag

* use latest tag for collector image

this should still be a param

* bump version (#12)

* bump version

* update maintainer

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* bump version

* lint fixes

* ugh. lint.

* don't shadow restResponse

* Dev 42060 improve the branch of the lm sdk (#17)

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-42060: Don't create collector device for Kubernetes Clusters

* DEV-42060: Don't create collector device for Kubernetes Clusters

* Update Dockerfile

* Dev 48974 upgrade golang 1.9 to 1.11 (#19)

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-42060: Don't create collector device for Kubernetes Clusters

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV 49511 allow user to custom the collector group (#20)

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-42060: Don't create collector device for Kubernetes Clusters

* DEV-48885 collectorset controller doesn't update failover collectors when increasing replica count

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* Develop (#22)

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-42060: Don't create collector device for Kubernetes Clusters

* DEV-48885 collectorset controller doesn't update failover collectors when increasing replica count

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* DEV-49251 add panic error handle logic, print the error log

* DEV-49251 add unit test

* DEV-49251 improve panic error

* DEV-50734 Case insensitive

* DEV-50734  Improve collector size conversion to lowercase

* DEV-41301 Upgrade the go sdk to v2

* DEV-49251 Improve panic error

* DEV-41301 Upgrade the go sdk to v2

* DEV-50494 Improve the custom properties name

* DEV-50734 Improve the log

* DEV-49251 Improve the log and comments

* DEV-49251 Improve the comments

* Modify the format by Travis CI check

* DEV-51677 Improve the code according to github comments

* DEV-52692 Support proxy for dockerized collector

* DEV-52692 Support proxy for dockerized collector

* Develop (#27)

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-42060: Don't create collector device for Kubernetes Clusters

* DEV-48885 collectorset controller doesn't update failover collectors when increasing replica count

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* DEV-49251 add panic error handle logic, print the error log

* DEV-49251 add unit test

* DEV-49251 improve panic error

* DEV-50734 Case insensitive

* DEV-50734  Improve collector size conversion to lowercase

* DEV-41301 Upgrade the go sdk to v2

* DEV-49251 Improve panic error

* DEV-41301 Upgrade the go sdk to v2

* DEV-50494 Improve the custom properties name

* DEV-50734 Improve the log

* DEV-49251 Improve the log and comments

* DEV-49251 Improve the comments

* Modify the format by Travis CI check

* DEV-51677 Improve the code according to github comments

* DEV-51952 Research http proxy configuration options

* DEV-52044 Add http proxy for collectorset-controller

* DEV-52044 Add http proxy for collectorset-controller

* DEV-52044 Add http proxy for collectorset-controller

* DEV-52044 Add http proxy for collectorset-controller

* DEV-52044 Add http proxy for collectorset-controller

* DEV-52044 Fix the comments

* DEV-52044 Improve the proxy url configuration

* DEV-52044 Improve the proxy url configuration

* DEV-52044 Improve the proxy url configuration

* DEV-52692 Support proxy for dockerized collector

* DEV-52692 Support proxy for dockerized collector

* Develop (#26)

* use official docker collector (#8)

* use official docker collector

* remove references to old collector image

* update vendor

* use develop collector image for now

this really needs to be a param

* lint updates

don't run maligned checks
increase deadline

* set kubernetes collector flag

* use latest tag for collector image

this should still be a param

* bump version (#12)

* bump version

* update maintainer

* Stash to GitHub (#13)

* update maintainer

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* Develop (#9)

* use official docker collector (#8)

* use official docker collector

* remove references to old collector image

* update vendor

* use develop collector image for now

this really needs to be a param

* lint updates

don't run maligned checks
increase deadline

* set kubernetes collector flag

* use latest tag for collector image

this should still be a param

* bump version (#12)

* bump version

* update maintainer

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* Dev-40217 support to set log levels and improve (#14)

* update maintainer

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* Develop (#9)

* use official docker collector (#8)

* use official docker collector

* remove references to old collector image

* update vendor

* use develop collector image for now

this really needs to be a param

* lint updates

don't run maligned checks
increase deadline

* set kubernetes collector flag

* use latest tag for collector image

this should still be a param

* bump version (#12)

* bump version

* update maintainer

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* bump version

* lint fixes

* ugh. lint.

* don't shadow restResponse

* Dev 42060 improve the branch of the lm sdk (#17)

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-42060: Don't create collector device for Kubernetes Clusters

* DEV-42060: Don't create collector device for Kubernetes Clusters

* Update Dockerfile

* Dev 48974 upgrade golang 1.9 to 1.11 (#19)

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-42060: Don't create collector device for Kubernetes Clusters

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV 49511 allow user to custom the collector group (#20)

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-40319: Add new configuration support in helm chart

* DEV-40319: Add new configuration support in helm chart

* DEV-40512: Unify the collector group name standard based on user input

* DEV-40654: different cluster use same collector

* DEV-40799: two collectors can not work in two k8s slave nodes after starting argus and collectorset.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-40746: not existing escalation chain will create collector group successfully but not others.

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-41170: Make the collector group name's casing the same as user defined

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-40217: Support to set log levels and improve logs in argus related projects

* DEV-42060: Don't create collector device for Kubernetes Clusters

* DEV-48885 collectorset controller doesn't update failover collectors when increasing replica count

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-48974 Upgrade Argus from golang 1.9 to 1.11

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-49511 [collectorset-controller] Allow user to select existing Collector Groups for K8s Monitoring

* Develop (#22)

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support specifying an escalation chain for collectors - Argus part

* DEV-39795: Support sp…
  • Loading branch information
9 people authored Jul 1, 2020
1 parent eedc6eb commit 9495c95
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 1 deletion.
45 changes: 45 additions & 0 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
FROM golang:1.14 as api
WORKDIR /go/src/github.com/logicmonitor/k8s-collectorset-controller
RUN apt-get update
RUN apt-get -y install bsdtar
RUN go get github.com/golang/protobuf/protoc-gen-go
RUN curl -L https://github.com/google/protobuf/releases/download/v3.3.0/protoc-3.3.0-linux-x86_64.zip | bsdtar -xf - --strip-components=1 -C /bin bin/protoc \
&& chmod +x /bin/protoc
COPY ./proto ./proto
RUN mkdir api
RUN protoc -I proto proto/api.proto \
--go_out=plugins=grpc:api

FROM golang:1.14-alpine as codegen
RUN apk add --update git
RUN go get github.com/kubernetes/code-generator/cmd/deepcopy-gen || true \
&& cd /go/src/github.com/kubernetes/code-generator \
&& git checkout remotes/origin/release-1.17 \
&& go get -d ./... \
&& go install ./cmd/deepcopy-gen
WORKDIR $GOPATH/src/github.com/logicmonitor/k8s-collectorset-controller
COPY ./ ./
RUN deepcopy-gen \
--go-header-file="hack/boilerplate.go.txt" \
--input-dirs="github.com/logicmonitor/k8s-collectorset-controller/pkg/apis/v1alpha1" \
--bounding-dirs "github.com/logicmonitor/k8s-collectorset-controller/pkg/apis/v1alpha1" \
--output-file-base zz_generated.deepcopy

FROM golang:1.14 as build
WORKDIR $GOPATH/src/github.com/logicmonitor/k8s-collectorset-controller
COPY --from=codegen $GOPATH/src/github.com/logicmonitor/k8s-collectorset-controller ./
ARG VERSION
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o /collectorset-controller -ldflags "-X \"github.com/logicmonitor/k8s-collectorset-controller/pkg/constants.Version=${VERSION}\""

FROM alpine:3.6
LABEL maintainer="LogicMonitor <[email protected]>"
RUN apk --update add ca-certificates \
&& rm -rf /var/cache/apk/* \
&& rm -rf /var/lib/apk/*
WORKDIR /app
COPY --from=api /go/src/github.com/logicmonitor/k8s-collectorset-controller/api/* /tmp/
COPY --from=codegen /go/src/github.com/logicmonitor/k8s-collectorset-controller/pkg/apis/v1alpha1/zz_generated.deepcopy.go /tmp/
COPY --from=build /collectorset-controller /bin

ENTRYPOINT ["collectorset-controller"]
CMD ["watch"]
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@ all:
docker run --rm -v "$(shell pwd)":/out --entrypoint=cp $(NAMESPACE)/$(REPOSITORY):v2latest /tmp/api.pb.go /out/api
docker run --rm -v "$(shell pwd)":/out --entrypoint=cp $(NAMESPACE)/$(REPOSITORY):v2latest /tmp/zz_generated.deepcopy.go /out/pkg/apis/v1alpha1/
docker tag $(NAMESPACE)/$(REPOSITORY):v2latest $(NAMESPACE)/$(REPOSITORY):$(VERSION)

dev:
docker build --build-arg VERSION=$(VERSION) -t $(NAMESPACE)/$(REPOSITORY):v2latest -f Dockerfile.dev .
docker run --rm -v "$(shell pwd)":/out --entrypoint=cp $(NAMESPACE)/$(REPOSITORY):v2latest /tmp/api.pb.go /out/api
docker run --rm -v "$(shell pwd)":/out --entrypoint=cp $(NAMESPACE)/$(REPOSITORY):v2latest /tmp/zz_generated.deepcopy.go /out/pkg/apis/v1alpha1/
docker tag $(NAMESPACE)/$(REPOSITORY):v2latest $(NAMESPACE)/$(REPOSITORY):$(VERSION)
5 changes: 4 additions & 1 deletion pkg/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ func (srv *Server) Run() {
if err != nil {
log.Fatalf("Failed to listen: %v", err)
}
s.Serve(lis) // nolint: errcheck, gosec
serr := s.Serve(lis) // nolint: errcheck, gosec
if serr != nil {
log.Errorf("Failed to start gRPC server")
}
}

// CollectorID implements api.CollectorSetControllerServer. It returns the
Expand Down

0 comments on commit 9495c95

Please sign in to comment.