mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-30 15:58:05 +09:00
fix: helm chart issues
This commit is contained in:
parent
d07f5c4bd7
commit
a5ef9b9d94
4
.gitignore
vendored
4
.gitignore
vendored
@ -81,3 +81,7 @@ pnpm*
|
|||||||
# Nix Development shell items
|
# Nix Development shell items
|
||||||
.devenv
|
.devenv
|
||||||
.direnv
|
.direnv
|
||||||
|
|
||||||
|
# helm chart dependencies
|
||||||
|
chart/charts
|
||||||
|
chart/Chart.lock
|
||||||
|
@ -119,10 +119,10 @@ port: 3000
|
|||||||
db:
|
db:
|
||||||
{{- if .Values.postgresql.enabled }}
|
{{- if .Values.postgresql.enabled }}
|
||||||
host: {{ template "iceshrimp.postgresql.fullname" . }}
|
host: {{ template "iceshrimp.postgresql.fullname" . }}
|
||||||
port: '5432'
|
port: 5432
|
||||||
{{- else }}
|
{{- else }}
|
||||||
host: {{ .Values.postgresql.postgresqlHostname }}
|
host: {{ .Values.postgresql.postgresqlHostname }}
|
||||||
port: {{ .Values.postgresql.postgresqlPort | default "5432" | quote }}
|
port: {{ .Values.postgresql.postgresqlPort | default 5432 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
# Database name
|
# Database name
|
||||||
@ -130,7 +130,7 @@ db:
|
|||||||
|
|
||||||
# Auth
|
# Auth
|
||||||
user: {{ .Values.postgresql.auth.username }}
|
user: {{ .Values.postgresql.auth.username }}
|
||||||
pass: "{{ .Values.postgresql.auth.password }}"
|
pass: {{ .Values.postgresql.auth.password | quote }}
|
||||||
|
|
||||||
# Whether disable Caching queries
|
# Whether disable Caching queries
|
||||||
#disableCache: true
|
#disableCache: true
|
||||||
@ -150,7 +150,7 @@ redis:
|
|||||||
{{- else }}
|
{{- else }}
|
||||||
host: {{ required "When the redis chart is disabled .Values.redis.hostname is required" .Values.redis.hostname }}
|
host: {{ required "When the redis chart is disabled .Values.redis.hostname is required" .Values.redis.hostname }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
port: {{ .Values.redis.port | default "6379" | quote }}
|
port: {{ .Values.redis.port | default 6379 }}
|
||||||
#family: 0 # 0=Both, 4=IPv4, 6=IPv6
|
#family: 0 # 0=Both, 4=IPv4, 6=IPv6
|
||||||
pass: {{ .Values.redis.auth.password | quote }}
|
pass: {{ .Values.redis.auth.password | quote }}
|
||||||
#prefix: example-prefix
|
#prefix: example-prefix
|
||||||
@ -217,8 +217,7 @@ id: 'aid'
|
|||||||
#maxCaptionLength: 1500
|
#maxCaptionLength: 1500
|
||||||
|
|
||||||
# Reserved usernames that only the administrator can register with
|
# Reserved usernames that only the administrator can register with
|
||||||
reservedUsernames:
|
reservedUsernames: {{ .Values.iceshrimp.reservedUsernames | toJson }}
|
||||||
{{ .Values.iceshrimp.reservedUsernames | toYaml }}
|
|
||||||
|
|
||||||
# Whether disable HSTS
|
# Whether disable HSTS
|
||||||
#disableHsts: true
|
#disableHsts: true
|
||||||
@ -265,8 +264,7 @@ reservedUsernames:
|
|||||||
# Proxy remote files (default: false)
|
# Proxy remote files (default: false)
|
||||||
#proxyRemoteFiles: true
|
#proxyRemoteFiles: true
|
||||||
|
|
||||||
allowedPrivateNetworks:
|
allowedPrivateNetworks: {{ .Values.iceshrimp.allowedPrivateNetworks | toJson }}
|
||||||
{{ .Values.iceshrimp.allowedPrivateNetworks | toYaml }}
|
|
||||||
|
|
||||||
# TWA
|
# TWA
|
||||||
#twa:
|
#twa:
|
||||||
|
@ -39,9 +39,9 @@ spec:
|
|||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
command:
|
command:
|
||||||
- pnpm
|
- yarn
|
||||||
- run
|
- run
|
||||||
- start
|
- migrateandstart
|
||||||
env:
|
env:
|
||||||
- name: "NODE_ENV"
|
- name: "NODE_ENV"
|
||||||
value: "production"
|
value: "production"
|
||||||
|
@ -36,9 +36,9 @@ spec:
|
|||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
command:
|
command:
|
||||||
- pnpm
|
- yarn
|
||||||
- run
|
- run
|
||||||
- migrate
|
- migrateandstart
|
||||||
env:
|
env:
|
||||||
- name: "NODE_ENV"
|
- name: "NODE_ENV"
|
||||||
value: "production"
|
value: "production"
|
||||||
|
Loading…
Reference in New Issue
Block a user