Skip to content
Snippets Groups Projects
Commit 62a354df authored by Goeran Poehner's avatar Goeran Poehner Committed by groundhog2k
Browse files

Evaluate Remark42 as alternative to Commento

Fixes #374
parent b9585add
No related branches found
No related tags found
No related merge requests found
...@@ -192,7 +192,7 @@ $ helm uninstall my-release ...@@ -192,7 +192,7 @@ $ helm uninstall my-release
| Key | Type | Default | Description | | Key | Type | Default | Description |
|-----|------|---------|-------------| |-----|------|---------|-------------|
| settings.notify.type | string | `"none"` | Notification type (telegram, slack, email) | | settings.notify.type | string | `"none"` | Notification type (none, telegram, slack, email) |
| settings.notify.queue | int | `100` | Size of notification queue | | settings.notify.queue | int | `100` | Size of notification queue |
| settings.notify.telegram.token | string | `nil` | Telegram token | | settings.notify.telegram.token | string | `nil` | Telegram token |
| settings.notify.telegram.channel | string | `nil` | Telegram channel | | settings.notify.telegram.channel | string | `nil` | Telegram channel |
......
...@@ -63,7 +63,7 @@ spec: ...@@ -63,7 +63,7 @@ spec:
{{- if .Values.livenessProbe.enabled }} {{- if .Values.livenessProbe.enabled }}
livenessProbe: livenessProbe:
httpGet: httpGet:
path: {{ trimSuffix "/" .Values.ingress.path }}/web path: /web
port: http port: http
httpHeaders: httpHeaders:
- name: Host - name: Host
...@@ -84,7 +84,7 @@ spec: ...@@ -84,7 +84,7 @@ spec:
{{- if .Values.readinessProbe.enabled }} {{- if .Values.readinessProbe.enabled }}
readinessProbe: readinessProbe:
httpGet: httpGet:
path: {{ trimSuffix "/" .Values.ingress.path }}/web path: /web
port: http port: http
httpHeaders: httpHeaders:
- name: Host - name: Host
......
...@@ -16,8 +16,11 @@ metadata: ...@@ -16,8 +16,11 @@ metadata:
name: {{ $fullName }} name: {{ $fullName }}
labels: labels:
{{- include "remark42.labels" . | nindent 4 }} {{- include "remark42.labels" . | nindent 4 }}
{{- with .Values.ingress.annotations }}
annotations: annotations:
{{- if ne .Values.ingress.path "/" }}
nginx.ingress.kubernetes.io/rewrite-target: /$2
{{- end }}
{{- with .Values.ingress.annotations }}
{{- toYaml . | nindent 4 }} {{- toYaml . | nindent 4 }}
{{- end }} {{- end }}
spec: spec:
...@@ -31,7 +34,11 @@ spec: ...@@ -31,7 +34,11 @@ spec:
- host: {{ .Values.ingress.host | quote }} - host: {{ .Values.ingress.host | quote }}
http: http:
paths: paths:
{{- if ne .Values.ingress.path "/" }}
- path: {{ .Values.ingress.path }}(/|$)(.*)
{{- else }}
- path: {{ .Values.ingress.path }} - path: {{ .Values.ingress.path }}
{{- end }}
{{- if semverCompare ">=1.19" $kubeVersion }} {{- if semverCompare ">=1.19" $kubeVersion }}
pathType: ImplementationSpecific pathType: ImplementationSpecific
backend: backend:
......
...@@ -270,7 +270,7 @@ settings: ...@@ -270,7 +270,7 @@ settings:
template: template:
notify: notify:
## Notification type (telegram, slack, email) ## Notification type (none, telegram, slack, email)
type: "none" type: "none"
## Size of notification queue ## Size of notification queue
queue: 100 queue: 100
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment