Skip to content

Commit

Permalink
Merge pull request #560 from opendevstack/fix/label-propagation
Browse files Browse the repository at this point in the history
Do not add chart labels to tasks
  • Loading branch information
michaelsauter authored Jun 10, 2022
2 parents 166c2ef + 29f6f79 commit 154166d
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 16 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ listed in the changelog.

### Fixed
- Pipeline runs are not pruned ([#557](https://github.com/opendevstack/ods-pipeline/issues/557))
- Pipeline pods are listed under deployment pods ([#555](https://github.com/opendevstack/ods-pipeline/issues/555))

## [0.5.0] - 2022-06-09

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ apiVersion: tekton.dev/v1beta1
kind: '{{default "Task" .Values.global.taskKind}}'
metadata:
name: '{{default "ods" .Values.taskPrefix}}-build-go{{- include "taskSuffix" .}}'
labels:
{{- include "chart.labels" . | nindent 4}}
annotations:
"helm.sh/resource-policy": keep
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ apiVersion: tekton.dev/v1beta1
kind: '{{default "Task" .Values.global.taskKind}}'
metadata:
name: '{{default "ods" .Values.taskPrefix}}-build-gradle{{- include "taskSuffix" .}}'
labels:
{{- include "chart.labels" . | nindent 4}}
annotations:
"helm.sh/resource-policy": keep
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ apiVersion: tekton.dev/v1beta1
kind: '{{default "Task" .Values.global.taskKind}}'
metadata:
name: '{{default "ods" .Values.taskPrefix}}-build-npm{{- include "taskSuffix" .}}'
labels:
{{- include "chart.labels" . | nindent 4}}
annotations:
"helm.sh/resource-policy": keep
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ apiVersion: tekton.dev/v1beta1
kind: '{{default "Task" .Values.global.taskKind}}'
metadata:
name: '{{default "ods" .Values.taskPrefix}}-build-python{{- include "taskSuffix" .}}'
labels:
{{- include "chart.labels" . | nindent 4}}
annotations:
"helm.sh/resource-policy": keep
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ apiVersion: tekton.dev/v1beta1
kind: '{{default "Task" .Values.global.taskKind}}'
metadata:
name: '{{default "ods" .Values.taskPrefix}}-deploy-helm{{- include "taskSuffix" .}}'
labels:
{{- include "chart.labels" . | nindent 4}}
annotations:
"helm.sh/resource-policy": keep
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ apiVersion: tekton.dev/v1beta1
kind: '{{default "Task" .Values.global.taskKind}}'
metadata:
name: '{{default "ods" .Values.taskPrefix}}-finish{{- include "taskSuffix" .}}'
labels:
{{- include "chart.labels" . | nindent 4}}
annotations:
"helm.sh/resource-policy": keep
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ apiVersion: tekton.dev/v1beta1
kind: '{{default "Task" .Values.global.taskKind}}'
metadata:
name: '{{default "ods" .Values.taskPrefix}}-package-image{{- include "taskSuffix" .}}'
labels:
{{- include "chart.labels" . | nindent 4}}
annotations:
"helm.sh/resource-policy": keep
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ apiVersion: tekton.dev/v1beta1
kind: '{{default "Task" .Values.global.taskKind}}'
metadata:
name: '{{default "ods" .Values.taskPrefix}}-start{{- include "taskSuffix" .}}'
labels:
{{- include "chart.labels" . | nindent 4}}
annotations:
"helm.sh/resource-policy": keep
spec:
Expand Down

0 comments on commit 154166d

Please sign in to comment.