Skip to content

Commit

Permalink
Migrated task to v1
Browse files Browse the repository at this point in the history
  • Loading branch information
Senjuti256 authored and vdemeester committed Jan 18, 2024
1 parent 6be78c7 commit f7b4e52
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions templates/task.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: tekton.dev/v1beta1
apiVersion: tekton.dev/v1
kind: Task
metadata:
name: buildpacks
Expand Down Expand Up @@ -115,9 +115,9 @@ spec:
stepTemplate:
env:
{{- include "environment" . | nindent 6 }}
{{- if .Values.stepTemplate.resources }}
{{- if .Values.stepTemplate.computeResources }}
resources:
{{- .Values.stepTemplate.resources | toYaml | nindent 6 }}
{{- .Values.stepTemplate.computeResources | toYaml | nindent 6 }}
{{- end }}

steps:
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/resources/10-pipeline.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: tekton.dev/v1beta1
apiVersion: tekton.dev/v1
kind: Pipeline
metadata:
labels:
Expand Down
2 changes: 1 addition & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ cnb:

# sets attributes to all steps
stepTemplate:
resources: {}
computeResources: {}
# limits:
# cpu: 100m
# memory: 128Mi
Expand Down

0 comments on commit f7b4e52

Please sign in to comment.