2024-04-29 12:41:56 +00:00
|
|
|
image:
|
|
|
|
repository: friendica
|
|
|
|
pullPolicy: IfNotPresent
|
2024-05-14 12:52:01 +00:00
|
|
|
tag: 2024.03@sha256:7fb613f426298a59a1bb98a4ead8a51b6a6880cb2565de0bf5732df2806250ef
|
2024-04-29 12:41:56 +00:00
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
runAsNonRoot: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
path: "/ping"
|
|
|
|
readiness:
|
|
|
|
path: "/ping"
|
|
|
|
startup:
|
|
|
|
path: "/ping"
|
|
|
|
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"
|
|
|
|
# User Defined
|
|
|
|
FRIENDICA_ADMIN_MAIL: "my@domain.com"
|
|
|
|
FRIENDICA_URL: "http://localhost:{{ .Values.service.main.ports.main.port }}"
|
|
|
|
FRIENDICA_UPGRADE: false
|
|
|
|
FRIENDICA_SITENAME: ""
|
|
|
|
PHP_MEMORY_LIMIT: "512M"
|
|
|
|
PHP_UPLOAD_LIMIT: "512M"
|
|
|
|
MYSQL_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
expandObjectName: false
|
|
|
|
name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}'
|
|
|
|
key: plainhost
|
|
|
|
MYSQL_PASSWORD: "{{ .Values.mariadb.password }}"
|
|
|
|
REDIS_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
expandObjectName: false
|
|
|
|
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
|
|
|
|
key: plainhost
|
|
|
|
REDIS_PW: "{{ .Values.redis.password }}"
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10058
|
|
|
|
targetPort: 80
|
|
|
|
persistence:
|
|
|
|
varrun:
|
|
|
|
enabled: true
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /config
|
|
|
|
data:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /data
|
|
|
|
redis:
|
|
|
|
enabled: true
|
|
|
|
includeCommon: true
|
|
|
|
mariadb:
|
|
|
|
enabled: true
|
|
|
|
includeCommon: true
|
|
|
|
mariadbUsername: friendica
|
|
|
|
mariadbDatabase: friendica
|
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: true
|