Skip to content

Commit fd4aacc

Browse files
Updates for operator sdk v1.28 (#45)
* 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]>
1 parent 9ac9961 commit fd4aacc

File tree

55 files changed

+1385
-194
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1385
-194
lines changed

.ci/openshift_integration.sh

+8
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,12 @@ make controller-gen
2626
make install-cert
2727
# wait one minute for cert manager to get set up
2828
sleep 60
29+
# need to deploy the registry operator to run tests
30+
# ToDo: Remove later after the addition of readiness check, integration tests can deploy the operator however tests fail if
31+
# pod is not ready in time.
32+
make install && make deploy
33+
# wait 15 seconds for registry operator to get set up
34+
sleep 15
35+
36+
# run integration test suite
2937
make test-integration

.github/PULL_REQUEST_TEMPLATE.md

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Fixes #?
88

99
**PR acceptance criteria**:
1010

11+
- [ ] Change Log
12+
- Are all your changes documented under the [upcoming release](../CHANGELOG.md#unreleased) entry?
1113
- [ ] Test Coverage
1214
- Are your changes sufficiently tested, and are any applicable test cases added or updated to cover your changes?
1315
- [ ] Gosec scans

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: Set up Go 1.x
1414
uses: actions/setup-go@v2
1515
with:
16-
go-version: 1.18
16+
go-version: 1.19
1717
-
1818
name: Check out code into the Go module directory
1919
uses: actions/checkout@v2

.github/workflows/codecov.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Go 1.x
1515
uses: actions/setup-go@v2
1616
with:
17-
go-version: 1.18
17+
go-version: 1.19
1818
- name: Run tests
1919
run: make test
2020
- name: Codecov

CHANGELOG.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Change Log
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
5+
and this project adheres to [Semantic Versioning](http://semver.org/).
6+
7+
## [Unreleased]
8+
9+
### Added
10+
- [devfile/api#1106](https://github.com/devfile/api/issues/1106)
11+
Registry operator should be in sync with operator SDK releases
12+
- Addition of `CHANGELOG.md`
13+
14+
### Changed
15+
16+
- [devfile/api#1106](https://github.com/devfile/api/issues/1106)
17+
Registry operator should be in sync with operator SDK releases
18+
- Syncs changes up to operator sdk v1.28
19+
- [v1.28.0 changes](https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.28.0/)
20+
- [v1.25.0 changes](https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.25.0/)
21+
- [v1.23.0 changes](https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.23.0/)
22+
- [devfile/api#881](https://github.com/devfile/api/issues/881)
23+
Update Ginkgo version in registry operator
24+
25+
### Fixed
26+
- [devfile/api#1106](https://github.com/devfile/api/issues/1106)
27+
Registry operator should be in sync with operator SDK releases
28+
- Registry operator service account changed from `default` to `service-account` to fix permissions error for creating leader election leases

CONTRIBUTING.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,13 @@ You can tag Devfile Registry related issues with the `/area registry` text in yo
3232

3333
4. Run `make docker-push` to push the devfile registry operator image.
3434

35-
5. Run `make install-cert` to install the cert-manager.
35+
5. (Optional, **docker only**) Run `make docker-buildx` to build and push the devfile registry operator multi-architecture image
3636

37-
6. Run `make install` to install the CRDs.
37+
6. Run `make install-cert` to install the cert-manager.
3838

39-
7. Run `make deploy` to deploy the operator.
39+
7. Run `make install` to install the CRDs.
40+
41+
8. Run `make deploy` to deploy the operator.
4042

4143
### Testing your Changes
4244

Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Build the manager binary
2-
FROM golang:1.18 as builder
2+
FROM golang:1.19 as builder
3+
ARG TARGETARCH
34

45
WORKDIR /workspace
56
# Copy the Go Modules manifests
@@ -16,7 +17,7 @@ COPY controllers/ controllers/
1617
COPY pkg/ pkg/
1718

1819
# Build
19-
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o manager main.go
20+
RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} GO111MODULE=on go build -a -o manager main.go
2021

2122
ARG ENABLE_WEBHOOKS=true
2223
ENV ENABLE_WEBHOOKS=${ENABLE_WEBHOOKS}

Makefile

+61-57
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ BUNDLE_METADATA_OPTS ?= $(BUNDLE_CHANNELS) $(BUNDLE_DEFAULT_CHANNEL)
1818
IMG ?= quay.io/devfile/registry-operator:next
1919
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
2020
ENVTEST_K8S_VERSION = 1.26
21-
21+
# Controller tools version number
22+
CONTROLLER_TOOLS_VERSION ?= v0.9.2
23+
# Kustomize version number
24+
KUSTOMIZE_VERSION ?= v3.8.7
2225

2326
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
2427
ifeq (,$(shell go env GOBIN))
@@ -67,32 +70,48 @@ all: build
6770
help: ## Display this help.
6871
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_0-9-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)
6972

73+
##@ Build Dependencies
74+
75+
## Local binary path
76+
LOCALBIN ?= $(shell pwd)/bin
77+
$(LOCALBIN):
78+
mkdir -p $(LOCALBIN)
79+
80+
## Tool binaries
81+
KUSTOMIZE ?= $(LOCALBIN)/kustomize
82+
CONTROLLER_GEN ?= $(LOCALBIN)/controller-gen
83+
ENVTEST ?= $(LOCALBIN)/setup-envtest
84+
7085
##@ Development
7186

7287
.PHONY: test
7388
test: manifests generate fmt vet envtest ## Run tests.
74-
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) -p path)" go test `go list ./... | grep -v /tests/` -coverprofile cover.out -v
89+
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) -p path)" go test -timeout=1h `go list ./... | grep -v /tests/` -coverprofile cover.out -v
7590

7691
### test-integration: runs integration tests on the cluster set in context.
92+
.PHONY: test-integration
7793
test-integration:
78-
CGO_ENABLED=0 go test -v -c -o bin/devfileregistry-operator-integration ./tests/integration/cmd/devfileregistry_test.go
79-
./bin/devfileregistry-operator-integration
94+
CGO_ENABLED=0 go test -v -c -o $(LOCALBIN)/devfileregistry-operator-integration ./tests/integration/cmd/devfileregistry_test.go
95+
# Create junit report output file if does not exist
96+
mkdir -p /tmp/artifacts && touch /tmp/artifacts/junit-devfileregistry-operator.xml
97+
$(LOCALBIN)/devfileregistry-operator-integration -ginkgo.fail-fast --ginkgo.junit-report=/tmp/artifacts/junit-devfileregistry-operator.xml
8098

8199
##@ Build
82100

83-
.PHONY: build
84-
manager: generate fmt vet ## Build manager binary.
85-
go build -o bin/manager main.go
101+
.PHONY: build manager
102+
manager: manifests generate fmt vet ## Build manager binary.
103+
go build -o $(LOCALBIN)/manager ./cmd/main.go
86104

87105
.PHONY: run
88106
run: manifests generate fmt vet ## Run a controller from your host.
89-
go run ./main.go
107+
go run ./cmd/main.go
90108

91109
.PHONY: manifests
92110
manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
93111
$(CONTROLLER_GEN) rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases
94112

95113
### check_fmt: Checks the formatting on files in repo
114+
.PHONY: check_fmt
96115
check_fmt:
97116
ifeq ($(shell command -v goimports 2> /dev/null),)
98117
$(error "goimports must be installed for this rule" && exit 1)
@@ -113,6 +132,7 @@ fmt: ## Run go fmt against code.
113132
go fmt ./...
114133

115134
### fmt_license: ensure license header is set on all files
135+
.PHONY: fmt_license
116136
fmt_license:
117137
ifneq ($(shell command -v addlicense 2> /dev/null),)
118138
@echo 'addlicense -v -f license_header.txt **/*.go'
@@ -139,30 +159,39 @@ docker-build:
139159
docker-push:
140160
docker push ${IMG}
141161

162+
# 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.
168+
# **docker-buildx does not work with podman**
169+
PLATFORMS ?= linux/arm64,linux/amd64,linux/s390x,linux/ppc64le
170+
.PHONY: docker-buildx
171+
docker-buildx: test ## Build and push docker image for the manager for cross-platform support
172+
# copy existing Dockerfile and insert --platform=${BUILDPLATFORM} into Dockerfile.cross, and preserve the original Dockerfile
173+
sed -e '1 s/\(^FROM\)/FROM --platform=\$$\{BUILDPLATFORM\}/; t' -e ' 1,// s//FROM --platform=\$$\{BUILDPLATFORM\}/' Dockerfile > Dockerfile.cross
174+
- docker buildx create --name registry-operator-builder
175+
docker buildx use registry-operator-builder
176+
- docker buildx build --push --platform=$(PLATFORMS) --tag ${IMG} -f Dockerfile.cross $(shell pwd)
177+
- docker buildx rm registry-operator-builder
178+
rm Dockerfile.cross
179+
180+
.PHONY: install-cert
142181
install-cert: ## Install cert manager for webhooks
143182
$(K8S_CLI) apply -f https://github.com/cert-manager/cert-manager/releases/download/$(CERT_MANAGER_VERSION)/cert-manager.yaml
144183

184+
.PHONY: uninstall-cert
145185
uninstall-cert:
146186
$(K8S_CLI) delete -f https://github.com/cert-manager/cert-manager/releases/download/$(CERT_MANAGER_VERSION)/cert-manager.yaml
147187

148188
# find or download controller-gen
149189
# download controller-gen if necessary
150-
controller-gen:
151-
ifeq (, $(shell which controller-gen))
152-
@{ \
153-
set -e ;\
154-
CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\
155-
cd $$CONTROLLER_GEN_TMP_DIR ;\
156-
go mod init tmp ;\
157-
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)
166195

167196
##@ Deployment
168197

@@ -183,41 +212,16 @@ deploy: manifests kustomize ## Deploy controller to the K8s cluster specified in
183212
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.
184213
$(KUSTOMIZE) build config/default | $(K8S_CLI) delete -f -
185214

215+
KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
216+
.PHONY: kustomize
217+
kustomize: $(KUSTOMIZE)
218+
$(KUSTOMIZE): $(LOCALBIN)
219+
test -s $(LOCALBIN)/kustomize || { curl -s $(KUSTOMIZE_INSTALL_SCRIPT) | bash -s -- $(subst v,,$(KUSTOMIZE_VERSION)) $(LOCALBIN); }
186220

187-
kustomize:
188-
ifeq (, $(shell which kustomize))
189-
@{ \
190-
set -e ;\
191-
KUSTOMIZE_GEN_TMP_DIR=$$(mktemp -d) ;\
192-
cd $$KUSTOMIZE_GEN_TMP_DIR ;\
193-
go mod init tmp ;\
194-
GOFLAGS="" go install sigs.k8s.io/kustomize/kustomize/[email protected] ;\
195-
go mod vendor ;\
196-
rm -rf $$KUSTOMIZE_GEN_TMP_DIR ;\
197-
}
198-
KUSTOMIZE=$(GOBIN)/kustomize
199-
else
200-
KUSTOMIZE=$(shell which kustomize)
201-
endif
202-
203-
ENVTEST = $(shell pwd)/bin/setup-envtest
204221
.PHONY: envtest
205-
envtest: ## Download envtest-setup locally if necessary.
206-
$(call go-get-tool,$(ENVTEST),sigs.k8s.io/controller-runtime/tools/setup-envtest@latest)
207-
208-
# go-get-tool will 'go install' any package $2 and install it to $1.
209-
PROJECT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))
210-
define go-get-tool
211-
@[ -f $(1) ] || { \
212-
set -e ;\
213-
TMP_DIR=$$(mktemp -d) ;\
214-
cd $$TMP_DIR ;\
215-
go mod init tmp ;\
216-
echo "Downloading $(2)" ;\
217-
GOBIN=$(PROJECT_DIR)/bin go install $(2) ;\
218-
rm -rf $$TMP_DIR ;\
219-
}
220-
endef
222+
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
223+
$(ENVTEST): $(LOCALBIN)
224+
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) GOFLAGS="" go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
221225

222226
# Generate bundle manifests and metadata, then validate generated files.
223227
.PHONY: bundle

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ The Devfile Registry operator manages the lifecycle of the following custom reso
1010

1111
Issue tracking repo: https://github.com/devfile/api with label area/registry
1212

13+
## Changelog
14+
15+
Access the [CHANGELOG.md](CHANGELOG.md) here.
16+
1317
## Requirements
1418

1519
Deployment cluster must meet one of the following criteria:
@@ -64,6 +68,7 @@ Some of the rules supported by the makefile:
6468
| kustomize | install the kustomize tool, used by other commands |
6569
| docker-build | build registry operator docker image |
6670
| docker-push | push registry operator docker image |
71+
| docker-buildx | build & push registry operator docker image for all supported architectures \(**does not work with podman**\) |
6772
| deploy | deploy operator to cluster |
6873
| undeploy | undeploy operator from cluster |
6974
| install | create the devfile registry CRDs on the cluster |

api/v1alpha1/clusterdevfileregistrieslist_webhook_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"fmt"
2222

2323
. "github.com/devfile/registry-operator/pkg/test"
24-
. "github.com/onsi/ginkgo"
24+
. "github.com/onsi/ginkgo/v2"
2525
. "github.com/onsi/gomega"
2626
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2727
"k8s.io/apimachinery/pkg/types"

api/v1alpha1/devfileregistrieslist_webhook_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"fmt"
2222

2323
. "github.com/devfile/registry-operator/pkg/test"
24-
. "github.com/onsi/ginkgo"
24+
. "github.com/onsi/ginkgo/v2"
2525
. "github.com/onsi/gomega"
2626
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2727
"k8s.io/apimachinery/pkg/types"

api/v1alpha1/devfileregistry_webhook_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"context"
2121

2222
. "github.com/devfile/registry-operator/pkg/test"
23-
. "github.com/onsi/ginkgo"
23+
. "github.com/onsi/ginkgo/v2"
2424
. "github.com/onsi/gomega"
2525

2626
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

api/v1alpha1/webhook_suite_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
3131
"k8s.io/apimachinery/pkg/types"
3232

33-
. "github.com/onsi/ginkgo"
33+
. "github.com/onsi/ginkgo/v2"
3434
. "github.com/onsi/gomega"
3535

3636
admissionv1beta1 "k8s.io/api/admission/v1beta1"
@@ -158,7 +158,7 @@ var _ = BeforeSuite(func() {
158158
return nil
159159
}).Should(Succeed())
160160

161-
}, 60)
161+
})
162162

163163
var _ = AfterSuite(func() {
164164
// delete the devfileregistries namespace

api/v1alpha1/zz_generated.deepcopy.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bundle/manifests/registry-operator-controller-manager-metrics-service_v1_service.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ kind: Service
33
metadata:
44
creationTimestamp: null
55
labels:
6+
app.kubernetes.io/component: kube-rbac-proxy
7+
app.kubernetes.io/created-by: devfileregistry-operator
8+
app.kubernetes.io/instance: controller-manager-metrics-service
9+
app.kubernetes.io/managed-by: kustomize
10+
app.kubernetes.io/name: service
11+
app.kubernetes.io/part-of: devfileregistry-operator
612
control-plane: controller-manager
713
name: registry-operator-controller-manager-metrics-service
814
spec:

bundle/manifests/registry-operator-default_v1_serviceaccount.yaml

-5
This file was deleted.

bundle/manifests/registry-operator-metrics-reader_rbac.authorization.k8s.io_v1_clusterrole.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ apiVersion: rbac.authorization.k8s.io/v1
22
kind: ClusterRole
33
metadata:
44
creationTimestamp: null
5+
labels:
6+
app.kubernetes.io/component: kube-rbac-proxy
7+
app.kubernetes.io/created-by: devfileregistry-operator
8+
app.kubernetes.io/instance: metrics-reader
9+
app.kubernetes.io/managed-by: kustomize
10+
app.kubernetes.io/name: clusterrole
11+
app.kubernetes.io/part-of: devfileregistry-operator
512
name: registry-operator-metrics-reader
613
rules:
714
- nonResourceURLs:

0 commit comments

Comments
 (0)