diff --git a/libraries/google_container_cluster.rb b/libraries/google_container_cluster.rb index 558d3817c..3f3130cdf 100644 --- a/libraries/google_container_cluster.rb +++ b/libraries/google_container_cluster.rb @@ -194,13 +194,6 @@ def has_resource_labels? true end - def has_kubernetes_dashboard_disabled? - return false if !defined?(@addons_config.kubernetes_dashboard) - return false if @addons_config.kubernetes_dashboard.to_h.empty? - return true if @addons_config.kubernetes_dashboard.to_h=={ 'disabled': true } - false - end - def has_basic_authorization? return false if @master_auth.username.nil? and @master_auth.password.nil? true