Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.

Commit 8c7d246

Browse files
committed
clean up naming and if conditionals
1 parent 8e94681 commit 8c7d246

5 files changed

Lines changed: 12 additions & 14 deletions

File tree

charts/ghost/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type: application
1818
# This is the chart version. This version number should be incremented each time you make changes
1919
# to the chart and its templates, including the app version.
2020
# Versions are expected to follow Semantic Versioning (https://semver.org/)
21-
version: 2.0.0
21+
version: 2.0.1
2222

2323
# renovate: image=docker.io/ghost
2424
appVersion: "6.0.10"

charts/ghost/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ghost
22

3-
![Version: 2.0.0](https://img.shields.io/badge/Version-2.0.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)
3+
![Version: 2.0.1](https://img.shields.io/badge/Version-2.0.1-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)
44

55
A Helm chart for deploying Ghost on Kubernetes
66

charts/ghost/templates/proxy-deployment.yaml renamed to charts/ghost/templates/deployment-proxy.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@ spec:
2727
ports:
2828
- name: nginx
2929
containerPort: 80
30+
3031
volumeMounts:
3132
- name: nginx-conf
3233
mountPath: /etc/nginx/nginx.conf
3334
subPath: nginx.conf
3435
readOnly: true
36+
3537
resources:
3638
requests:
3739
memory: 100Mi
@@ -40,10 +42,10 @@ spec:
4042
memory: 256Mi
4143
cpu: 1000m
4244
volumes:
43-
- name: nginx-conf
44-
configMap:
45-
name: nginx-conf
46-
items:
47-
- key: nginx.conf
48-
path: nginx.conf
45+
- name: nginx-conf
46+
configMap:
47+
name: nginx-conf
48+
items:
49+
- key: nginx.conf
50+
path: nginx.conf
4951
{{- end }}

charts/ghost/templates/ingress.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ spec:
3131
- host: {{ .host | quote }}
3232
http:
3333
paths:
34-
{{- if $.Values.activity_pub.enabled }}
35-
{{- if not $.Values.proxy.enabled }}
34+
{{- if and $.Values.activity_pub.enabled (not $.Values.proxy.enabled) }}
3635
# ActivityPub routes (must come before the catch-all route)
3736
- path: /\.ghost/activitypub(?/.*)?
3837
pathType: ImplementationSpecific
@@ -58,7 +57,6 @@ spec:
5857
port:
5958
number: {{ $.Values.activity_pub.service.port }}
6059
{{- end }}
61-
{{- end }}
6260
# regular ghost stuff
6361
{{- range .paths }}
6462
- path: {{ .path }}
@@ -82,8 +80,7 @@ spec:
8280
- host: {{ $.Values.ghost.admin_domain | quote }}
8381
http:
8482
paths:
85-
{{- if $.Values.activity_pub.enabled }}
86-
{{- if not $.Values.proxy.enabled }}
83+
{{- if and $.Values.activity_pub.enabled (not $.Values.proxy.enabled) }}
8784
# ActivityPub routes (must come before the catch-all route)
8885
- path: /\.ghost/activitypub(?/.*)?
8986
pathType: ImplementationSpecific
@@ -109,7 +106,6 @@ spec:
109106
port:
110107
number: {{ $.Values.activity_pub.service.port }}
111108
{{- end }}
112-
{{- end }}
113109

114110
- path: /
115111
pathType: Prefix

0 commit comments

Comments
 (0)