Add basic security context to Tiller pod template

pull/3993/head
Mark Janssen 8 years ago
parent 2b7d216e87
commit f011f74e54

@ -225,6 +225,9 @@ func generateDeployment(opts *Options) (*v1beta1.Deployment, error) {
InitialDelaySeconds: 1, InitialDelaySeconds: 1,
TimeoutSeconds: 1, TimeoutSeconds: 1,
}, },
SecurityContext: &v1.SecurityContext{
RunAsNonRoot: &[]bool{false}[0],
},
}, },
}, },
HostNetwork: opts.EnableHostNetwork, HostNetwork: opts.EnableHostNetwork,

Loading…
Cancel
Save