feat: Comments section is added

This commit is contained in:
Nikolai Rodionov
2023-02-18 21:02:02 +01:00
parent bd3fa6bbab
commit ecd61bff94
13 changed files with 115 additions and 3 deletions

6
chart/Chart.lock Normal file
View File

@ -0,0 +1,6 @@
dependencies:
- name: remark42
repository: https://groundhog2k.github.io/helm-charts/
version: 0.5.5
digest: sha256:975188682c1b89eca43ecfd655b70853c1c6dc6fbebd6a8da43cf3cac26f3d63
generated: "2023-02-27T13:32:44.817705541+01:00"

View File

@ -2,5 +2,11 @@ apiVersion: v2
name: badhouseplants-net
description: A Helm chart for Kubernetes
type: application
version: 0.4.2
appVersion: "1.16.0"
version: 0.5.7
appVersion: "4.20.0"
dependencies:
- name: remark42
version: 0.5.5
repository: https://groundhog2k.github.io/helm-charts/
condition: remark42.enabled

Binary file not shown.

View File

@ -2,7 +2,7 @@
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: blog-virtual-service
name: {{ include "badhouseplants-net.fullname" . }}
labels:
{{- include "badhouseplants-net.labels" . | nindent 4 }}
{{- with .Values.istio.annotations }}
@ -26,3 +26,32 @@ spec:
port:
number: {{ .Values.service.port }}
{{- end }}
---
{{- if .Values.remark42.istio.enabled -}}
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: {{ include "remark42.fullname" . }}-remark42
labels:
{{- include "badhouseplants-net.labels" . | nindent 4 }}
{{- with .Values.remark42.istio.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
gateways:
- istio-system/badhouseplants-net
hosts:
{{- range .Values.remark42.istio.hosts}}
- {{ . }}
{{- end }}
http:
- match:
- uri:
prefix: {{ .Values.remark42.istio.prefix }}
route:
- destination:
host: {{ .Release.Name }}-remark42
port:
number: {{ .Values.remark42.service.port }}
{{- end }}

View File

@ -69,6 +69,31 @@ volumes:
name: s3-data
sizeLimit: 1Gi
remark42:
enabled: true
settings:
url: https://remark42.badhouseplants.net
secretKey: secret
emoji: true
auth:
anonymous: true
sameSite: "none"
oauth:
google:
enabled: true
key: ""
secret: ""
github:
enabled: true
key: ""
secret: ""
istio:
annotations: {}
enabled: true
hosts:
- remark42.badhouseplants.net
prefix: /
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""