2022-03-11 09:59:03 +00:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/friendica
|
|
|
|
pullPolicy: IfNotPresent
|
2022-04-20 10:38:09 +00:00
|
|
|
tag: v2022.03@sha256:9d314fce922afec8371b8f9158ae0e883284d3fdb3de385e7250926d9feb794d
|
2022-03-11 09:59:03 +00:00
|
|
|
|
|
|
|
securityContext:
|
|
|
|
runAsNonRoot: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
|
|
|
env:
|
|
|
|
MYSQL_USER: "{{ .Values.mariadb.mariadbUsername }}"
|
|
|
|
MYSQL_DATABASE: "{{ .Values.mariadb.mariadbDatabase }}"
|
|
|
|
MYSQL_PORT: 3306
|
|
|
|
REDIS_PORT: 6379
|
|
|
|
REDIS_DB: 1
|
|
|
|
FRIENDICA_TZ: "{{ .Values.TZ }}"
|
|
|
|
FRIENDICA_DATA_DIR: "/data"
|
|
|
|
FRIENDICA_CONFIG_DIR: "/config"
|
2022-03-26 20:00:30 +00:00
|
|
|
# User Defined
|
2022-03-11 09:59:03 +00:00
|
|
|
FRIENDICA_ADMIN_MAIL: "my@domain.com"
|
|
|
|
FRIENDICA_URL: "http://localhost:{{ .Values.service.main.ports.main.port }}"
|
|
|
|
FRIENDICA_UPGRADE: false
|
|
|
|
PHP_MEMORY_LIMIT: "512M"
|
|
|
|
PHP_UPLOAD_LIMIT: "512M"
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10058
|
|
|
|
targetPort: 80
|
|
|
|
|
|
|
|
probes:
|
|
|
|
liveness:
|
2022-03-26 20:00:30 +00:00
|
|
|
path: "/ping"
|
2022-03-11 09:59:03 +00:00
|
|
|
readiness:
|
2022-03-26 20:00:30 +00:00
|
|
|
path: "/ping"
|
2022-03-11 09:59:03 +00:00
|
|
|
startup:
|
2022-03-26 20:00:30 +00:00
|
|
|
path: "/ping"
|
2022-03-11 09:59:03 +00:00
|
|
|
|
|
|
|
persistence:
|
|
|
|
varrun:
|
|
|
|
enabled: true
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/config"
|
|
|
|
data:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/data"
|
|
|
|
|
|
|
|
envValueFrom:
|
|
|
|
MYSQL_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: mariadbcreds
|
|
|
|
key: plainhost
|
|
|
|
MYSQL_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: mariadbcreds
|
|
|
|
key: mariadb-password
|
|
|
|
REDIS_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: rediscreds
|
|
|
|
key: plainhost
|
|
|
|
REDIS_PW:
|
|
|
|
secretKeyRef:
|
|
|
|
name: rediscreds
|
|
|
|
key: redis-password
|
|
|
|
|
|
|
|
redis:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "rediscreds"
|
|
|
|
|
|
|
|
mariadb:
|
|
|
|
enabled: true
|
|
|
|
mariadbUsername: friendica
|
|
|
|
mariadbDatabase: friendica
|
|
|
|
existingSecret: "mariadbcreds"
|