Skip to content

Commit 1d3f91d

Browse files
authored
Merge pull request #2826 from replicatedhq/yaml-syntax-fix
Fix yaml syntax
2 parents 55940b8 + 4ed6c81 commit 1d3f91d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/partials/helm/_helm-cr-builder-example.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ spec:
4040
chartVersion: 3.1.7
4141
values:
4242
postgresql:
43-
enabled: repl{{ ConfigOptionEquals `postgres_type` `embedded_postgres`}}
43+
enabled: repl{{ ConfigOptionEquals "postgres_type" "embedded_postgres"}}
4444
builder:
4545
postgresql:
4646
enabled: true

docs/partials/helm/_helm-cr-optional-values-when.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Use KOTS template functions to write the `optionalValues.when` conditional state
44

55
```yaml
66
optionalValues:
7-
- when: "repl{{ ConfigOptionEquals `postgres_type` `external_postgres`}}"
7+
- when: repl{{ ConfigOptionEquals "postgres_type" "external_postgres"}}
88
```
99
1010
For more information about using KOTS template functions, see [About Template Functions](/reference/template-functions-about).

0 commit comments

Comments
 (0)