diff --git a/src/k8s/PipelineRun/utils/createBuildPipelineRunInstance/index.test.ts b/src/k8s/PipelineRun/utils/createBuildPipelineRunInstance/index.test.ts index aa944876..6f87ebf4 100644 --- a/src/k8s/PipelineRun/utils/createBuildPipelineRunInstance/index.test.ts +++ b/src/k8s/PipelineRun/utils/createBuildPipelineRunInstance/index.test.ts @@ -53,6 +53,9 @@ describe('testing createBuildPipelineRunInstance', () => { 'app.edp.epam.com/codebase': 'test-codebase-name', 'app.edp.epam.com/pipelinetype': 'build', }, + annotations: { + 'argocd.argoproj.io/compare-options': 'IgnoreExtraneous', + }, }, spec: { params: [ diff --git a/src/k8s/PipelineRun/utils/createBuildPipelineRunInstance/index.ts b/src/k8s/PipelineRun/utils/createBuildPipelineRunInstance/index.ts index 5f3b50d6..7965d4d1 100644 --- a/src/k8s/PipelineRun/utils/createBuildPipelineRunInstance/index.ts +++ b/src/k8s/PipelineRun/utils/createBuildPipelineRunInstance/index.ts @@ -59,6 +59,9 @@ export const createBuildPipelineRunInstance = ({ 'app.edp.epam.com/codebase': codebaseName, 'app.edp.epam.com/pipelinetype': 'build', }, + annotations: { + 'argocd.argoproj.io/compare-options': 'IgnoreExtraneous', + }, }, spec: { params: [