{{- if eq .Values.global.grafana_location "on-cluster" }}
apiVersion: v1
kind: Service
metadata:
  name: drycc-monitor-grafana
  labels:
    heritage: drycc
    app: drycc-monitor-grafana
spec:
  ports:
  - port: 80
    name: ui
    targetPort: ui
  selector:
    app: drycc-monitor-grafana
{{- end }}
