pull/3991/merge
Matthew Fisher 8 years ago committed by GitHub
commit 6156d4d804
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -232,6 +232,10 @@ func generateDeployment(opts *Options) (*v1beta1.Deployment, error) {
},
}
if opts.ServiceAccount != "" {
d.Spec.Template.Spec.AutomountServiceAccountToken = func(b bool) *bool { return &b }(true)
}
if opts.tls() {
const certsDir = "/etc/certs"

Loading…
Cancel
Save