Skip to content

Commit

Permalink
fix syntax by splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki-js committed May 6, 2024
1 parent 29e62a8 commit be56b5f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
3 changes: 2 additions & 1 deletion manifests/overlays/production/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ configMapGenerator:
- config.js=cfg/config.js

patches:
- path: patches.yaml
- path: patches/web.yaml
- path: patches/media-proxy.yaml
15 changes: 15 additions & 0 deletions manifests/overlays/production/patches/media-proxy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: media-proxy-deployment
namespace: misskey
spec:
template:
metadata:
labels:
app: media-proxy
spec:
hostAliases:
- ip: "10.0.1.4"
hostnames:
- "key.aoki.app"
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,3 @@ spec:
- ip: "10.0.1.4" # ad hoc fix: it's the one of the physical nodes where the Ingress Controller is placed
hostnames:
- "key.aoki.app"
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: media-proxy-deployment
namespace: misskey
spec:
template:
metadata:
labels:
app: media-proxy
spec:
hostAliases:
- ip: "10.0.1.4"
hostnames:
- "key.aoki.app"

0 comments on commit be56b5f

Please sign in to comment.