# Service to expose the kong-db to the kong pod
apiVersion: v1
kind: Service
metadata:
  labels:
    app: kong-db
  name: kong-db
spec:
  # Exposes an internal NodePort service for communicating within the cluster
  ports:
  - name: "database"
    port: 5432
    targetPort: 5432
  selector:
    app: kong-db
