diff --git a/docker-plain/Jenkinsfile.template b/docker-plain/Jenkinsfile.template index 9f93839b3..e537a211a 100644 --- a/docker-plain/Jenkinsfile.template +++ b/docker-plain/Jenkinsfile.template @@ -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"], ]) } diff --git a/docker-plain/files/chart/values.dev.yaml b/docker-plain/files/chart/values.dev.yaml new file mode 100644 index 000000000..99520c495 --- /dev/null +++ b/docker-plain/files/chart/values.dev.yaml @@ -0,0 +1 @@ +# This file is used to override the default values in the chart/values.yaml file for deployment in 'dev' environment \ No newline at end of file diff --git a/docker-plain/files/chart/values.prod.yaml b/docker-plain/files/chart/values.prod.yaml new file mode 100644 index 000000000..3fd11896a --- /dev/null +++ b/docker-plain/files/chart/values.prod.yaml @@ -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 \ No newline at end of file diff --git a/docker-plain/files/chart/values.test.yaml b/docker-plain/files/chart/values.test.yaml new file mode 100644 index 000000000..8c6f855da --- /dev/null +++ b/docker-plain/files/chart/values.test.yaml @@ -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 \ No newline at end of file