| # Copyright 2018 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| # |
| # This file contains the definitions of the Report Master's Service object. |
| # |
| # The definitions contain some parameters (indicated by $$PARAMETER_NAME$$) |
| # that will be replaced by the script tools/container_util.py prior to being |
| # passed to "kubectl apply" |
| |
| apiVersion: v1 |
| kind: Service |
| metadata: |
| name: report-master |
| spec: |
| ports: |
| # Requests to this port are forwarded to the Endpoints implementation |
| # on the same port. Requests made to this port are protected by TLS. |
| # All clients should access Report Master via this port. |
| - port: 443 |
| protocol: TCP |
| name: endpoint-https |
| selector: |
| # This must match the metadata.labels section of the |
| # report_master_deployment.yaml file. |
| name: report-master |
| type: LoadBalancer |
| loadBalancerIP: $$REPORT_MASTER_STATIC_IP_ADDRESS$$ |
| |