apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: blog resources: - namespace.yaml - postgres/secret.yaml - postgres/statefulset.yaml - postgres/service.yaml # 可选:PostgreSQL 每日备份到 S3,填好 s3-* 后取消注释 # - postgres/backup-cronjob.yaml - backend/secret.yaml - backend/deployment.yaml - backend/service.yaml - ingress.yaml images: - name: blog-backend newName: your-registry/blog-backend newTag: latest # 可选:统一修改域名 # replacements: # - source: # kind: Ingress # name: blog # targets: ...