Skip to content

Commit

Permalink
chart内に昇格
Browse files Browse the repository at this point in the history
  • Loading branch information
na2na-p committed Mar 18, 2024
1 parent 6c31e17 commit 943f1d7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
2 changes: 1 addition & 1 deletion infra/k8s/web/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
config.yaml
./config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ data:
#───┘ URL └─────────────────────────────────────────────────────
# Final accessible URL seen by a user.
url: https://mk8stest.na2na.dev/
url: {{ .Values.service.host }}
# ONCE YOU HAVE STARTED THE INSTANCE, DO NOT CHANGE THE
# URL SETTINGS AFTER THAT!
Expand Down Expand Up @@ -37,15 +37,15 @@ data:
#───┘ PostgreSQL configuration └────────────────────────────────
db:
host: postgres-cluster-rw.misskey.svc.cluster.local
port: 5432
host: {{ .Values.database.host }}
port: {{ .Values.database.port }}
# Database name
db: misskey
db: {{ .Values.database.db }}
# Auth
user: misskey
pass: misskey
user: {{ .Values.database.user }}
pass: {{ .Values.database.pass }}
# Whether disable Caching queries
#disableCache: true
Expand Down Expand Up @@ -152,6 +152,9 @@ data:
# Upload or download file size limits (bytes)
maxFileSize: 5000000000
# default: false
misskeyBlockMentionsFromUnfamiliarRemoteUsers: true
kind: ConfigMap
metadata:
Expand Down
8 changes: 8 additions & 0 deletions infra/k8s/web/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,15 @@ image:
tag: "2023.11.1-na2na-v4"
pullPolicy: Always

database:
host: "hoge.local"
port: 5432
db: "misskey"
user: "misskey"
pass: "misskey"

service:
host: "https://mk8stest.na2na.dev/"
type: NodePort
port: 3000
nodePort: 30000
Expand Down

0 comments on commit 943f1d7

Please sign in to comment.