make activitypub image configurable fully, clean up more docs
This commit is contained in:
parent
d1444d1cc7
commit
96ad5e76fa
4 changed files with 22 additions and 7 deletions
|
@ -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.6.2
|
||||
version: 1.7.0
|
||||
|
||||
# renovate: image=docker.io/ghost
|
||||
appVersion: "6.0.10"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# ghost
|
||||
|
||||
  
|
||||
  
|
||||
|
||||
A Helm chart for deploying Ghost on Kubernetes
|
||||
|
||||
|
@ -30,6 +30,10 @@ A Helm chart for deploying Ghost on Kubernetes
|
|||
| activity_pub.externalDatabase.secretKeys.root_password | string | `""` | secret key in existing k8s secret for ActivityPub database root password |
|
||||
| activity_pub.externalDatabase.secretKeys.username | string | `""` | secret key in existing k8s secret for ActivityPub database username |
|
||||
| activity_pub.externalDatabase.username | string | `""` | database username. ignored if existingSecret not "" |
|
||||
| activity_pub.image.pullPolicy | string | `"IfNotPresent"` | This sets the pull policy for ActivityPub images. |
|
||||
| activity_pub.image.registry | string | `"ghcr.io"` | ActivityPub image registry |
|
||||
| activity_pub.image.repository | string | `"tryghost/activitypub"` | ActivityPub image repo |
|
||||
| activity_pub.image.tag | string | `"1.1"` | ActivityPub verison (the image tag) |
|
||||
| activity_pub.podSecurityContext | object | `{}` | ActivityPub Configure Pods Security Context ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod |
|
||||
| activity_pub.resources | object | `{}` | ActivityPub pod resources: requested cpu/mem and limits for cpu/mem |
|
||||
| activity_pub.securityContext | object | `{}` | ActivityPub Configure container Security Context |
|
||||
|
@ -37,7 +41,6 @@ A Helm chart for deploying Ghost on Kubernetes
|
|||
| activity_pub.service.targetPort | int | `8080` | port in the ActivityPub container you want to contact |
|
||||
| activity_pub.service.type | string | `"ClusterIP"` | sets the ActivityPub service type more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types |
|
||||
| activity_pub.useMq | bool | `false` | use MQ |
|
||||
| activity_pub.version | string | `"1.1"` | ActivityPub verison |
|
||||
| affinity | object | `{}` | pod or node affinity |
|
||||
| autoscaling.enabled | bool | `false` | enable autoscaling |
|
||||
| autoscaling.maxReplicas | int | `2` | autoscaling max pod replicas |
|
||||
|
|
|
@ -33,7 +33,7 @@ spec:
|
|||
{{- end }}
|
||||
initContainers:
|
||||
- name: activitypub-migrate
|
||||
image: "ghcr.io/tryghost/activitypub-migrations:{{ .Values.activity_pub.version }}"
|
||||
image: "ghcr.io/tryghost/activitypub-migrations:{{ .Values.activity_pub.image.tag }}"
|
||||
env:
|
||||
- name: MYSQL_DB
|
||||
valueFrom:
|
||||
|
@ -47,7 +47,7 @@ spec:
|
|||
{{- end }}
|
||||
containers:
|
||||
- name: activitypub
|
||||
image: "ghcr.io/tryghost/activitypub:{{ .Values.activity_pub.version }}"
|
||||
image: "{{ .Values.activity_pub.image.registry }}/{{ .Values.activity_pub.image.repository }}:{{ .Values.activity_pub.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
|
||||
{{- if not .Values.activity_pub.externalDatabase.existingSecret }}
|
||||
|
|
|
@ -263,10 +263,22 @@ activity_pub:
|
|||
# -- enable activity pub. I actually don't know how to make this work without
|
||||
# activity pub :( submit a PR if you know!
|
||||
enabled: true
|
||||
# -- ActivityPub verison
|
||||
version: "1.1"
|
||||
|
||||
# sets the activitypub container image. more info can be found here:
|
||||
# https://kubernetes.io/docs/concepts/containers/images/
|
||||
image:
|
||||
# -- ActivityPub image registry
|
||||
registry: ghcr.io
|
||||
# -- ActivityPub image repo
|
||||
repository: tryghost/activitypub
|
||||
# -- This sets the pull policy for ActivityPub images.
|
||||
pullPolicy: IfNotPresent
|
||||
# -- ActivityPub verison (the image tag)
|
||||
tag: "1.1"
|
||||
|
||||
# -- use MQ
|
||||
useMq: false
|
||||
|
||||
# -- allow private addresses
|
||||
allowPrivateAddress: true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue