lib/harbr/next/job.rb in harbr-0.1.13 vs lib/harbr/next/job.rb in harbr-0.1.14

- old
+ new

@@ -23,12 +23,11 @@ config = { "http" => { "routers" => { "traefik-dashboard" => { "rule" => "Host(`traefik.harbr.zero2one.ee`)", - "service" => "api@internal", - "tls" => {} # Enable TLS for the dashboard + "service" => "api@internal" } }, "services" => {} } } @@ -38,13 +37,10 @@ name = container.name.gsub(".", "-") # Create the router with TLS enabled config["http"]["routers"]["#{name}-router"] = { "rule" => "Host(`#{container.host_header}`)", - "service" => "#{name}-service", - "tls" => { - "certResolver" => "letsencrypt" # Specify the certificate resolver for TLS - } + "service" => "#{name}-service" } # Create the service config["http"]["services"]["#{name}-service"] = { "loadBalancer" => {