Make embedded proxy optional, bump chart and regen docs

This commit is contained in:
cloudymax 2025-09-29 13:04:11 +02:00
parent 054a95c604
commit 8e93e9aaf8
No known key found for this signature in database
6 changed files with 17 additions and 5 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.9.0
version: 1.10.0
# renovate: image=docker.io/ghost
appVersion: "6.0.10"

View file

@ -1,6 +1,6 @@
# ghost
![Version: 1.9.0](https://img.shields.io/badge/Version-1.9.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 6.0.10](https://img.shields.io/badge/AppVersion-6.0.10-informational?style=flat-square)
![Version: 1.10.0](https://img.shields.io/badge/Version-1.10.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 6.0.10](https://img.shields.io/badge/AppVersion-6.0.10-informational?style=flat-square)
A Helm chart for deploying Ghost on Kubernetes
@ -110,6 +110,8 @@ A Helm chart for deploying Ghost on Kubernetes
| podAnnotations | object | `{}` | This is for setting Kubernetes Annotations to a Pod. For more info checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ |
| podLabels | object | `{}` | This is for setting Kubernetes Labels to a Pod. For more info checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ |
| podSecurityContext | object | `{}` | Configure Pods Security Context ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod |
| proxy | object | `{"enabled":true}` | Options for embedded nginx reverse-proxy |
| proxy.enabled | bool | `true` | enable/disable the embedded proxy |
| readinessProbe.httpGet.path | string | `"/"` | |
| readinessProbe.httpGet.port | string | `"http"` | |
| replicaCount | int | `1` | This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/ |

View file

@ -1,3 +1,4 @@
{{- if eq .Values.proxy.enabled true }}
---
apiVersion: v1
kind: ConfigMap
@ -6,5 +7,5 @@ metadata:
data:
nginx.conf: |
{{- .Files.Get "files/nginx.conf" | nindent 4 }}
{{- end }}

View file

@ -1,3 +1,4 @@
{{- if eq .Values.proxy.enabled true }}
---
apiVersion: apps/v1
kind: Deployment
@ -46,3 +47,4 @@ spec:
items:
- key: nginx.conf
path: nginx.conf
{{- end }}

View file

@ -1,3 +1,4 @@
{{- if eq .Values.proxy.enabled true }}
apiVersion: v1
kind: Service
metadata:
@ -8,9 +9,10 @@ metadata:
spec:
type: ClusterIP
ports:
- port: nginx
- name: nginx
port: 80
targetPort: 80
protocol: TCP
name: http
selector:
{{- include "ghost.selectorLabels" . | nindent 4 }}
{{- end }}

View file

@ -353,3 +353,8 @@ activity_pub:
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
# -- Options for embedded nginx reverse-proxy
proxy:
# -- enable/disable the embedded proxy
enabled: true