---
# System prepended metadata

title: Sprint 2020-08-24

---

# Sprint 2020-08-24


## New config secrets for current cluster

on review

Est 0.5



## [social] Fix v4-reaction creation handler (from v2)

Est. 2





## [staging][aio ?] post routes don't work

Est. 2




## CI for prod & TVBS

Done: 

- staging
- migrations

TODO:

- Fill deployment vars for production & TVBS
- (ci branch) add manual steps for production and TVBS
- Reuse pipeline step forr the three envs
- Delete deployment env from Bitbucket workspace 

Est. 13


## Dashboards & Metrics

- complete defining metrics & dashboards
- move config genration to terraform templates


Est. 3


## OpenVPN

"Connection reset" error 

Est. 





## Staging cluster


### Deploy admin website

- Admin Dashboard (dash-staging.fdvr.co)

Est. 1



### Reassign api-staging.fulldive.com to new cluster

One of proxy-pass

Implement by means of ingress in "fulldive" cluster. And tell developers to use api-staging.fdvr.co directly for new builds.

Investigate ingress manifest

Est. 2



### Import existing mongo db with accounts

Mongo (import existing staging cluster)

- accounts for apps possibly require importing, too
- accounts for devs
- make cluster undestroyable

Est. 3


### Imageproxy google bucket

- import staging bucket for imageproxy

```
client
  image URL in frontend
  ↓
frontend 
  (generates image URL in bucket)
  ↓
backend get URL in bucket 
  ↓
bucket (news/...hash...)
  ↑
image fetcher 
  (creates images)
```

Est. 1


### Elastic: trigger sync from v2 
    
Est. 1



### Neo4j: restore from snapshot image

Est. 2





## TVBS cluster

### Prepare secrets files

BLOCKED BY TVBS and iOS team

- facebook (from TVBS)
- apple (from iOS team)
- firebase (we can generate)
- google (we can generate)
- admin bearer tokens 
    - pusher 
    - news fetcher


Est. ?




### Domains

BLOCKED BY TVBS 

- api-tvbs.fdvr.co
- imgproxy-tvbs.fdvr.co
- dash-tvbs.fdvr.co
- tvbs.fdvr.co (sharing)


Est. ?




### Create service account for containers access to spair-api

In "tvbs-fulldive", Kubernetes service account must have permission to read GCR in "spair-api" project (readonly)


Est. 1




### Create Atlas account for mongodb cluster

BLOCKED BY TVBS

Wee need billing to be able to create old mongo version 3.6

Est. ?



## Add randomizer on TV categories

NO TEST
NO TYPESCRIPT

repo: youtube-playlist-server

namespace: fd-aio
pod:       youtube-playlist-server 
cronjob:   youtube-playlist-fetcher 

For deployment, use Kustomize 

api.fdvr.co/yt/video_ids/?category=...
api.fdvr.co/yt/video_ids


```
pod server

GET /ids
    get list from redis or update

/heatlh 
    200 OK 
```

```
cronjob * 

get list from youtube
shufle
put to redis
```

```
config/default.yaml

playlists:
    - id: ...
      category: ...
    - id: ...
      category: ...

```










## RSS fetcher with its own bucket









### Move production to new terraform definitions

- import mongo
- restore elastic data
- restore neo4j data
- refresh DNS records
- import buckets


