Skip to content

Commit

Permalink
Bumps GoToSocial Version to v0.10.0 Shrimple Sloth
Browse files Browse the repository at this point in the history
  • Loading branch information
0hlov3 committed Aug 2, 2023
1 parent 082a052 commit 770ec80
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 11 deletions.
6 changes: 3 additions & 3 deletions charts/gotosocial/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ home: https://github.com/superseriousbusiness/gotosocial

type: application
# Chart Version
version: "0.4.7"
version: "0.4.8"
# gotosocial version
appVersion: "0.9.0"
appVersion: "0.10.0"

maintainers:
- name: fSocietySocial
Expand All @@ -26,4 +26,4 @@ annotations:
artifacthub.io/containsSecurityUpdates: "false"
artifacthub.io/images: |
- name: gotosocial
image: superseriousbusiness/gotosocial:0.9.0
image: superseriousbusiness/gotosocial:0.20.0
30 changes: 25 additions & 5 deletions charts/gotosocial/templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ stringData:
db-sqlite-journal-mode: {{ .Values.gotosocial.config.db.sqliteJournalMode | default "WAL" |quote }}
db-sqlite-synchronous: {{ .Values.gotosocial.config.db.sqliteSynchronous | default "NORMAL" |quote }}
db-sqlite-cache-size: {{ .Values.gotosocial.config.db.sqliteCacheSize | default "8MiB" |quote }}
db-sqlite-busy-timeout: {{ .Values.gotosocial.config.db.sqliteBusyTimeout | default "5m" |quote }}
db-sqlite-busy-timeout: {{ .Values.gotosocial.config.db.sqliteBusyTimeout | default "30m" |quote }}
{{- end }}
db-max-open-conns-multiplier: {{ .Values.gotosocial.config.db.maxOpenConnsMultiplier | default 8 }}
{{- if .Values.gotosocial.config.db.cache.enabled }}
Expand All @@ -80,7 +80,7 @@ stringData:
account-max-size: {{ .Values.gotosocial.config.db.cache.gts.accountMaxSize | default 2000 }}
account-ttl: {{ .Values.gotosocial.config.db.cache.gts.accountTTl | default "30m" | quote }}
account-sweep-freq: {{ .Values.gotosocial.config.db.cache.gts.accountSweepFreq | default "1m" | quote }}
block-max-size: {{ .Values.gotosocial.config.db.cache.gts.blockMaxSize | default 100 }}
block-max-size: {{ .Values.gotosocial.config.db.cache.gts.blockMaxSize | default 1000 }}
block-ttl: {{ .Values.gotosocial.config.db.cache.gts.blockTTl | default "24h" | quote }}
block-sweep-freq: {{ .Values.gotosocial.config.db.cache.gts.blockSweepFreq | default "1m" | quote }}
domain-block-max-size: {{ .Values.gotosocial.config.db.cache.gts.domainBlockMaxSize | default 2000 }}
Expand All @@ -98,6 +98,15 @@ stringData:
follow-request-max-size: {{ .Values.gotosocial.config.db.cache.gts.followRequestMaxSize | default 2000 }}
follow-request-ttl: {{ .Values.gotosocial.config.db.cache.gts.followRequestTTL | default "30m" | quote }}
follow-request-sweep-freq: {{ .Values.gotosocial.config.db.cache.gts.followRequestSweepFreq | default "1m" | quote }}
instance-max-size: {{ .Values.gotosocial.config.db.cache.gts.instanceMaxSize | default 2000 }}
instance-ttl: {{ .Values.gotosocial.config.db.cache.gts.instanceTTL | default "30m" |quote }}
instance-sweep-freq: {{ .Values.gotosocial.config.db.cache.gts.instanceSweepFreq | default "1m" | quote }}
list-max-size: {{ .Values.gotosocial.config.db.cache.gts.listMaxSize | default 2000 }}
list-ttl: {{ .Values.gotosocial.config.db.cache.gts.listTTL | default "30m" | quote }}
list-sweep-freq: {{ .Values.gotosocial.config.db.cache.gts.listSweepFreq | default "1m" | quote }}
list-entry-max-size: {{ .Values.gotosocial.config.db.cache.gts.listEntryMaxSize | default 2000 }}
list-entry-ttl: {{ .Values.gotosocial.config.db.cache.gts.listEntryTTL | default "30m" | quote }}
list-entry-sweep-freq: {{ .Values.gotosocial.config.db.cache.gts.listEntrySweepFreq | default "1m" | quote }}
media-max-size: {{ .Values.gotosocial.config.db.cache.gts.mediaMaxSize | default 1000 }}
media-ttl: {{ .Values.gotosocial.config.db.cache.gts.mediaTTL | default "30m" | quote }}
media-sweep-freq: {{ .Values.gotosocial.config.db.cache.gts.mediaSweepFreq | default "1m" | quote }}
Expand All @@ -124,13 +133,14 @@ stringData:
user-sweep-freq: {{ .Values.gotosocial.config.db.cache.gts.userSweepFreq | default "1m" | quote }}
webfinger-max-size: {{ .Values.gotosocial.config.db.cache.gts.webfingerMaxSize | default 250 }}
webfinger-ttl: {{ .Values.gotosocial.config.db.cache.gts.webfingerTTL | default "24h" | quote }}
webfinger-sweep-freq: {{ .Values.gotosocial.config.db.cache.gts.webfingerSweepFreq | default "1m" | quote }}
webfinger-sweep-freq: {{ .Values.gotosocial.config.db.cache.gts.webfingerSweepFreq | default "15m" | quote }}
{{- end }}
######################
##### WEB CONFIG #####
######################
web-template-base-dir: {{ .Values.gotosocial.config.web.templateBaseDir | default "./web/template/" |quote }}
web-asset-base-dir: {{ .Values.gotosocial.config.web.assetBaseDir | default "./web/assets/" |quote }}
accounts-custom-css-length: {{ .Values.gotosocial.config.web.accountsCustomCssLength | default 10000 }}
###########################
##### INSTANCE CONFIG #####
###########################
Expand All @@ -155,7 +165,7 @@ stringData:
media-description-max-chars: {{ .Values.gotosocial.config.media.descriptionMaxChars | default 500 }}
media-remote-cache-days: {{ .Values.gotosocial.config.media.mediaRemoteCacheDays | default 30 }}
media-emoji-local-max-size: {{ .Values.gotosocial.config.media.emojiLocalMaxSize | default 51200 }}
media-emoji-remote-max-size: {{ .Values.gotosocial.config.media.emojiRemoteMaxSize | default 102400 }}
media-emoji-remote-max-size: {{ .Values.gotosocial.config.media.emojiRemoteMaxSize | default 51200 }}
##########################
##### STORAGE CONFIG #####
##########################
Expand Down Expand Up @@ -224,7 +234,7 @@ stringData:
##### SYSLOG CONFIG #####
#########################
syslog-enabled: {{ .Values.gotosocial.config.syslog.enabled | default false }}
syslog-protocol: {{ .Values.gotosocial.config.syslog.protocol | default "udp" |quote }}
syslog-protocol: {{ .Values.gotosocial.config.syslog.protocol | default "tcp" |quote }}
syslog-address: {{ .Values.gotosocial.config.syslog.address | default "localhost:514" |quote }}
##################################
##### OBSERVABILITY SETTINGS #####
Expand All @@ -233,6 +243,16 @@ stringData:
tracing-enabled: {{ .Values.gotosocial.config.observability.tracing.enabled | default false }}
tracing-transport: {{ .Values.gotosocial.config.observability.tracing.transport | default "" }}
tracing-insecure-transport: {{ .Values.gotosocial.config.observability.tracing.insecureTransport | default false }}
################################
##### HTTP CLIENT SETTINGS #####
################################
http-client:
timeout: {{ .Values.gotosocial.config.httpClient.timeout | default "10s" |quote }}
########################################
#### RESERVED IP RANGE EXCEPTIONS ######
########################################
allow-ips: {{ .Values.gotosocial.config.httpClient.allowIPs }}
block-ips: {{ .Values.gotosocial.config.httpClient.blockIPs }}
#############################
##### ADVANCED SETTINGS #####
#############################
Expand Down
20 changes: 17 additions & 3 deletions charts/gotosocial/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ gotosocial:
maxOpenConnsMultiplier: "8"
sqliteSynchronous: "NORMAL"
sqliteCacheSize: "8MiB"
sqliteBusyTimeout: "5m"
sqliteBusyTimeout: "30m"
visibilitySweepFreq: "1m"
cache:
enabled: false
Expand All @@ -78,7 +78,7 @@ gotosocial:
accountMaxSize: "2000"
accountTTl: "30m"
accountSweepFreq: "1m"
blockMaxSize: "100"
blockMaxSize: "1000"
blockTTl: "24h"
blockSweepFreq: "1m"
domainBlockMaxSize: "2000"
Expand All @@ -96,6 +96,15 @@ gotosocial:
followRequestMaxSize: "2000"
followRequestTTL: "30m"
followRequestSweepFreq: "1m"
instanceMaxSize: "2000"
instanceTTL: "30m"
instanceSweepFreq: "1m"
listMaxSize: "2000"
listTTL: "30m"
listSweepFreq: "1m"
listEntryMaxSize: "2000"
listEntryTTL: "30m"
listEntrySweepFreq: "1m"
mediaMaxSize: "1000"
mediaTTL: "30m"
mediaSweepFreq: "1m"
Expand All @@ -122,10 +131,11 @@ gotosocial:
userSweepFreq: "1m"
webfingerMaxSize: "250"
webfingerTTL: "24h"
webfingerSweepFreq: "1m"
webfingerSweepFreq: "15m"
web:
templateBaseDir: "./web/template/"
assetBaseDir: "./web/assets/"
accountsCustomCssLength: "10000"
instance:
exposePeers: false
exposeSuspended: false
Expand Down Expand Up @@ -203,6 +213,10 @@ gotosocial:
enabled: false
transport: ""
insecureTransport: false
httpClient:
timeout: "10s"
allowIPs: []
blockIPs: []
advanced:
cookiesSamesite: "lax"
rateLimitRequests: "300"
Expand Down

0 comments on commit 770ec80

Please sign in to comment.