Skip to content

Commit

Permalink
Move atem/styring to new ansible
Browse files Browse the repository at this point in the history
  • Loading branch information
toresbe committed Jul 12, 2023
1 parent 47f1356 commit cf05f14
Show file tree
Hide file tree
Showing 20 changed files with 284 additions and 462 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ansible.python.interpreterPath": "/bin/python"
}
144 changes: 0 additions & 144 deletions infra/old/k8s-dev/zookeeper.yaml

This file was deleted.

18 changes: 15 additions & 3 deletions infra/old/k8s/atem-control/styring-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: styring-cors
namespace: beta
spec:
headers:
customResponseHeaders:
Access-Control-Allow-Origin: "*"
Access-Control-Allow-Headers: "Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"
Access-Control-Allow-Methods: "POST"
---
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -47,11 +59,11 @@ spec:
entryPoints:
- websecure
routes:
- match: (Host(`frikanalen.no`) || Host(`beta.frikanalen.no`)) && PathPrefix(`/playout`)
- match: (Host(`beta.frikanalen.no`)) && PathPrefix(`/playout`)
kind: Rule
middlewares:
- name: cors
namespace: default
- name: styring-cors
namespace: beta
services:
- kind: Service
name: styring
Expand Down
62 changes: 0 additions & 62 deletions infra/old/k8s/coredns_config.yaml

This file was deleted.

22 changes: 0 additions & 22 deletions infra/old/k8s/monitoring-stream/001-deployment.yaml

This file was deleted.

29 changes: 0 additions & 29 deletions infra/old/k8s/monitoring-stream/002-service.yaml

This file was deleted.

50 changes: 0 additions & 50 deletions infra/old/k8s/monitoring-stream/003-ingress.yaml

This file was deleted.

5 changes: 5 additions & 0 deletions infra/playbooks/beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,8 @@
community.kubernetes.k8s:
state: present
definition: "{{ lookup('template', 'beta/playout.yaml') }}"

- name: Set up monitoring stream
community.kubernetes.k8s:
state: present
definition: "{{ lookup('template', 'beta/monitoring-stream.yaml') }}"
Loading

0 comments on commit cf05f14

Please sign in to comment.