apiVersion: v1
kind: Service
metadata:
  name: bpt-admin-__CI_ENVIRONMENT_SLUG__
  labels:
    name: bpt-admin-__CI_ENVIRONMENT_SLUG__
    commit: __COMMIT__
    env: __CI_ENVIRONMENT_SLUG__
    prometheus_custom_target: bpt-admin
  namespace: bpt
spec:
  ports:
    - name: http
      port: 80
      targetPort: 80
      protocol: TCP
    - name: nginx-metrics
      port: 9913
      targetPort: 9913
      protocol: TCP
    - name: php-metrics
      port: 8080
      targetPort: 8080
      protocol: TCP
  selector:
    name: bpt-admin-__CI_ENVIRONMENT_SLUG__
  type: NodePort