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:
Mateusz Korus
2021-09-24 15:00:14 +02:00
committed by GitHub
parent dfae860ca8
commit 31c8368c55
4 changed files with 7 additions and 0 deletions
+4
View File
@@ -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