apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
metadata:
  name: citus-manager 
spec:
  selector:
    matchLabels:
      app: citus-manager
  replicas: 1
  template:
    metadata:
      labels:
        app: citus-manager
    spec:
      serviceAccountName: <your-service-account> 
      containers:
      - name: citus-manager-container
        image: bakdata/citus-k8s-membership-manager:v0.2
        imagePullPolicy: Always
        volumeMounts:
        - name: citus-config-mount
          mountPath: /etc/citus-config
        resources:
          requests:
            cpu: 100m
            memory: 100Mi
        env:
        - name: NAMESPACE
          value: <your-namespace> 
      volumes:
      - name: citus-config-mount
        configMap:
          name: <your-config-map-name>
