Skip to content

Commit

Permalink
Switch autoscaler components from HTTPS to HTTP
Browse files Browse the repository at this point in the history
  • Loading branch information
bonzofenix committed Jul 25, 2024
1 parent a1167a2 commit f6d8da4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion jobs/eventgenerator/templates/eventgenerator.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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') %>"
Expand Down
8 changes: 4 additions & 4 deletions jobs/golangapiserver/templates/apiserver.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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') %>"
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion jobs/operator/templates/operator.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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') %>"
Expand Down

0 comments on commit f6d8da4

Please sign in to comment.