Skip to content
This repository was archived by the owner on Jan 28, 2022. It is now read-only.

Conversation

@stuartleeks
Copy link
Collaborator

@stuartleeks stuartleeks commented Nov 26, 2019

Temporary PR to have a build that clears out secrets left over from previous test runs to workaround errors such as found in this build

My assumption is that this will be rendered unnecessary by #101 at some point?

2019-11-26T08:55:52.540Z	ERROR	controller-runtime.controller	Reconciler error	{"controller": "secretscope", "request": "default/secretscope-with-secrets", "error": "error when submitting secret scope to the API: Response from server (400) {\"error_code\":\"RESOURCE_ALREADY_EXISTS\",\"message\":\"Scope secretscope-with-secrets already exists!\"}"}
github.com/go-logr/zapr.(*zapLogger).Error
	/home/vsts/work/1/s/gopath/pkg/mod/github.com/go-logr/[email protected]/zapr.go:128
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/home/vsts/work/1/s/gopath/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:218
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/home/vsts/work/1/s/gopath/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:192
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker
	/home/vsts/work/1/s/gopath/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:171
k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1
	/home/vsts/work/1/s/gopath/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:152
k8s.io/apimachinery/pkg/util/wait.JitterUntil
	/home/vsts/work/1/s/gopath/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:153
k8s.io/apimachinery/pkg/util/wait.Until
	/home/vsts/work/1/s/gopath/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:88

@stuartleeks stuartleeks changed the title Add commands to clear out left-over secrets in CI build Temp: Add commands to clear out left-over secrets in CI build Nov 26, 2019
@stuartleeks
Copy link
Collaborator Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@stuartleeks
Copy link
Collaborator Author

Closing as I don't believe this is needed now that #101 is merged

@stuartleeks stuartleeks closed this Dec 2, 2019
@stuartleeks stuartleeks deleted the sl/clean-secrets branch December 11, 2019 11:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant