├── .by-cicd ├── .gitignore ├── .osdk-scorecard.yaml ├── CONTRIBUTING.md ├── Dockerfile ├── Dockerfile.ppc64le ├── Dockerfile.s390x ├── LICENSE ├── Makefile ├── OWNERS ├── PROJECT ├── README.md ├── SECURITY_CONTACTS ├── api └── v1alpha1 │ ├── groupversion_info.go │ ├── mongodb_types.go │ └── zz_generated.deepcopy.go ├── base_images.json ├── bundle.Dockerfile ├── bundle ├── manifests │ ├── ibm-mongodb-operator.clusterserviceversion.yaml │ └── operator.ibm.com_mongodbs.yaml └── metadata │ └── annotations.yaml ├── common ├── Makefile.common.mk ├── config │ └── .golangci.yml └── scripts │ ├── .githooks │ ├── make_lint-all.sh │ └── pre-commit │ ├── add-image-shas.sh │ ├── config_docker.sh │ ├── delete-csv.sh │ ├── install-operator-sdk.sh │ ├── lint_copyright_banner.sh │ ├── lint_go.sh │ ├── next-csv.sh │ └── push-csv.sh ├── config ├── certmanager │ ├── certificate.yaml │ ├── kustomization.yaml │ └── kustomizeconfig.yaml ├── crd │ ├── bases │ │ └── operator.ibm.com_mongodbs.yaml │ ├── kustomization.yaml │ ├── kustomizeconfig.yaml │ └── patches │ │ ├── cainjection_in_mongodbs.yaml │ │ └── webhook_in_mongodbs.yaml ├── default │ ├── kustomization.yaml │ ├── manager_auth_proxy_patch.yaml │ ├── manager_webhook_patch.yaml │ └── webhookcainjection_patch.yaml ├── manager │ ├── kustomization.yaml │ └── manager.yaml ├── manifests │ ├── bases │ │ └── ibm-mongodb-operator.clusterserviceversion.yaml │ └── kustomization.yaml ├── prometheus │ ├── kustomization.yaml │ └── monitor.yaml ├── rbac │ ├── auth_proxy_client_clusterrole.yaml │ ├── auth_proxy_role.yaml │ ├── auth_proxy_role_binding.yaml │ ├── auth_proxy_service.yaml │ ├── kustomization.yaml │ ├── leader_election_role.yaml │ ├── leader_election_role_binding.yaml │ ├── mongodb_editor_role.yaml │ ├── mongodb_viewer_role.yaml │ ├── role.yaml │ ├── role_binding.yaml │ └── service_account.yaml ├── samples │ ├── kustomization.yaml │ └── mongodb_v1alpha1_mongodb.yaml ├── scorecard │ ├── bases │ │ └── config.yaml │ ├── kustomization.yaml │ └── patches │ │ ├── basic.config.yaml │ │ └── olm.config.yaml └── webhook │ ├── kustomization.yaml │ ├── kustomizeconfig.yaml │ └── service.yaml ├── controllers ├── certificate.go ├── icp-service.go ├── initconfigmap.go ├── installconfigmap.go ├── mongoconfigmap.go ├── mongodb_controller.go ├── service.go ├── service_account.go ├── statefulset.go └── suite_test.go ├── go.mod ├── go.sum ├── hack └── boilerplate.go.txt ├── main.go ├── tools.go └── version └── version.go /.by-cicd: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/.gitignore -------------------------------------------------------------------------------- /.osdk-scorecard.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/.osdk-scorecard.yaml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/Dockerfile -------------------------------------------------------------------------------- /Dockerfile.ppc64le: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/Dockerfile.ppc64le -------------------------------------------------------------------------------- /Dockerfile.s390x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/Dockerfile.s390x -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/Makefile -------------------------------------------------------------------------------- /OWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/OWNERS -------------------------------------------------------------------------------- /PROJECT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/PROJECT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY_CONTACTS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/SECURITY_CONTACTS -------------------------------------------------------------------------------- /api/v1alpha1/groupversion_info.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/api/v1alpha1/groupversion_info.go -------------------------------------------------------------------------------- /api/v1alpha1/mongodb_types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/api/v1alpha1/mongodb_types.go -------------------------------------------------------------------------------- /api/v1alpha1/zz_generated.deepcopy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/api/v1alpha1/zz_generated.deepcopy.go -------------------------------------------------------------------------------- /base_images.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/base_images.json -------------------------------------------------------------------------------- /bundle.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/bundle.Dockerfile -------------------------------------------------------------------------------- /bundle/manifests/ibm-mongodb-operator.clusterserviceversion.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/bundle/manifests/ibm-mongodb-operator.clusterserviceversion.yaml -------------------------------------------------------------------------------- /bundle/manifests/operator.ibm.com_mongodbs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/bundle/manifests/operator.ibm.com_mongodbs.yaml -------------------------------------------------------------------------------- /bundle/metadata/annotations.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/bundle/metadata/annotations.yaml -------------------------------------------------------------------------------- /common/Makefile.common.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/common/Makefile.common.mk -------------------------------------------------------------------------------- /common/config/.golangci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/common/config/.golangci.yml -------------------------------------------------------------------------------- /common/scripts/.githooks/make_lint-all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/common/scripts/.githooks/make_lint-all.sh -------------------------------------------------------------------------------- /common/scripts/.githooks/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/common/scripts/.githooks/pre-commit -------------------------------------------------------------------------------- /common/scripts/add-image-shas.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/common/scripts/add-image-shas.sh -------------------------------------------------------------------------------- /common/scripts/config_docker.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/common/scripts/config_docker.sh -------------------------------------------------------------------------------- /common/scripts/delete-csv.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/common/scripts/delete-csv.sh -------------------------------------------------------------------------------- /common/scripts/install-operator-sdk.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/common/scripts/install-operator-sdk.sh -------------------------------------------------------------------------------- /common/scripts/lint_copyright_banner.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/common/scripts/lint_copyright_banner.sh -------------------------------------------------------------------------------- /common/scripts/lint_go.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/common/scripts/lint_go.sh -------------------------------------------------------------------------------- /common/scripts/next-csv.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/common/scripts/next-csv.sh -------------------------------------------------------------------------------- /common/scripts/push-csv.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/common/scripts/push-csv.sh -------------------------------------------------------------------------------- /config/certmanager/certificate.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/certmanager/certificate.yaml -------------------------------------------------------------------------------- /config/certmanager/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/certmanager/kustomization.yaml -------------------------------------------------------------------------------- /config/certmanager/kustomizeconfig.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/certmanager/kustomizeconfig.yaml -------------------------------------------------------------------------------- /config/crd/bases/operator.ibm.com_mongodbs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/crd/bases/operator.ibm.com_mongodbs.yaml -------------------------------------------------------------------------------- /config/crd/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/crd/kustomization.yaml -------------------------------------------------------------------------------- /config/crd/kustomizeconfig.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/crd/kustomizeconfig.yaml -------------------------------------------------------------------------------- /config/crd/patches/cainjection_in_mongodbs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/crd/patches/cainjection_in_mongodbs.yaml -------------------------------------------------------------------------------- /config/crd/patches/webhook_in_mongodbs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/crd/patches/webhook_in_mongodbs.yaml -------------------------------------------------------------------------------- /config/default/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/default/kustomization.yaml -------------------------------------------------------------------------------- /config/default/manager_auth_proxy_patch.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/default/manager_auth_proxy_patch.yaml -------------------------------------------------------------------------------- /config/default/manager_webhook_patch.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/default/manager_webhook_patch.yaml -------------------------------------------------------------------------------- /config/default/webhookcainjection_patch.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/default/webhookcainjection_patch.yaml -------------------------------------------------------------------------------- /config/manager/kustomization.yaml: -------------------------------------------------------------------------------- 1 | resources: 2 | - manager.yaml 3 | -------------------------------------------------------------------------------- /config/manager/manager.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/manager/manager.yaml -------------------------------------------------------------------------------- /config/manifests/bases/ibm-mongodb-operator.clusterserviceversion.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/manifests/bases/ibm-mongodb-operator.clusterserviceversion.yaml -------------------------------------------------------------------------------- /config/manifests/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/manifests/kustomization.yaml -------------------------------------------------------------------------------- /config/prometheus/kustomization.yaml: -------------------------------------------------------------------------------- 1 | resources: 2 | - monitor.yaml 3 | -------------------------------------------------------------------------------- /config/prometheus/monitor.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/prometheus/monitor.yaml -------------------------------------------------------------------------------- /config/rbac/auth_proxy_client_clusterrole.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/rbac/auth_proxy_client_clusterrole.yaml -------------------------------------------------------------------------------- /config/rbac/auth_proxy_role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/rbac/auth_proxy_role.yaml -------------------------------------------------------------------------------- /config/rbac/auth_proxy_role_binding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/rbac/auth_proxy_role_binding.yaml -------------------------------------------------------------------------------- /config/rbac/auth_proxy_service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/rbac/auth_proxy_service.yaml -------------------------------------------------------------------------------- /config/rbac/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/rbac/kustomization.yaml -------------------------------------------------------------------------------- /config/rbac/leader_election_role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/rbac/leader_election_role.yaml -------------------------------------------------------------------------------- /config/rbac/leader_election_role_binding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/rbac/leader_election_role_binding.yaml -------------------------------------------------------------------------------- /config/rbac/mongodb_editor_role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/rbac/mongodb_editor_role.yaml -------------------------------------------------------------------------------- /config/rbac/mongodb_viewer_role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/rbac/mongodb_viewer_role.yaml -------------------------------------------------------------------------------- /config/rbac/role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/rbac/role.yaml -------------------------------------------------------------------------------- /config/rbac/role_binding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/rbac/role_binding.yaml -------------------------------------------------------------------------------- /config/rbac/service_account.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/rbac/service_account.yaml -------------------------------------------------------------------------------- /config/samples/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/samples/kustomization.yaml -------------------------------------------------------------------------------- /config/samples/mongodb_v1alpha1_mongodb.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/samples/mongodb_v1alpha1_mongodb.yaml -------------------------------------------------------------------------------- /config/scorecard/bases/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/scorecard/bases/config.yaml -------------------------------------------------------------------------------- /config/scorecard/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/scorecard/kustomization.yaml -------------------------------------------------------------------------------- /config/scorecard/patches/basic.config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/scorecard/patches/basic.config.yaml -------------------------------------------------------------------------------- /config/scorecard/patches/olm.config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/scorecard/patches/olm.config.yaml -------------------------------------------------------------------------------- /config/webhook/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/webhook/kustomization.yaml -------------------------------------------------------------------------------- /config/webhook/kustomizeconfig.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/webhook/kustomizeconfig.yaml -------------------------------------------------------------------------------- /config/webhook/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/config/webhook/service.yaml -------------------------------------------------------------------------------- /controllers/certificate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/controllers/certificate.go -------------------------------------------------------------------------------- /controllers/icp-service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/controllers/icp-service.go -------------------------------------------------------------------------------- /controllers/initconfigmap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/controllers/initconfigmap.go -------------------------------------------------------------------------------- /controllers/installconfigmap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/controllers/installconfigmap.go -------------------------------------------------------------------------------- /controllers/mongoconfigmap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/controllers/mongoconfigmap.go -------------------------------------------------------------------------------- /controllers/mongodb_controller.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/controllers/mongodb_controller.go -------------------------------------------------------------------------------- /controllers/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/controllers/service.go -------------------------------------------------------------------------------- /controllers/service_account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/controllers/service_account.go -------------------------------------------------------------------------------- /controllers/statefulset.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/controllers/statefulset.go -------------------------------------------------------------------------------- /controllers/suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/controllers/suite_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/go.sum -------------------------------------------------------------------------------- /hack/boilerplate.go.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/hack/boilerplate.go.txt -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/main.go -------------------------------------------------------------------------------- /tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/tools.go -------------------------------------------------------------------------------- /version/version.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/ibm-mongodb-operator/HEAD/version/version.go --------------------------------------------------------------------------------