mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-10-18 05:54:47 +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:
@@ -439,6 +439,7 @@ func agentDeployment(jenkins *v1alpha2.Jenkins, namespace string, agentName stri
|
||||
NodeSelector: jenkins.Spec.Master.NodeSelector,
|
||||
Tolerations: jenkins.Spec.Master.Tolerations,
|
||||
ImagePullSecrets: jenkins.Spec.Master.ImagePullSecrets,
|
||||
HostAliases: jenkins.Spec.Master.HostAliases,
|
||||
Containers: []corev1.Container{
|
||||
{
|
||||
Name: "jnlp",
|
||||
|
||||
Reference in New Issue
Block a user