diff --git a/.drone.yml b/.drone.yml index 52e566a..9353332 100644 --- a/.drone.yml +++ b/.drone.yml @@ -70,14 +70,15 @@ steps: environment: KUBECONFIG_CONTENT: from_secret: KUBECONFIG_CONTENT - commands: + commands: - mkdir $HOME/.kube - echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config - - apk update --no-cache && apk add yq gettext + - apk update --no-cache && apk add yq gettext openssl - export ARGO_APP_CHART_VERSION=`cat chart/Chart.yaml | yq '.version'` - export ARGO_APP_BRANCH=$DRONE_BRANCH - export ARGO_APP_HOSTNAME="${DRONE_BRANCH}-dev.badhouseplants.net" - export ARGO_APP_IMAGE_TAG=$DRONE_COMMIT_SHA + - export ARGO_REMARK42_SECRET=$(openssl rand -hex 12) - kubectl get -f ./kube/applicationset.yaml -o yaml > /tmp/appset.yaml - yq -i "del(.metadata.resourceVersion)" /tmp/appset.yaml - yq -i "del(.metadata.generation)" /tmp/appset.yaml diff --git a/config.yaml b/config.yaml index edcd39a..e1b92a9 100644 --- a/config.yaml +++ b/config.yaml @@ -29,6 +29,7 @@ params: ShowReadingTime: true ShowPostNavLinks: true ShowCodeCopyButtons: true + comments: true profileMode: enabled: true title: "Bad Houseplants" diff --git a/content/posts/argocd-vs-helmfile-application/index.md b/content/posts/argocd-vs-helmfile-application/index.md index 169c65b..4a37f6a 100644 --- a/content/posts/argocd-vs-helmfile-application/index.md +++ b/content/posts/argocd-vs-helmfile-application/index.md @@ -573,4 +573,3 @@ Thanks, Oi! -{{< comments >}} diff --git a/content/posts/argocd-vs-helmfile-helmfile/index.md b/content/posts/argocd-vs-helmfile-helmfile/index.md index 551cfd4..69915cb 100644 --- a/content/posts/argocd-vs-helmfile-helmfile/index.md +++ b/content/posts/argocd-vs-helmfile-helmfile/index.md @@ -1583,4 +1583,6 @@ You can find an example of PR here: When helmfile is not GitOps? > To uninstall a helm release, you need to add `isntalled: false` to it. If you just remove a release from helmfile.yaml, it isn't going to be removed. So in such cases it's not GitOps. You can write a hook, that is comparing a previous state of your helmfile to the current one and doing a cleanup, then it's again fully GitOps. But I prefer removing things manually, so to me, it's not a problem. Removing stuff is something that I think should be mostly done by a human being, if it's not a part of your daily work. -{{< comments >}} +Thanks, + +Oi! diff --git a/kube/template.yaml b/kube/template.yaml index 5b0928a..e1fab04 100644 --- a/kube/template.yaml +++ b/kube/template.yaml @@ -21,7 +21,7 @@ buildDrafts: true env: HUGO_PARAMS_GITBRANCH: $ARGO_APP_BRANCH - HUDO_PARAMS_REMARK42URL: https://remark42-$ARGO_APP_HOSTNAME/ + HUGO_PARAMS_REMARK42URL: https://remark42-$ARGO_APP_HOSTNAME remark42: istio: hosts: @@ -30,4 +30,4 @@ url: https://remark42-$ARGO_APP_HOSTNAME/ auth: anonymous: true - + secretKey: $ARGO_REMARK42_SECRET diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html new file mode 100644 index 0000000..3404e56 --- /dev/null +++ b/layouts/partials/comments.html @@ -0,0 +1,16 @@ +
+
+

Comments are in the beta testing stage.

+
+
+ + +