apiVersion: data.packaging.carvel.dev/v1alpha1
kind: Package
metadata:
  name: metrics-aggregator.vmware.com.0.1.0
  annotations:
    appplatform.vmware.com/required_capability: Load_Balancer_Supported
    appplatform.vmware.com/vcenter-version-constraints: '>=9.1.0'
    appplatform.vmware.com/supervisor_version_constraints: '>=9.1.0'
spec:
  refName: metrics-aggregator.vmware.com
  version: 0.1.0
  licenses:
  - VMware's End User License Agreement
  template:
    spec:
      deploy:
      - kapp: {}
      fetch:
      - imgpkgBundle:
          image: depot.kube-system.svc/vcf/supervisor-service-metrics-aggregator/ga/0.1.0/metrics-aggregator-bundle:0.1.0
      template:
      - ytt:
          paths:
          - config/
      - kbld:
          paths:
          - .imgpkg/images.yml
          - '-'
  valuesSchema:
    openAPIv3:
      title: metrics-aggregator.vmware.com.0.1.0values schema
      additionalProperties: false
      properties:
        mgmtProxyPodPriority:
          title: Proxy Pod Scheduling Priority
          type: integer
          default: -1000000
        mgmtProxyAdminPort:
          title: Proxy Admin Port
          type: integer
          default: 10003
        namespace:
          title: The namespace in which to deploy the supervisor service
          type: string
          default: metrics-aggregator
        cpuRequests:
          title: CPU requests for metrics-aggregator Pod
          type: string
          default: 50m
        memoryRequests:
          title: Memory requests for metrics-aggregator Pod
          type: string
          default: 64Mi
        vCenterUUID:
          default: ""
          title: UUID of vCenter
          type: String
        supervisorUUID:
          default: ""
          title: UUID of Supervisor Cluster
          type: String
        metricsHTTPRemoteEndpoint:
          title: HTTP remote endpoint configuration for pushing workload metrics
          type: object
          additionalProperties: false
          nullable: true
          properties:
            host:
              type: string
              description: Remote endpoint Hostname or IP address
              default: ""
            port:
              type: integer
              description: Remote endpoint port
              default: 443
              minimum: 1
              maximum: 65535
            tlsClientSecretName:
              type: string
              description: Name of the secret which contains the TLS configuration required to push metrics to remote endpoint.
              default: ""
            tlsClientSecretNamespace:
              type: string
              description: Namespace from which SecretImport needs to import the secret containing the TLS configuration required to push metrics to remote endpoint.
              default: vmware-system-monitoring
---
apiVersion: data.packaging.carvel.dev/v1alpha1
kind: PackageMetadata
metadata:
  name: metrics-aggregator.vmware.com
spec:
  displayName: Metrics Aggregator
  longDescription: Metrics Aggregator service integrates with VMCI based Supervisor Management Proxy. The proxy helps terminate TLS connection from VKS Cluster and forwards the request to VMCI based Supervisor Management Proxy which forwards the data to VCF Ops.
  shortDescription: Metrics Aggregator Service acts as an aggregator for metrics pushed by telegraf running in VKS Clusters. This service is based out of envoy.
  providerName: Broadcom
  maintainers:
  - name: Zhengsheng Zhou
  - name: Kumar Atish
  - name: Rahav Vembuli
  - name: Dimple Raja Vamsi
  categories:
  - proxy
