add k8s
This commit is contained in:
47
k8s/kustomization.yaml
Normal file
47
k8s/kustomization.yaml
Normal file
@@ -0,0 +1,47 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
namespace: atproto
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- postgres.yaml
|
||||
- redis.yaml
|
||||
- plc.yaml
|
||||
- pds.yaml
|
||||
- bgs.yaml
|
||||
- bsky.yaml
|
||||
- social-app.yaml
|
||||
- ozone.yaml
|
||||
- ozone-web.yaml
|
||||
- jetstream.yaml
|
||||
- feed.yaml
|
||||
|
||||
## レジストリを一括設定 (デプロイ先に応じて変更)
|
||||
images:
|
||||
- name: registry/plc
|
||||
newName: localhost:5000/plc
|
||||
- name: registry/pds
|
||||
newName: localhost:5000/pds
|
||||
- name: registry/bsky
|
||||
newName: localhost:5000/bsky
|
||||
- name: registry/bgs
|
||||
newName: localhost:5000/bgs
|
||||
- name: registry/social-app
|
||||
newName: localhost:5000/social-app
|
||||
- name: registry/ozone
|
||||
newName: localhost:5000/ozone
|
||||
- name: registry/ozone-web
|
||||
newName: localhost:5000/ozone-web
|
||||
- name: registry/jetstream
|
||||
newName: localhost:5000/jetstream
|
||||
- name: registry/feed
|
||||
newName: localhost:5000/feed
|
||||
|
||||
## envs/ から Secret を自動生成
|
||||
secretGenerator:
|
||||
- name: atproto-secrets
|
||||
envs:
|
||||
- secrets.env
|
||||
options:
|
||||
disableNameSuffixHash: true
|
||||
Reference in New Issue
Block a user