26 lines
585 B
YAML
26 lines
585 B
YAML
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
|
|
|
|
# 镜像通过 k3s ctr images import 本地导入,不走 registry
|
|
|
|
# 可选:统一修改域名
|
|
# replacements:
|
|
# - source:
|
|
# kind: Ingress
|
|
# name: blog
|
|
# targets: ...
|