Skip to content

Commit 15bbc76

Browse files
authored
fix: don't exclude pipelinerun in argocd (#1656)
1 parent feb7c65 commit 15bbc76

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

charts/otomi-pipelines/templates/tekton-tt.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ spec:
1919
kind: PipelineRun
2020
metadata:
2121
generateName: $(tt.params.commitId)-
22+
annotations:
23+
argocd.argoproj.io/compare-options: IgnoreExtraneous
2224
spec:
2325
taskRunTemplate:
2426
serviceAccountName: otomi-tekton-tasks-sa

charts/team-ns/templates/builds/buildpack.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ spec:
9595
{{- include "team-ns.chart-labels" $ | nindent 10 }}
9696
annotations:
9797
sidecar.istio.io/inject: "false"
98+
argocd.argoproj.io/compare-options: IgnoreExtraneous
9899
spec:
99100
pipelineRef:
100101
name: buildpacks-build-{{ .name }}
@@ -133,6 +134,7 @@ metadata:
133134
name: buildpacks-build-{{ .name }}-{{ regexReplaceAll "[|._]{1}" .tag "-" }}
134135
annotations:
135136
sidecar.istio.io/inject: "false"
137+
argocd.argoproj.io/compare-options: IgnoreExtraneous
136138
labels: {{- include "team-ns.chart-labels" $ | nindent 4 }}
137139
spec:
138140
pipelineRef:

charts/team-ns/templates/builds/docker.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ spec:
9393
{{- include "team-ns.chart-labels" $ | nindent 10 }}
9494
annotations:
9595
sidecar.istio.io/inject: "false"
96+
argocd.argoproj.io/compare-options: IgnoreExtraneous
9697
spec:
9798
pipelineRef:
9899
name: docker-build-{{ .name }}
@@ -131,6 +132,7 @@ metadata:
131132
name: docker-build-{{ .name }}-{{ regexReplaceAll "[|._]{1}" .tag "-" }}
132133
annotations:
133134
sidecar.istio.io/inject: "false"
135+
argocd.argoproj.io/compare-options: IgnoreExtraneous
134136
labels: {{- include "team-ns.chart-labels" $ | nindent 4 }}
135137
spec:
136138
pipelineRef:

values/argocd/argocd.gotmpl

-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ configs:
118118
- apiGroups:
119119
- "*"
120120
kinds:
121-
- "PipelineRun"
122121
- "TaskRun"
123122
clusters:
124123
- "*"

0 commit comments

Comments
 (0)