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

namespace: ghostcms

images:
  - name: ghostcms
    newName: docker.io/ghost
    newTag: 5.75.3-alpine

commonLabels:
  app.kubernetes.io/instance: icb4dc0de
  app.kubernetes.io/managed-by: kustomize

resources:
  - resources/namespace.yaml
  - resources/db.yaml
  - resources/pvc.yaml
  - resources/deployment.yaml
  - resources/service.yaml
  - resources/ingress.yaml

generators:
  - ./secret-generator.yaml

helmCharts:
  - name: keydb
    repo: https://enapter.github.io/charts/
    releaseName: ghostcms-keydb
    namespace: ghostcms
    version: "0.48.0"
    valuesFile: config/values.keydb.yaml