---
approuter:
    bindings:
        portal:
            serviceInstanceName: portal
portal:
    serviceOfferingName: portal
    servicePlanName: standard
portal-deployer:
  image:
    repository: {{appName}}-portal-deployer
  resources:
    limits:
      ephemeral-storage: 1G
      memory: 500M
    requests:
      ephemeral-storage: 1G
      cpu: 500m
      memory: 500M
  bindings:
    auth:
      serviceInstanceName: xsuaa
    html5-apps-repo-host:
      serviceInstanceName: html5-apps-repo-host
    portal:
      serviceInstanceName: portal
{{=<% %>=}}
  env:
    SERVICE_BINDING_ROOT: /bindings
    BPL_VCAP_SERVICES_ENABLED: "true"
    XSUAA_CREDENTIALS:
      secretKeyRef:
        name: "{{ .Release.Name }}-approuter-auth"
        key: credentials
    REPOHOST_CREDENTIALS:
      secretKeyRef:
        name: "{{ .Release.Name }}-html5-apps-deployer-html5-apps-repo"
        key: credentials
    PORTAL_CREDENTIALS:
      secretKeyRef:
        name: "{{ .Release.Name }}-approuter-portal"
        key: credentials
<%={{ }}=%>