Skip to content

Commit

Permalink
Merge pull request #67 from cdfoundation/controllerresources
Browse files Browse the repository at this point in the history
feat: configure controller resources with values
  • Loading branch information
msvticket authored Sep 10, 2024
2 parents 1c63604 + 2c70b56 commit 99b8926
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
python-version: 3.7

- name: Set up chart-testing
uses: helm/chart-testing-action@v2.4.0
uses: helm/chart-testing-action@v2.6.1

- name: Run chart-testing (list-changed)
id: list-changed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ spec:
{{- end }}
containers:
- name: tekton-pipelines-controller
resources:
helmTemplateRemoveMe: |
{{- toYaml .Values.controller.resources | nindent 10 }}
envFrom:
- secretRef:
name: "{{ .Values.controller.envFromSecret }}"
Expand Down
1 change: 1 addition & 0 deletions charts/tekton-pipeline/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ controller:
- windows
tolerations: []
nodeSelector: {}
resources: {}
# Values for tekton-pipelines-webhook
webhook:
deployment:
Expand Down

0 comments on commit 99b8926

Please sign in to comment.