Skip to content

Commit

Permalink
Fix: [SMP-2375]: changed function name for waitContainers (#76)
Browse files Browse the repository at this point in the history
* fix: [SMP-2375]: Updated chart version
* fix: [SMP-2375]: function name change from common. to harnesscommon.
---------
Signed-off-by: Akash Shrivastava <[email protected]>
  • Loading branch information
avaakash authored Jan 10, 2024
1 parent e702096 commit 26354b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/common/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: library
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.3.3
version: 1.3.4

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
4 changes: 2 additions & 2 deletions src/common/templates/_initContainer.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ Params:
{{/*
Create initContainer with wait for label app
Usage: {{ include "common.initContainer.waitForContainer" (dict "root" . "containerName" "container-name" "appName" "app-name") }}
Usage: {{ include "harnesscommon.initContainer.waitForContainer" (dict "root" . "containerName" "container-name" "appName" "app-name") }}

Params:
- values - Object - Required. helm values
- containerName - String - Optional. name of the container to set
- appName - String - Required. name of the app to wait for
*/}}

{{- define "common.initContainer.waitForContainer" -}}
{{- define "harnesscommon.initContainer.waitForContainer" -}}
{{- $values := .root.Values }}
{{- $local := $values.waitForInitContainer }}
{{- $global := $values.global.waitForInitContainer }}
Expand Down

0 comments on commit 26354b9

Please sign in to comment.