diff --git a/jobs/eventgenerator/templates/eventgenerator.yml.erb b/jobs/eventgenerator/templates/eventgenerator.yml.erb index 1a48a742f7..ac6f55d58a 100644 --- a/jobs/eventgenerator/templates/eventgenerator.yml.erb +++ b/jobs/eventgenerator/templates/eventgenerator.yml.erb @@ -99,7 +99,7 @@ evaluator: trigger_array_channel_size: <%= p("autoscaler.eventgenerator.evaluator.trigger_array_channel_size") %> scalingEngine: - scaling_engine_url: https://<%= p("autoscaler.eventgenerator.scaling_engine.host") %>:<%= p("autoscaler.eventgenerator.scaling_engine.port") %> + scaling_engine_url: http://<%= p("autoscaler.eventgenerator.scaling_engine.host") %>:<%= p("autoscaler.eventgenerator.scaling_engine.port") %> basic_auth: username: "<%=p('autoscaler.eventgenerator.scaling_engine.username') %>" password: "<%=p('autoscaler.eventgenerator.scaling_engine.password') %>" diff --git a/jobs/golangapiserver/templates/apiserver.yml.erb b/jobs/golangapiserver/templates/apiserver.yml.erb index 731c3a0e0c..9acdb7e696 100644 --- a/jobs/golangapiserver/templates/apiserver.yml.erb +++ b/jobs/golangapiserver/templates/apiserver.yml.erb @@ -109,7 +109,7 @@ db: <% end %> scaling_engine: - scaling_engine_url: https://<%= p("autoscaler.apiserver.scaling_engine.host") %>:<%= p("autoscaler.apiserver.scaling_engine.port") %> + scaling_engine_url: http://<%= p("autoscaler.apiserver.scaling_engine.host") %>:<%= p("autoscaler.apiserver.scaling_engine.port") %> basic_auth: username: "<%=p('autoscaler.apiserver.scaling_engine.username') %>" password: "<%=p('autoscaler.apiserver.scaling_engine.password') %>" @@ -122,15 +122,15 @@ scheduler: ca_file: /var/vcap/jobs/golangapiserver/config/certs/scheduler/ca.crt event_generator: - event_generator_url: https://<%= p("autoscaler.apiserver.event_generator.host") %>:<%= p("autoscaler.apiserver.event_generator.port") %> + event_generator_url: http://<%= p("autoscaler.apiserver.event_generator.host") %>:<%= p("autoscaler.apiserver.event_generator.port") %> basic_auth: username: <%= p("autoscaler.apiserver.event_generator.username") %> password: <%= p("autoscaler.apiserver.event_generator.username") %> metrics_forwarder: - metrics_forwarder_url: https://<%= p("autoscaler.apiserver.metrics_forwarder.host") %> + metrics_forwarder_url: http://<%= p("autoscaler.apiserver.metrics_forwarder.host") %> <% if p("autoscaler.apiserver.metrics_forwarder.mtls_host") !="" %> - metrics_forwarder_mtls_url: https://<%= p("autoscaler.apiserver.metrics_forwarder.mtls_host") %> + metrics_forwarder_mtls_url: http://<%= p("autoscaler.apiserver.metrics_forwarder.mtls_host") %> <% end %> scaling_rules: diff --git a/jobs/operator/templates/operator.yml.erb b/jobs/operator/templates/operator.yml.erb index c1c5cf3d80..6cfb7c289d 100644 --- a/jobs/operator/templates/operator.yml.erb +++ b/jobs/operator/templates/operator.yml.erb @@ -85,7 +85,7 @@ scaling_engine_db: cutoff_duration: <%= p("autoscaler.operator.scaling_engine_db.cutoff_duration") %> scaling_engine: - scaling_engine_url: https://<%= p("autoscaler.operator.scaling_engine.host") %>:<%= p("autoscaler.operator.scaling_engine.port") %> + scaling_engine_url: http://<%= p("autoscaler.operator.scaling_engine.host") %>:<%= p("autoscaler.operator.scaling_engine.port") %> sync_interval: <%= p("autoscaler.operator.scaling_engine.sync_interval") %> basic_auth: username: "<%=p('autoscaler.operator.scaling_engine.username') %>"