Skip to content

Commit

Permalink
Provide initial values files for environments
Browse files Browse the repository at this point in the history
  • Loading branch information
segfault16 committed Sep 17, 2024
1 parent f445e25 commit 00ceccd
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker-plain/Jenkinsfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ odsComponentPipeline(
odsComponentStageBuildOpenShiftImage(context)
}
odsComponentStageRolloutOpenShiftDeployment(context, [
'selector': "app.kubernetes.io/name=${context.componentId}"
'selector': "app.kubernetes.io/name=${context.componentId}",
'helmEnvBasedValuesFiles': ["values.env.yaml"],
])
}

Expand Down
1 change: 1 addition & 0 deletions docker-plain/files/chart/values.dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file is used to override the default values in the chart/values.yaml file for deployment in 'dev' environment
3 changes: 3 additions & 0 deletions docker-plain/files/chart/values.prod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# This file is used to override the default values in the chart/values.yaml file for deployment in 'prod' environment

replicaCount: 2
3 changes: 3 additions & 0 deletions docker-plain/files/chart/values.test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# This file is used to override the default values in the chart/values.yaml file for deployment in 'test' environment

replicaCount: 2

0 comments on commit 00ceccd

Please sign in to comment.