6 Commits

Author SHA1 Message Date
dandds
27a0569a7e HTTP -> HTTPS upgrade redirects for the staging sites.
There may be a cleaner way to configure this with Kubernetes. For now,
we expose port 80 on the load balancers and let NGINX redirect that
traffic to the HTTPS version of the site.
2019-08-02 15:30:37 -04:00
dandds
e5c360452c Add SSL/TLS config for staging sites.
This presumes the existence of TLS kubernetes secrets available in both
clusters. It adds NGINX config for SSL termination and the necessary k8s
config to write the certificate and private key to the NGINX container.
2019-08-02 15:01:56 -04:00
dandds
1577312fb8 Add htpwasswd for basic auth on login-dev.
Add the k8s secret and volume mount for the htpasswd file.
2019-08-02 15:01:56 -04:00
dandds
f3e032fc03 Finalize CD config and add k8s job for migrations.
Add CircleCI config for both CSPs to:
- build the Docker image and push it to the registry
- run a short-lived k8s job to apply migrations and see data
- update the images for the Flask pods and rq worker pods
2019-07-31 11:58:43 -04:00
dandds
4c70d59c5d Add k8s networking.
- bind static azure IPs
- Add load balancers for both CSPs
2019-07-31 11:58:08 -04:00
dandds
52829a1236 Add additional k8s config for AWS and Azure.
- remove unused k8s environment config
- experimental config for azure and aws
- use nginx for proxy and add rq worker pod
2019-07-31 11:57:24 -04:00