From d6270a48500c7770fc5278a52f23543681c4200f Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Wed, 1 Mar 2023 18:18:35 +0100 Subject: [PATCH] fix: comments seem to work --- chart/Chart.yaml | 2 +- chart/values.yaml | 10 +++------- config.yaml | 2 +- content/posts/argocd-vs-helmfile-application/index.md | 3 +-- kube/main.yaml | 7 ++++--- kube/template.yaml | 2 ++ layouts/partials/remark42.html | 5 +++++ 7 files changed, 17 insertions(+), 14 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index db7da78..ae7d462 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: badhouseplants-net description: A Helm chart for Kubernetes type: application -version: 0.5.7 +version: 0.5.8 appVersion: "4.20.0" dependencies: - name: remark42 diff --git a/chart/values.yaml b/chart/values.yaml index 8a40379..8e9618d 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -76,17 +76,13 @@ remark42: secretKey: secret emoji: true auth: - anonymous: true + anonymous: false sameSite: "none" oauth: google: - enabled: true - key: "" - secret: "" + enabled: false github: - enabled: true - key: "" - secret: "" + enabled: false istio: annotations: {} enabled: true diff --git a/config.yaml b/config.yaml index 97f5778..edcd39a 100644 --- a/config.yaml +++ b/config.yaml @@ -24,7 +24,7 @@ taxonomies: params: GitBranch: main Remark42ID: remark - Remark42URL: https://remark42-add-comments-dev.badhouseplants.net + Remark42URL: https://remark42.badhouseplants.net ShowBreadCrumbs: true ShowReadingTime: true ShowPostNavLinks: true diff --git a/content/posts/argocd-vs-helmfile-application/index.md b/content/posts/argocd-vs-helmfile-application/index.md index 61b858a..169c65b 100644 --- a/content/posts/argocd-vs-helmfile-application/index.md +++ b/content/posts/argocd-vs-helmfile-application/index.md @@ -573,5 +573,4 @@ Thanks, Oi! - -{{< comments >}} \ No newline at end of file +{{< comments >}} diff --git a/kube/main.yaml b/kube/main.yaml index 8c33006..f857035 100644 --- a/kube/main.yaml +++ b/kube/main.yaml @@ -11,16 +11,17 @@ annotations: link.argocd.argoproj.io/env: https://badhouseplants.net/ link.argocd.argoproj.io/build: $DRONE_BUILD_LINK - link.argocd.argoproj.io/remark42: https://remark42-$ARGO_APP_HOSTNAME/web + link.argocd.argoproj.io/remark42: https://remark42.badhouseplants.net/web remark42: settings: - auth: - anonymous: false + secret: $ARGO_REMARK_SECRET oauth: github: + enabled: true key: 1fb3d33a62b074bc0ea0 secret: $ARGO_GITHUB_OAUTH_KEY google: + enabled: true key: 966815964055-m9t7leuj1arqimqu2pvbs1k10cg54gcg.apps.googleusercontent.com secret: $ARGO_GOOGLE_OAUTH_KEY storage: diff --git a/kube/template.yaml b/kube/template.yaml index 9758dcf..5b0928a 100644 --- a/kube/template.yaml +++ b/kube/template.yaml @@ -28,4 +28,6 @@ - remark42-$ARGO_APP_HOSTNAME settings: url: https://remark42-$ARGO_APP_HOSTNAME/ + auth: + anonymous: true diff --git a/layouts/partials/remark42.html b/layouts/partials/remark42.html index a97ae63..3404e56 100644 --- a/layouts/partials/remark42.html +++ b/layouts/partials/remark42.html @@ -1,4 +1,9 @@ +
+
+

Comments are in the beta testing stage.

+
+