Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cds-env): Add missing newline in YAML snippet #1021

Merged
merged 1 commit into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion node.js/cds-env.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,8 @@ You can use the `CDS_CONFIG` env variable in three different ways to add setting
For each file and folder, a new property is added to the configuration with its name. For a file the property value is the string content of the file. But if a file contains a parsable JSON string starting with `[` or `{` character, it is parsed and added as a substructure.
For a directory an object is added and the algorithm continues there.

```yaml /etc/secrets/cds/requires/auth/kind: xsuaa
```yaml
/etc/secrets/cds/requires/auth/kind: xsuaa
/etc/secrets/cds/requires/auth/credentials/clientid: capapp
/etc/secrets/cds/requires/auth/credentials/clientsecret: dlfed4XYZ
/etc/secrets/cds/requires/db:
Expand Down
1 change: 1 addition & 0 deletions tools/apis/cds-add.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ module.exports = class extends cds.add.Plugin {
await merge(__dirname, 'add/values.yaml.hbs')
.into('chart/values.yaml', { with: project }) // [!code ++]
} // [!code ++]
}
}
```
```yaml [lib/files/values.yaml.hbs]
Expand Down
Loading