apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: paralus-connector
  namespace: paralus-system
spec:
  selector:
    matchLabels:
      app: paralus-connector
  serviceName: "connector"
  replicas: 1
  template:
    metadata:
      labels:
        app: paralus-connector
    spec:
      priorityClassName: paralus-cluster-critical
      terminationGracePeriodSeconds: 10
      containers:
      - name: connector
        image: paralussystems/paralus-connector:latest
        imagePullPolicy: Always
        volumeMounts:
        - name: connector-config
          mountPath: /etc/config
      volumes:
      - name: connector-config
        configMap:
          name: connector-config
