Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot dry-run the first rollout on the operator. #1160

Open
Munklinde96 opened this issue Aug 21, 2024 · 0 comments
Open

Cannot dry-run the first rollout on the operator. #1160

Munklinde96 opened this issue Aug 21, 2024 · 0 comments

Comments

@Munklinde96
Copy link
Member

Munklinde96 commented Aug 21, 2024

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/[email protected]/handler.go:52\nconnectrpc.com/connect.NewUnaryHandler[...].func2\n\t/home/runner/go/pkg/mod/connectrpc.com/[email protected]/handler.go:70\nconnectrpc.com/connect.(*Handler).ServeHTTP\n\t/home/runner/go/pkg/mod/connectrpc.com/[email protected]/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/[email protected]/src/net/http/server.go:2166\nnet/http.(*ServeMux).ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2683\ngolang.org/x/net/http2.(*serverConn).runHandler\n\t/home/runner/go/pkg/mod/golang.org/x/[email protected]/http2/server.go:2414"}

This means that we can only see the resulting resource on a platform level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant