Make embedded proxy optional, bump chart and regen docs
This commit is contained in:
parent
054a95c604
commit
8e93e9aaf8
6 changed files with 17 additions and 5 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.9.0
|
||||
version: 1.10.0
|
||||
|
||||
# renovate: image=docker.io/ghost
|
||||
appVersion: "6.0.10"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# ghost
|
||||
|
||||
  
|
||||
  
|
||||
|
||||
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/ |
|
||||
|
|
|
@ -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 }}
|
||||
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue