2021-11-30 13:33:15 +00:00
|
|
|
image:
|
2021-12-03 12:02:44 +00:00
|
|
|
repository: tccr.io/truecharts/friendica
|
2021-11-30 13:33:15 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2022-05-13 07:35:54 +00:00
|
|
|
tag: v2022.03@sha256:9f368e7f0fadeb3a2d4013af30ee38872aa248379c9d59ee2d5d92b6ddc42db8
|
2021-11-30 13:33:15 +00:00
|
|
|
|
|
|
|
securityContext:
|
|
|
|
runAsNonRoot: false
|
2022-03-11 09:49:02 +00:00
|
|
|
readOnlyRootFilesystem: false
|
2021-11-30 13:33:15 +00:00
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
|
|
|
env:
|
2022-03-11 09:49:02 +00:00
|
|
|
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 19:53:07 +00:00
|
|
|
# User Defined
|
2022-01-08 10:38:47 +00:00
|
|
|
FRIENDICA_ADMIN_MAIL: "my@domain.com"
|
2022-03-11 09:49:02 +00:00
|
|
|
FRIENDICA_URL: "http://localhost:{{ .Values.service.main.ports.main.port }}"
|
|
|
|
FRIENDICA_UPGRADE: false
|
|
|
|
PHP_MEMORY_LIMIT: "512M"
|
|
|
|
PHP_UPLOAD_LIMIT: "512M"
|
2021-11-30 13:33:15 +00:00
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10058
|
|
|
|
targetPort: 80
|
|
|
|
|
2022-03-11 09:49:02 +00:00
|
|
|
probes:
|
|
|
|
liveness:
|
2022-03-26 19:53:07 +00:00
|
|
|
path: "/ping"
|
2022-03-11 09:49:02 +00:00
|
|
|
readiness:
|
2022-03-26 19:53:07 +00:00
|
|
|
path: "/ping"
|
2022-03-11 09:49:02 +00:00
|
|
|
startup:
|
2022-03-26 19:53:07 +00:00
|
|
|
path: "/ping"
|
2022-03-11 09:49:02 +00:00
|
|
|
|
2021-11-30 13:33:15 +00:00
|
|
|
persistence:
|
|
|
|
varrun:
|
|
|
|
enabled: true
|
|
|
|
config:
|
|
|
|
enabled: true
|
2022-03-11 09:49:02 +00:00
|
|
|
mountPath: "/config"
|
|
|
|
data:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/data"
|
2021-11-30 13:33:15 +00:00
|
|
|
|
|
|
|
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"
|