104 lines
2.1 KiB
YAML
104 lines
2.1 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/privatebin
|
|
pullPolicy: IfNotPresent
|
|
tag: 1.5.1@sha256:eeb74022d04aa205c60952dbba3f196418ecdf52fc5e99295100e482a58ed114
|
|
|
|
podSecurityContext:
|
|
runAsUser: 65534
|
|
runAsGroup: 82
|
|
fsGroup: 82
|
|
|
|
privatebin:
|
|
# See also: https://github.com/PrivateBin/PrivateBin/wiki/Configuration
|
|
main:
|
|
name: ""
|
|
basepath: ""
|
|
discussion: true
|
|
opendiscussion: false
|
|
password: true
|
|
fileupload: false
|
|
burnafterreadingselected: false
|
|
defaultformatter: "plaintext"
|
|
syntaxhighlightingtheme: ""
|
|
sizelimit: 10485760
|
|
template: "bootstrap"
|
|
info: ""
|
|
notice: ""
|
|
languageselection: false
|
|
languagedefault: ""
|
|
urlshortener: ""
|
|
qrcode: ""
|
|
icon: ""
|
|
cspheader: ""
|
|
zerobincompatibility: ""
|
|
httpwarning: ""
|
|
compression: ""
|
|
expire:
|
|
default: "1week"
|
|
traffic:
|
|
limit: 10
|
|
exempted: ""
|
|
creators: ""
|
|
header: ""
|
|
purge:
|
|
limit: 300
|
|
batchsize: 10
|
|
|
|
env:
|
|
TZ: "{{ .Values.TZ }}"
|
|
PHP_TZ: "{{ .Values.TZ }}"
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
protocol: HTTP
|
|
targetPort: 8080
|
|
port: 10248
|
|
|
|
persistence:
|
|
run:
|
|
enabled: true
|
|
mountPath: "/run"
|
|
type: "emptyDir"
|
|
medium: "Memory"
|
|
nginx-cache:
|
|
enabled: true
|
|
mountPath: "/var/lib/nginx/tmp"
|
|
type: "emptyDir"
|
|
conf-app:
|
|
enabled: true
|
|
type: "custom"
|
|
readOnly: true
|
|
mountPath: "/srv/cfg"
|
|
volumeSpec:
|
|
secret:
|
|
secretName: '{{ include "tc.common.names.fullname" . }}-secret'
|
|
conf-php:
|
|
enabled: true
|
|
type: "custom"
|
|
readOnly: true
|
|
mountPath: "/etc/php8/conf.d/10-sizelimits.ini"
|
|
subPath: "sizelimits-php.ini"
|
|
volumeSpec:
|
|
configMap:
|
|
name: '{{ include "tc.common.names.fullname" . }}-config'
|
|
conf-nginx:
|
|
enabled: true
|
|
type: "custom"
|
|
readOnly: true
|
|
mountPath: "/etc/nginx/conf.d/sizelimits.conf"
|
|
subPath: "sizelimits-nginx.conf"
|
|
volumeSpec:
|
|
configMap:
|
|
name: '{{ include "tc.common.names.fullname" . }}-config'
|
|
|
|
postgresql:
|
|
enabled: true
|
|
existingSecret: "dbcreds"
|
|
postgresqlUsername: privatebin
|
|
postgresqlDatabase: privatebin
|
|
|
|
portal:
|
|
enabled: true
|