apiVersion: v1
kind: Service
metadata:
  name: operator # Please do not change this value
  labels:
    name: minio-operator
    app.kubernetes.io/instance: minio-operator
    app.kubernetes.io/name: operator
  namespace: minio-operator
spec:
  type: ClusterIP
  ports:
    - port: 4221
      name: http
  selector:
    name: minio-operator
    operator: leader
---
apiVersion: v1
kind: Service
metadata:
  name: sts # Please do not change this value
  labels:
    name: minio-operator
  namespace: minio-operator
spec:
  type: ClusterIP
  ports:
    - port: 4223
      targetPort: 4223
      name: https
  selector:
    name: minio-operator
