apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- cert-manager/cluster-issuer.yaml
- cert-manager/wildcard-certificate.yaml
- cert-manager/cloudflare-secret.yaml
- ingress/ingress-class.yaml
- ingress/default-tls-config.yaml
- ingress/portal-ingress.yaml
- ingress/api-ingress.yaml
- ingress/ingress-lb.yaml
- metallb/config.yaml
- common/serviceaccount.yaml
- operator/deployment-operator.yaml
- operator/service.yaml
- common/mongodb-secret.yaml

namespace: container-mom-system

commonLabels:
  app.kubernetes.io/part-of: container-mom
  app.kubernetes.io/managed-by: kustomize

configMapGenerator:
- name: portal-templates
  files:
  - dashboard.html=templates/dashboard.html
  - index.html=templates/index.html
  - layout.html=templates/layout.html
  - deployments.html=templates/deployments.html 