apiVersion: apps/v1
kind: Deployment
metadata:
  name: spaship-operator
spec:
  selector:
    matchLabels:
      spaship: operator
      spaship-operator-layer: service
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        spaship: operator
        spaship-operator-layer: service
    spec:
      containers:
        - name: operator
          image: quay.io/spaship/operator-jvm:latest
          imagePullPolicy: IfNotPresent
          resources:
            limits:
              cpu: 500m
              memory: 250Mi
