apiVersion: apps/v1
kind: Deployment
metadata:
    name: tasks-deployment
spec: 
    replicas: 1
    selector:
        matchLabels:
            app: tasks 
    template:
        metadata:
            labels:
                app: tasks
        spec:
            containers:
            - name: tasks
              image: benjaminshinar/kub-network_tasks:0.2
              env:
              - name: AUTH_ADDRESS
                value: "auth-service.default"
              - name: TASKS_FOLDER
                value: tasks