kind: Deployment
apiVersion: apps/v1
metadata:
  name: submariner-addon
  namespace: open-cluster-management
  labels:
    app: submariner-addon
spec:
  replicas: 1
  selector:
    matchLabels:
      app: submariner-addon
  template:
    metadata:
      labels:
        app: submariner-addon
    spec:
      serviceAccountName: submariner-addon
      containers:
      - name: submariner-addon
        image: quay.io/open-cluster-management/submariner-addon:latest
        imagePullPolicy: IfNotPresent
        args:
          - "/submariner"
          - "controller"
        livenessProbe:
          httpGet:
            path: /healthz
            scheme: HTTPS
            port: 8443
          initialDelaySeconds: 2
          periodSeconds: 10
        readinessProbe:
          httpGet:
            path: /healthz
            scheme: HTTPS
            port: 8443
          initialDelaySeconds: 2
        resources:
          requests:
            cpu: 100m
            memory: 128Mi
