You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 24, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 24, 2025. It is now read-only.
Cannot dry-run the first rollout on the operator. #1160
When dry-running the first rollout, it fails in the operator as the namespace does not yet exist. I get the following error
"error committing changes","error":"could not render create to /v1, Kind=ServiceAccount/test/my-capsule: not_found: namespaces \"test\" not found","stacktrace":"github.com/rigdev/rig/pkg/pipeline.executeRequestInner[...]\n\t/home/runner/_work/rig/rig/pkg/pipeline/pipeline.go:194\ngithub.com/rigdev/rig/pkg/pipeline.ExecuteRequest[...]\n\t/home/runner/_work/rig/rig/pkg/pipeline/pipeline.go:149\ngithub.com/rigdev/rig/pkg/pipeline.(*CapsulePipeline).RunCapsule\n\t/home/runner/_work/rig/rig/pkg/pipeline/pipeline.go:106\ngithub.com/rigdev/rig/pkg/service/pipeline.(*service).DryRun\n\t/home/runner/_work/rig/rig/pkg/service/pipeline/service.go:150\ngithub.com/rigdev/rig/pkg/handler/api/pipeline.(*handler).DryRun\n\t/home/runner/_work/rig/rig/pkg/handler/api/pipeline/dry_run.go:54\nconnectrpc.com/connect.NewUnaryHandler[...].func1\n\t/home/runner/go/pkg/mod/connectrpc.com/connect@v1.16.2/handler.go:52\nconnectrpc.com/connect.NewUnaryHandler[...].func2\n\t/home/runner/go/pkg/mod/connectrpc.com/connect@v1.16.2/handler.go:70\nconnectrpc.com/connect.(*Handler).ServeHTTP\n\t/home/runner/go/pkg/mod/connectrpc.com/connect@v1.16.2/handler.go:238\ngithub.com/rigdev/rig-go-api/operator/api/v1/pipeline/pipelineconnect.NewServiceHandler.func1\n\t/home/runner/_work/rig/rig/gen/go/rig/operator/api/v1/pipeline/pipelineconnect/service.connect.go:126\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.2.linux-amd64/src/net/http/server.go:2166\nnet/http.(*ServeMux).ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.2.linux-amd64/src/net/http/server.go:2683\ngolang.org/x/net/http2.(*serverConn).runHandler\n\t/home/runner/go/pkg/mod/golang.org/x/net@v0.28.0/http2/server.go:2414"}
This means that we can only see the resulting resource on a platform level.
Activity