apiVersion: apps/v1
kind: Deployment
metadata:
  name: xterm
spec:
  selector:
    matchLabels:
      app.kubernetes.io/name: xterm
      app.kubernetes.io/part-of: xterm
  template:
    metadata:
      annotations:
        wavy.squat.ai/enable: "true"
      labels:
        app.kubernetes.io/name: xterm
        app.kubernetes.io/part-of: xterm
    spec:
      containers:
      - image: nixery.dev/shell/coreutils/xterm
        name: xterm
        command:
        - xterm
        resources:
          limits:
            cpu: 2000m
            memory: 2048Mi
          requests:
            cpu: 10m
            memory: 16Mi
        env:
        - name: HOME
          value: /tmp
        securityContext:
          runAsUser: 1000
          runAsGroup: 998
