apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app.kubernetes.io/instance: cloud-portal
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: cloud-portal
    app.kubernetes.io/version: v0.2.1
    helm.sh/chart: cloud-portal-0.4.1
  name: cloud-portal
spec:
  replicas: 1
  selector:
    matchLabels:
      app.kubernetes.io/instance: cloud-portal
      app.kubernetes.io/name: cloud-portal
  template:
    metadata:
      annotations:
        configmap.kubernetes.io/checksum: 64f592b7c7db5aea30f376c2d9acd9867e170da638f6a2a2fd317bd71d7dc3af
      labels:
        app.kubernetes.io/instance: cloud-portal
        app.kubernetes.io/name: cloud-portal
    spec:
      containers:
        - image: ghcr.io/appuio/cloud-portal:v0.2.1
          imagePullPolicy: IfNotPresent
          livenessProbe:
            httpGet:
              path: /
              port: http
          name: cloud-portal
          ports:
            - containerPort: 8080
              name: http
              protocol: TCP
          readinessProbe:
            httpGet:
              path: /
              port: http
          resources:
            limits:
              memory: 128Mi
            requests:
              cpu: 20m
              memory: 32Mi
          securityContext: {}
          volumeMounts:
            - mountPath: /usr/share/nginx/html/config.json
              name: config
              subPath: config.json
      securityContext: {}
      serviceAccountName: cloud-portal
      volumes:
        - configMap:
            items:
              - key: config.json
                path: config.json
            name: cloud-portal-frontend
          name: config
