add SKIP_SIGNATURE_VERIFICATION and MYSQL_PORT to activitypub deployment env vars

This commit is contained in:
JesseBot 2025-09-29 12:08:06 +02:00
parent 6d49937c0c
commit eb7a49b7b6
No known key found for this signature in database
4 changed files with 16 additions and 2 deletions

View file

@ -18,7 +18,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.7.1
version: 1.8.0
# renovate: image=docker.io/ghost
appVersion: "6.0.10"

View file

@ -66,16 +66,25 @@ spec:
secretKeyRef:
name: {{ .Values.activity_pub.externalDatabase.existingSecret }}
key: {{ .Values.activity_pub.externalDatabase.secretKeys.hostname }}
- name: MYSQL_PORT
valueFrom:
secretKeyRef:
name: {{ .Values.activity_pub.externalDatabase.existingSecret }}
key: {{ .Values.activity_pub.externalDatabase.secretKeys.port }}
- name: MYSQL_DATABASE
valueFrom:
secretKeyRef:
name: {{ .Values.activity_pub.externalDatabase.existingSecret }}
key: {{ .Values.activity_pub.externalDatabase.secretKeys.database }}
- name: MYSQL_USER
valueFrom:
secretKeyRef:
name: {{ .Values.activity_pub.externalDatabase.existingSecret }}
key: {{ .Values.activity_pub.externalDatabase.secretKeys.username }}
- name: MYSQL_PASSWORD
valueFrom:
secretKeyRef:
@ -86,6 +95,9 @@ spec:
- name: ALLOW_PRIVATE_ADDRESS
value: {{ .Values.activity_pub.allowPrivateAddress | quote }}
- name: SKIP_SIGNATURE_VERIFICATION
value: {{ .Values.activity_pub.skipSignatureVerfication | quote }}
- name: USE_MQ
value: {{ .Values.activity_pub.useMq | quote }}

View file

@ -9,7 +9,7 @@ metadata:
app.kubernetes.io/component: activitypub
data:
MYSQL_HOST: {{ .Values.activity_pub.externalDatabase.host | b64enc }}
MYSQL_PORT: {{ .Values.activity_pub.externalDatabase.port| quote | b64enc }}
MYSQL_PORT: {{ .Values.activity_pub.externalDatabase.port | quote | b64enc }}
MYSQL_DATABASE: {{ .Values.activity_pub.externalDatabase.database | b64enc }}
MYSQL_USER: {{ .Values.activity_pub.externalDatabase.username | b64enc }}
MYSQL_PASSWORD: {{ .Values.activity_pub.externalDatabase.password | b64enc }}

View file

@ -282,6 +282,8 @@ activity_pub:
# -- allow private addresses
allowPrivateAddress: true
skipSignatureVerfication: true
# activity pub has it's own database
externalDatabase:
# -- database hostname. ignored if existingSecret not ""