Skip to content

Commit 6039477

Browse files
runtime repo fix (#130)
* add repo to runtime.spec * bump version
1 parent 1d82c21 commit 6039477

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

cmd/commands/runtime.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ func RunRuntimeInstall(ctx context.Context, opts *RuntimeInstallOptions) error {
275275
opts.RuntimeToken = token
276276
rt.Spec.Cluster = server
277277
rt.Spec.IngressHost = opts.IngressHost
278+
rt.Spec.Repo = opts.InsCloneOpts.Repo
278279

279280
log.G(ctx).WithField("version", rt.Spec.Version).Infof("Installing runtime '%s'", opts.RuntimeName)
280281
err = apcmd.RunRepoBootstrap(ctx, &apcmd.RepoBootstrapOptions{

pkg/runtime/runtime.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ type (
5656
Components []AppDef `json:"components"`
5757
Cluster string `json:"cluster"`
5858
IngressHost string `json:"ingressHost"`
59+
Repo string `json:"repo"`
5960

6061
devMode bool
6162
}

0 commit comments

Comments
 (0)