Skip to content

Commit

Permalink
Implement clean uninstall of operator (#117)
Browse files Browse the repository at this point in the history
* Implement clean uninstall of operator

This commit includes changes in the controller to
remove resources created in the namespaces other than
the operator namespace. Removal of external resources
is triggered once a delete configMap is added to the
operator namespace

* Update go mod

Commands Run: go mod tidy
  • Loading branch information
VaishnaviHire committed Apr 15, 2021
1 parent 7573745 commit c9d89f1
Show file tree
Hide file tree
Showing 4 changed files with 177 additions and 134 deletions.
5 changes: 3 additions & 2 deletions go.mod
Expand Up @@ -15,6 +15,7 @@ require (
github.com/elazarl/goproxy/ext v0.0.0-20190711103511-473e67f1d7d2 // indirect
github.com/fatih/color v1.7.0
github.com/ghodss/yaml v1.0.1-0.20190212211648-25d852aebe32
github.com/go-openapi/spec v0.19.5 // indirect
github.com/go-yaml/yaml v2.1.0+incompatible
github.com/gogo/protobuf v1.3.1
github.com/golangplus/testing v0.0.0-20180327235837-af21d9c3145e
Expand All @@ -26,6 +27,7 @@ require (
github.com/jlewi/cloud-endpoints-controller v0.0.0-20200604211613-aff0aaad5602
github.com/kubernetes-sigs/application v0.8.0
github.com/onrik/logrus v0.5.1
github.com/operator-framework/operator-lifecycle-manager v0.0.0-20191115003340-16619cd27fa5
github.com/operator-framework/operator-sdk v0.13.0
github.com/otiai10/copy v1.0.2
github.com/pkg/errors v0.8.1
Expand All @@ -44,17 +46,16 @@ require (
google.golang.org/api v0.25.0
google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84
gopkg.in/airbrake/gobrake.v2 v2.0.9 // indirect
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 // indirect
gopkg.in/yaml.v2 v2.2.8
k8s.io/api v0.17.0
k8s.io/apiextensions-apiserver v0.0.0
k8s.io/apimachinery v0.17.1
k8s.io/cli-runtime v0.0.0
k8s.io/client-go v12.0.0+incompatible
k8s.io/code-generator v0.18.1 // indirect
k8s.io/kubernetes v1.16.2
sigs.k8s.io/controller-runtime v0.4.0
sigs.k8s.io/kustomize/kyaml v0.1.10
sigs.k8s.io/kustomize/v3 v3.2.0
sigs.k8s.io/yaml v1.1.0
)
Expand Down

0 comments on commit c9d89f1

Please sign in to comment.