Skip to content

Commit

Permalink
Migrated resources from v1beta1 to v1
Browse files Browse the repository at this point in the history
  • Loading branch information
Senjuti256 authored and openshift-merge-bot[bot] committed Jan 8, 2024
1 parent 98ae0e2 commit 6c85da2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 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: git
Expand Down Expand Up @@ -140,9 +140,9 @@ spec:
stepTemplate:
env:
{{- include "environment-variables" . | nindent 6 }}
{{- if .Values.stepTemplate.resources }}
resources:
{{- .Values.stepTemplate.resources | toYaml | nindent 6 }}
{{- if .Values.stepTemplate.computeResources }}
computeResources:
{{- .Values.stepTemplate.computeResources | toYaml | nindent 6 }}
{{- end }}
{{- if .Values.stepTemplate.securityContext }}
securityContext:
Expand Down
2 changes: 1 addition & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ stepTemplate:
securityContext:
runAsNonRoot: true
runAsUser: 65532
resources:
computeResources:
limits:
cpu: 100m
memory: 256Mi
Expand Down

0 comments on commit 6c85da2

Please sign in to comment.