From d58640844527297c6e4d21deeb48ae5a0c4c86ff Mon Sep 17 00:00:00 2001 From: Alan Moran Date: Thu, 25 Jul 2024 13:42:44 +0200 Subject: [PATCH] Switch autoscaler components from HTTPS to HTTP --- jobs/eventgenerator/templates/eventgenerator.yml.erb | 2 +- jobs/golangapiserver/templates/apiserver.yml.erb | 4 ++-- jobs/operator/templates/operator.yml.erb | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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..21ff9269b9 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,7 +122,7 @@ 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") %> 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') %>"