---
kind: Deployment
apiVersion: apps/v1
metadata:
  name: objectstorage-controller
  labels:
    app.kubernetes.io/part-of: container-object-storage-interface
    app.kubernetes.io/component: controller
    app.kubernetes.io/version: main
    app.kubernetes.io/name: container-object-storage-interface-controller
spec:
  replicas: 1
  strategy:
    rollingUpdate:
      maxUnavailable: 0
      maxSurge: 1
  selector:
    matchLabels:
      app.kubernetes.io/part-of: container-object-storage-interface
      app.kubernetes.io/component: controller
      app.kubernetes.io/version: main
      app.kubernetes.io/name: container-object-storage-interface-controller
  template:
    metadata:
      labels:
        app.kubernetes.io/part-of: container-object-storage-interface
        app.kubernetes.io/component: controller
        app.kubernetes.io/version: main
        app.kubernetes.io/name: container-object-storage-interface-controller
    spec:
      serviceAccountName: objectstorage-controller-sa
      containers:
        - name: objectstorage-controller
          image: quay.io/containerobjectstorage/objectstorage-controller:canary
          imagePullPolicy: Always
          args:
          - "--v=5"
