---
version: 1
kind: component

parameters:
  - name: dns.domain
    env: DOMAIN_NAME

  - name: component.onlineBoutiqueApp
    parameters:
      - name: istioRevision
        empty: allow
        env: ISTIO_REVISION
      - name: host
      - name: ingressGateway
        empty: allow
      - name: loadgenerator
        parameters:
          - name: numberOfReplicas
            value: 3
          - name: numberOfUsers
            value: 100

templates:
  files:
    - "resources/istio-manifests/*.template"
    - "resources/kubernetes-manifests/deployments/*.template"
    - "resources/*.template"

outputs:
  - name: component.onlineBoutiqueApp.host
