Skip to content

Commit 660afa7

Browse files
committed
raw raw rawmama
Signed-off-by: David Söderlund <[email protected]>
1 parent 32b2909 commit 660afa7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/_posts/2024-05-08-cockroachdb-through-argocd.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ Digging through the helm specification I finally came across the defintion of th
102102
For reference here is where you can play spot the error:
103103

104104
``` yaml
105+
{% raw %}
105106
# job.init.yaml in cockroachdb/templates
106107
{{ $isClusterInitEnabled := and (eq (len .Values.conf.join) 0) (not (index .Values.conf `single-node`)) }}
107108
{{ $isDatabaseProvisioningEnabled := .Values.init.provisioning.enabled }}
@@ -129,6 +130,7 @@ metadata:
129130
{{- with .Values.init.jobAnnotations }}
130131
{{- toYaml . | nindent 4 }}
131132
{{- end }}
133+
{% endraw %}
132134
```
133135

134136
ArgoCD doesn't run `helm install` or `helm upgrade`, it runs `helm template` and then itself figures out if there is a diff of that intermediate result and what it observes in kubernetes. Thus the job doesn't actually get considered.

0 commit comments

Comments
 (0)