Skip to content

Commit

Permalink
fix: tekton pipeline resources
Browse files Browse the repository at this point in the history
Signed-off-by: xuzhu-591 <zhuxu591@163.com>
  • Loading branch information
xuzhu-591 committed Jul 26, 2023
1 parent 51ba4fd commit 9b99563
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion charts/tektoncd/templates/tekton-pipelines/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1105,11 +1105,17 @@ spec:
"-shell-image", "{{ .Values.tektonPipelineController.shellImage }}",
# for script mode to work with windows we need a powershell image
# pinning to nanoserver tag as of July 15 2021
"-shell-image-win", "{{ .Values.tektonPipelineController.shellImageWin }}",
"-shell-image-win", "{{ .Values.tektonPipelineController.shellImageWin }}"
# Experimental. Uncomment below to disable TaskRun and PipelineRun
# reconcilers' built-in taskRef and pipelineRef resolution procedures.
# "-experimental-disable-in-tree-resolution",
{{- range .Values.tektonPipelineController.extraArgs }}
, {{ . | quote }}
{{- end }}
]
{{- with .Values.tektonPipelineController.resources }}
resources: {{ toYaml . | nindent 12 }}
{{- end }}
volumeMounts:
- name: config-logging
mountPath: /etc/config-logging
Expand Down
2 changes: 2 additions & 0 deletions charts/tektoncd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ tektonPipelineController:
gsutilImage: gcr.io/google.com/cloudsdktool/cloud-sdk@sha256:27b2c22bf259d9bc1a291e99c63791ba0c27a04d2db0a43241ba0f1f20f4067f
shellImage: gcr.io/distroless/base:debug
shellImageWin: mcr.microsoft.com/powershell:nanoserver@sha256:b6d5ff841b78bdf2dfed7550000fd4f3437385b8fa686ec0f010be24777654d6
extraArgs: []
resources: {}

tektonPipelineWebhook:
image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/webhook:v0.28.0@sha256:f19dd16303ff8a8d55d706db5c8f8db593ba597684888bb15e70420fc4824103
Expand Down

0 comments on commit 9b99563

Please sign in to comment.