Skip to content

Commit

Permalink
Merge branch 'main' into newHelmChart
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhprasad-sap committed Aug 22, 2024
2 parents e285550 + 07a5d6b commit bfd08a7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

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.2.0 - 21-August-2024

### Added

- Updated to CDS v8
- 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
2 changes: 1 addition & 1 deletion files/chart/templates/cap-operator-cros.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ metadata:
name: {{ include "capApplicationVersionName" $ }}
spec:
capApplicationInstance: "cap-{{ include "appName" $ }}"
version: "{{ .Values.app.version | default .Release.Revision }}"
version: "{{ .Release.Revision }}"
registrySecrets:
{{- range .Values.imagePullSecrets }}
- {{.}}
Expand Down
2 changes: 1 addition & 1 deletion lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and cap-operator
SPDX-License-Identifier: Apache-2.0
*/

const cds = require('@sap/cds-dk');
const cds = require('@sap/cds-dk')
const { exists, path } = cds.utils

module.exports = class CapOperatorBuildPlugin extends cds.build.Plugin {
Expand Down
2 changes: 1 addition & 1 deletion lib/mta-transformer.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SPDX-License-Identifier: Apache-2.0

const cds = require('@sap/cds-dk')
const { join } = cds.utils.path
const md5 = data => require('crypto').createHash('md5').update(data).digest('hex');
const md5 = data => require('crypto').createHash('md5').update(data).digest('hex')

const { replacePlaceholders, mergeObj } = require('./util')

Expand Down

0 comments on commit bfd08a7

Please sign in to comment.