forked from tektoncd/pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add additional useful fields to the pod template
This change adds the fields automountServiceAccountToken, dnsPolicy, dnsConfig, enableServiceLinks, and priorityClassName to the pod template and propagates them directly to the underlying pod spec. The automountServiceAccountToken and enableServiceLinks fields provide an extra degree of security for untrusted workloads and prevent potential envionment variable conflicts with libraries used in pods. The dnsPolicy and dnsConfig fields allow operators to override the DNS configuration for a task. As an example, an operator might want to prevent the CI pods from falling back to the node resolver, instead preferring a recursive resolver that is not tainted by local network configuration. The priorityClassName is useful, for example, for allowing low-priority tasks to be preempted by the Kubernetes scheduler if needed.
- Loading branch information
1 parent
e4b296e
commit 5a9e8ba
Showing
6 changed files
with
140 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters