apiVersion: v1
kind: Service
metadata:
  name: {{ .Values.name }}
  namespace: {{ .Release.Namespace }}
spec:
  type: {{ .Values.terrascan_service_type }}
  selector:
    app: {{ .Values.name }}
  ports:
    - name: webhook
      port: 443
      targetPort: 9010
