3scale-ops / aws-nlb-helper-operator

Simple operator to manage AWS NLB attributes using Kubernetes Service object annotations
Apache License 2.0
24 stars 2 forks source link

Parse annotation booleans using strconv #4

Closed raelga closed 4 years ago

raelga commented 4 years ago

Replaces the == true string with a strconv.ParseBool to allow all boolean string variations:

ParseBool returns the boolean value represented by the string. It accepts 1, t, T, TRUE, true, True, 0, f, F, FALSE, false, False. Any other value returns an error.