---
apiVersion: codemowers.cloud/v1beta1
kind: MysqlDatabaseClass
metadata:
  name: external
  annotations:
    kubernetes.io/description: "External MySQL cluster"
spec:
  reclaimPolicy: Retain
  shared: true
---
apiVersion: v1
kind: Service
metadata:
  name: primary-external
spec:
  clusterIP: None
---
apiVersion: v1
kind: Service
metadata:
  name: external
spec:
  clusterIP: None
---
kind: Endpoints
apiVersion: v1
metadata:
  name: primary-external
subsets:
  - addresses:
      - ip: 172.20.36.1
---
kind: Endpoints
apiVersion: v1
metadata:
  name: external
subsets:
  - addresses:
      - ip: 172.20.36.1