mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-10-03 22:51:09 +02:00
Add HostAliases to schema (#656)
Add HostAliases to schema and propagate them to pods so the user can add entries to /etc/hosts
This commit is contained in:
@@ -372,6 +372,10 @@ type JenkinsMaster struct {
|
||||
// PriorityClassName for Jenkins master pod
|
||||
// +optional
|
||||
PriorityClassName string `json:"priorityClassName,omitempty"`
|
||||
|
||||
// HostAliases for Jenkins master pod and SeedJob agent
|
||||
// +optional
|
||||
HostAliases []corev1.HostAlias `json:"hostAliases,omitempty"`
|
||||
}
|
||||
|
||||
// Service defines Kubernetes service attributes
|
||||
|
||||
Reference in New Issue
Block a user