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
* required changes to update operator sdk
Signed-off-by: Michael Valdron <[email protected]>
* ginkgo v2 migration changes.
Signed-off-by: Michael Valdron <[email protected]>
* remove extra ENVTEST definition
Signed-off-by: Michael Valdron <[email protected]>
* dependencies updated to match operator sdk v1.28 requirements
Signed-off-by: Michael Valdron <[email protected]>
* refactoring controllers package to internal/controller package as part of go/v4 prep changes in operator sdk v1.28
Signed-off-by: Michael Valdron <[email protected]>
* bump gcr.io/kubebuilder/kube-rbac-proxy from v0.13.0 to v0.13.1 as part of operator sdk v1.28 changes
Signed-off-by: Michael Valdron <[email protected]>
* refactoring main.go to cmd/main.go as part of go/v4 prep changes in operator sdk v1.28
Signed-off-by: Michael Valdron <[email protected]>
* update header under integration test source
Signed-off-by: Michael Valdron <[email protected]>
* update go version from 1.18 to 1.19 under ci workflows
Signed-off-by: Michael Valdron <[email protected]>
* import admissionv1beta1 changed to admissionv1 as part of operator sdk v1.28 changes
Signed-off-by: Michael Valdron <[email protected]>
* update license header and boilerplate files
Signed-off-by: Michael Valdron <[email protected]>
* rbac service account role bindings fixed with labels added
Signed-off-by: Michael Valdron <[email protected]>
* security context for manager container updated.
Signed-off-by: Michael Valdron <[email protected]>
* recent changes applied to bundle manifests
Signed-off-by: Michael Valdron <[email protected]>
* service account renamed to fix name prefix issue.
Signed-off-by: Michael Valdron <[email protected]>
* fixed envtest binary name
Signed-off-by: Michael Valdron <[email protected]>
* fixed relative path to 'config/crd/bases' under controller test suite
Signed-off-by: Michael Valdron <[email protected]>
* controller-gen deepcopy source update to header
Signed-off-by: Michael Valdron <[email protected]>
* fixup docker-buildx rule
Signed-off-by: Michael Valdron <[email protected]>
* CHANGELOG added
Signed-off-by: Michael Valdron <[email protected]>
* included change log documenting as part of PR acceptance criteria
Signed-off-by: Michael Valdron <[email protected]>
* target os is always linux
Signed-off-by: Michael Valdron <[email protected]>
* sa changed to service-account
Signed-off-by: Michael Valdron <[email protected]>
* bundle csv update
Signed-off-by: Michael Valdron <[email protected]>
* go v4 project structure changes reverted.
Signed-off-by: Michael Valdron <[email protected]>
* restore unset GOFLAGS
Signed-off-by: Michael Valdron <[email protected]>
* use operator namespace when waiting for operator pod to run for integration test suite
Signed-off-by: Michael Valdron <[email protected]>
* add registry operator deploy command to openshift integration test script
Signed-off-by: Michael Valdron <[email protected]>
* add touch command in Makefile to create junit report if does not exist
Signed-off-by: Michael Valdron <[email protected]>
* add docker-buildx optional step to build and run the operator instruction under CONTRIBUTING.md
Signed-off-by: Michael Valdron <[email protected]>
* make /tmp/artifacts directory if does not exist before running integration tests
Signed-off-by: Michael Valdron <[email protected]>
---------
Signed-off-by: Michael Valdron <[email protected]>
# PLATFORMS defines the target platforms for the manager image be build to provide support to multiple
163
+
# architectures. (i.e. make docker-buildx IMG=quay.io/devfile/registry-operator:next). To use this option you need to:
164
+
# - able to use docker buildx . More info: https://docs.docker.com/build/buildx/
165
+
# - have enable BuildKit, More info: https://docs.docker.com/develop/develop-images/build_enhancements/
166
+
# - be able to push the image for your registry (i.e. if you do not inform a valid value via IMG=quay.io/<user>/registry-operator:next than the export will fail)
167
+
# To properly provided solutions that supports more than one platform you should use this option.
GOFLAGS="" go install sigs.k8s.io/controller-tools/cmd/[email protected] ;\
158
-
rm -rf $$CONTROLLER_GEN_TMP_DIR ;\
159
-
}
160
-
CONTROLLER_GEN=$(GOBIN)/controller-gen
161
-
else
162
-
CONTROLLER_GEN=$(shell which controller-gen)
163
-
endif
164
-
165
-
190
+
.PHONY: controller-gen
191
+
controller-gen: $(CONTROLLER_GEN)
192
+
$(CONTROLLER_GEN): $(LOCALBIN)
193
+
test -s $(LOCALBIN)/controller-gen &&$(LOCALBIN)/controller-gen --version | grep -q $(CONTROLLER_TOOLS_VERSION)||\
194
+
GOBIN=$(LOCALBIN) GOFLAGS="" go install sigs.k8s.io/controller-tools/cmd/controller-gen@$(CONTROLLER_TOOLS_VERSION)
166
195
167
196
##@ Deployment
168
197
@@ -183,41 +212,16 @@ deploy: manifests kustomize ## Deploy controller to the K8s cluster specified in
183
212
undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/config. Call with ignore-not-found=true to ignore resource not found errors during deletion.
0 commit comments