~hokiegeek/hg-tea

8c36c3d55321b974755e95db843fdefb1673a72a — HokieGeek 9 months ago 1902ea4 9.16.5
Minor tweaks to the deployment scripts
4 files changed, 3 insertions(+), 60 deletions(-)

M package.json
M prod/ansible.yml
D prod/gcp.yml
R prod/{proxy-tea.conf.j2 => proxy-tea.conf}
M package.json => package.json +1 -1
@@ 1,6 1,6 @@
{
  "name": "hg-tea",
  "version": "9.16.4",
  "version": "9.16.5",
  "license": "MIT",
  "angular-cli": {},
  "scripts": {

M prod/ansible.yml => prod/ansible.yml +2 -2
@@ 8,8 8,8 @@
          state: directory
        become: yes
      - name: tea | Add the proxy config
        template:
          src: proxy-tea.conf.j2
        copy:
          src: proxy-tea.conf
          dest: /etc/nginx/conf.d/proxy-tea.conf
          mode: 644
        become: yes

D prod/gcp.yml => prod/gcp.yml +0 -57
@@ 1,57 0,0 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: hgnet-tea
  annotations:
    kubernetes.io/ingress.global-static-ip-name: hgnet-tea-ip
    nginx.ingress.kubernetes.io/rewrite-target: /
spec:
  rules:
  - host: tea.hokiegeek.net
    http:
      paths:
      - path: /*
        backend:
          serviceName: hgnet-tea
          servicePort: 80
  - host: tea.hokigeek.net
    http:
      paths:
      - path: /*
        backend:
          serviceName: hgnet-tea
          servicePort: 80
---
apiVersion: v1
kind: Service
metadata:
  name: hgnet-tea
spec:
  type: NodePort
  ports:
  - port: 80
    targetPort: 80
    name: hgnet-tea
  selector:
    app: hgnet-tea
---
apiVersion: v1
kind: ReplicationController
metadata:
  name: hgnet-tea
spec:
  replicas: 1
  selector:
    app: hgnet-tea
  template:
    metadata:
      labels:
        app: hgnet-tea
    spec:
      containers:
      - name: hgnet-tea
        image: registry.gitlab.com/hokiegeek.net/tea:latest
        imagePullPolicy: Always
        ports:
        - containerPort: 80
          name: hgnet-tea

R prod/proxy-tea.conf.j2 => prod/proxy-tea.conf +0 -0