Skip to content

Commit

Permalink
[Misc] Package version and change log update (#37)
Browse files Browse the repository at this point in the history
Co-authored-by: Pavan <[email protected]>
  • Loading branch information
anirudhprasad-sap and Pavan-SAP authored Sep 13, 2024
1 parent 3790773 commit f1b9e60
Show file tree
Hide file tree
Showing 4 changed files with 549 additions and 218 deletions.
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@

All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). The format is based on [Keep a Changelog](http://keepachangelog.com/).

## Version 0.3.0 - 13-September-2024

### Added

- New helm chart variant with configurable templates
- CLI tool to convert existing basic chart to configurable templates chart
- Updated @sap/cds-dk to version `8.2.1` for the CLI option parsing issue fix
- Support for dynamic service instance key name in `runtime-values.yaml` file
- Changed workload keys in the `values.yaml` to camelcase

### Fixed

- Removed empty `env` from workloads during mta transformation
- App name derivation fix in template function

## Version 0.2.0 - 21-August-2024

### Added
Expand All @@ -10,7 +25,7 @@ All notable changes to this project will be documented in this file. This projec
- Updated `values.schema.json` to allow additional properties on `values.yaml`
- Removed unused variables from templates
- Unit test enhancements

## Version 0.1.0 - 25-July-2024

### Added
Expand Down
18 changes: 9 additions & 9 deletions lib/add.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,15 @@ module.exports = class CapOperatorAddPlugin extends cds.add.Plugin {
console.log("Review and update the values.yaml file in the 'chart' folder as per your project's requirements.")
}

// Update xs-security.json
const { hasXsuaa } = project
if (hasXsuaa) {
await cds.add.merge(__dirname, '../files/xs-security.json.hbs').into('xs-security.json', {
project,
additions: [{ in: 'scopes', where: { name: '$XSAPPNAME.Callback' }},
{ in: 'scopes', where: { name: '$XSAPPNAME.mtcallback' }}]
})
}
// Update xs-security.json
const { hasXsuaa } = project
if (hasXsuaa) {
await cds.add.merge(__dirname, '../files/xs-security.json.hbs').into('xs-security.json', {
project,
additions: [{ in: 'scopes', where: { name: '$XSAPPNAME.Callback' }},
{ in: 'scopes', where: { name: '$XSAPPNAME.mtcallback' }}]
})
}

console.log("Once values.yaml is updated, run 'cds build' to generate the helm chart. You can find the generated chart in the 'gen' folder within your project directory.")
}
Expand Down
Loading

0 comments on commit f1b9e60

Please sign in to comment.