#
# Use this to propagate new ide images to the kubernetes cluster
#   kubectl apply -f theia-prop.yaml
#

apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: theia-prop
spec:
  selector:
    matchLabels:
      name: theia-prop
  template:
    metadata:
      labels:
        name: theia-prop
    spec:
      containers:
      - name: theia-init
        image: registry.digitalocean.com/anubis/theia-init:latest
        imagePullPolicy: Always
        command: ['bash', '-c', 'while true; do sleep 60; done']

      - name: theia-sidecar
        image: registry.digitalocean.com/anubis/theia-sidecar:latest
        imagePullPolicy: Always
        command: ['bash', '-c', 'while true; do sleep 60; done']

      - name: theia-base-397
        image: registry.digitalocean.com/anubis/theia-base:python-3.9.7
        imagePullPolicy: Always
        command: ['bash', '-c', 'while true; do sleep 60; done']

      - name: theia-base-3100
        image: registry.digitalocean.com/anubis/theia-base:python-3.10.0
        imagePullPolicy: Always
        command: ['bash', '-c', 'while true; do sleep 60; done']

      - name: theia-xv6
        image: registry.digitalocean.com/anubis/theia-xv6:latest
        imagePullPolicy: Always
        command: ['bash', '-c', 'while true; do sleep 60; done']

      - name: theia-golang
        image: registry.digitalocean.com/anubis/theia-golang:latest
        imagePullPolicy: Always
        command: ['bash', '-c', 'while true; do sleep 60; done']

      - name: theia-software-engineering
        image: registry.digitalocean.com/anubis/theia-software-engineering:latest
        imagePullPolicy: Always
        command: ['bash', '-c', 'while true; do sleep 60; done']

      - name: theia-jepst
        image: registry.digitalocean.com/anubis/theia-jepst:latest
        imagePullPolicy: Always
        command: ['bash', '-c', 'while true; do sleep 60; done']

      - name: theia-devops
        image: registry.digitalocean.com/anubis/theia-devops:latest
        imagePullPolicy: Always
        command: ['bash', '-c', 'while true; do sleep 60; done']
        
      - name: theia-admin
        image: registry.digitalocean.com/anubis/theia-admin:latest
        imagePullPolicy: Always
        command: ['bash', '-c', 'while true; do sleep 60; done']
