diff --git a/templates/task.yaml b/templates/task.yaml index d9a54bc..11534e4 100644 --- a/templates/task.yaml +++ b/templates/task.yaml @@ -1,5 +1,5 @@ --- -apiVersion: tekton.dev/v1beta1 +apiVersion: tekton.dev/v1 kind: Task metadata: name: buildpacks @@ -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: diff --git a/test/e2e/resources/10-pipeline.yaml b/test/e2e/resources/10-pipeline.yaml index 6f3f10e..19c1b96 100644 --- a/test/e2e/resources/10-pipeline.yaml +++ b/test/e2e/resources/10-pipeline.yaml @@ -1,5 +1,5 @@ --- -apiVersion: tekton.dev/v1beta1 +apiVersion: tekton.dev/v1 kind: Pipeline metadata: labels: diff --git a/values.yaml b/values.yaml index c654aca..794215c 100644 --- a/values.yaml +++ b/values.yaml @@ -21,7 +21,7 @@ cnb: # sets attributes to all steps stepTemplate: - resources: {} + computeResources: {} # limits: # cpu: 100m # memory: 128Mi