apiVersion: exphost.pl/v1alpha1
kind: Application
metadata:
  name: test-org.app1
  namespace: test-namespace
  labels:
    org: test-org
    app: app1
    version: v1.2.3
spec:
  config:
    domain: test-org-app1-version.domain.com
  components:
    frontend:
      helm:
        type: simple
        chart:
          name: nginx
          repository: https://charts.bitnami.com/bitnami
          version: 15.10.3
      dockerfile:
        type: react
      config:
        hostnames:
          - www
    backend:
      helm:
        type: simple
        chart:
          name: nginx
          repository: https://charts.bitnami.com/bitnami
          version: 15.10.3
      dockerfile:
        type: python
      config:
        hostnames:
          - api
    backend2:
      helm:
        type: custom
        chart:
          name: nginx
          repository: https://charts.bitnami.com/bitnami
          version: 15.10.3
      dockerfile:
        type: custom
      config:
        hostnames:
          - app2