TritonDataCenter / sdc-imgapi

SDC internal API for managing OS images
Mozilla Public License 2.0
5 stars 18 forks source link

TRITON-2287 update sdc-imgapi base image to triton-origin-x86_64-21.4.0 #45

Closed bahamat closed 2 years ago

bahamat commented 2 years ago

Ok, we have a bit going on here.

First, the Makefile and package.json have been updated to build on 21.4.0 and with no git:// URLs.

Secondly, I've removed stud in favor of using haproxy only. Stud is no longer available in pkgsrc-2021Q4 so it was either use haproxy or go for hitch, and every other service using stud has opted to just remove that layer and to TLS directly in haproxy.

Haproxy/stud/tls are only used in standalone mode. It's harder to just toss up a standalone instance (you'd think it would be easier, but...) so to test this I've taken the haproxy config and put it on a base 21.4 instance with haproxy pointed at that config and a very basic nginx for a back end. It works, terminates connections, and proxies to the back end. This should be ok. The next time I create a standalone instance I can work out any issues that there might be.