diff --git a/cmd/helm/init.go b/cmd/helm/init.go index 5e8c47dc8..766cb8e62 100644 --- a/cmd/helm/init.go +++ b/cmd/helm/init.go @@ -109,12 +109,15 @@ func (i *initCmd) run() error { if err != nil { return err } - fmt.Fprintln(i.out, dm) + fm := fmt.Sprintf("apiVersion: extensions/v1beta1\nkind: Deployment\n%s", dm) + fmt.Fprintln(i.out, fm) + sm, err := installer.ServiceManifest(i.namespace) if err != nil { return err } - fmt.Fprintln(i.out, sm) + fm = fmt.Sprintf("apiVersion: v1\nkind: Service\n%s", sm) + fmt.Fprintln(i.out, fm) } if i.dryRun {