logsearchapi-service.yaml 374 B

123456
  1. {{ $ports := list }}
  2. {{ $ports = mustAppend $ports (dict "name" "logsearchapi-tcp" "port" 8080 "targetPort" 8080) }}
  3. {{ $values := (. | mustDeepCopy) }}
  4. {{ $_ := set $values "common" (dict "nameSuffix" (include "logsearchapi.nameSuffix" .)) }}
  5. {{ $_1 := set $values "commonService" (dict "type" "ClusterIP" "ports" $ports ) }}
  6. {{ include "common.classes.service" $values }}