diff --git a/Makefile b/Makefile index 10ab7867..cbb18907 100644 --- a/Makefile +++ b/Makefile @@ -284,9 +284,8 @@ endif .PHONY: bundle bundle: manifests kustomize operator-sdk ## Generate bundle manifests and metadata, then validate generated files. $(OPERATOR_SDK) generate kustomize manifests --interactive=false -q - cd config/manager && $(KUSTOMIZE) edit set image controller=$(IMG) + cd config/manager && $(KUSTOMIZE) edit set image controller=$(IMG) && cd ../.. $(KUSTOMIZE) build config/manifests | $(OPERATOR_SDK) generate bundle $(BUNDLE_GEN_FLAGS) - $(OPERATOR_SDK) bundle validate ./bundle .PHONY: bundle-build bundle-build: ## Build the bundle image. diff --git a/config/manifests/bases/wildfly-operator.clusterserviceversion.yaml b/config/manifests/bases/wildfly-operator.clusterserviceversion.yaml index a314e479..e204cce1 100644 --- a/config/manifests/bases/wildfly-operator.clusterserviceversion.yaml +++ b/config/manifests/bases/wildfly-operator.clusterserviceversion.yaml @@ -19,14 +19,14 @@ metadata: capabilities: Seamless Upgrades categories: Application Runtime certified: "false" - containerImage: quay.io/wildfly/wildfly-operator:1.0.0 - createdAt: "2022-03-08T08:00:00Z" + containerImage: quay.io/wildfly/wildfly-operator:1.1.0 + createdAt: "2024-05-10T00:00:00Z" description: Operator that deploys and manages Java applications running on WildFly. - operators.operatorframework.io/builder: operator-sdk-v1.22.0 + operators.operatorframework.io/builder: operator-sdk-v1.25.4 operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 repository: https://github.com/wildfly/wildfly-operator support: WildFlyServer - name: wildfly-operator.v1.0.0 + name: wildfly-operator.v1.1.0 namespace: placeholder spec: apiservicedefinitions: {} @@ -191,7 +191,7 @@ spec: fieldPath: metadata.name - name: OPERATOR_NAME value: wildfly-operator - image: quay.io/wildfly/wildfly-operator:1.0.0 + image: quay.io/wildfly/wildfly-operator:1.1.0 imagePullPolicy: Always livenessProbe: httpGet: @@ -226,6 +226,27 @@ spec: terminationGracePeriodSeconds: 10 permissions: - rules: + - apiGroups: + - "" + - coordination.k8s.io + resources: + - configmaps + - leases + verbs: + - get + - list + - watch + - create + - update + - patch + - delete + - apiGroups: + - "" + resources: + - events + verbs: + - create + - patch - apiGroups: - "" resources: @@ -335,11 +356,11 @@ spec: - email: wildfly-dev@lists.jboss.org name: WildFly Community maturity: alpha - minKubeVersion: 1.24.0 + minKubeVersion: 1.25.0 provider: name: WildFly - replaces: wildfly-operator.v0.5.6 + replaces: wildfly-operator.v1.0.0 selector: matchLabels: operated-by: wildfly-operator - version: 1.0.0 + version: 1.1.0 diff --git a/manifests/wildfly/1.1.0/manifests/wildfly-operator.v1.1.0.clusterserviceversion.yaml b/manifests/wildfly/1.1.0/manifests/wildfly-operator.v1.1.0.clusterserviceversion.yaml index 8099f5a8..0c0dc643 100644 --- a/manifests/wildfly/1.1.0/manifests/wildfly-operator.v1.1.0.clusterserviceversion.yaml +++ b/manifests/wildfly/1.1.0/manifests/wildfly-operator.v1.1.0.clusterserviceversion.yaml @@ -22,7 +22,7 @@ metadata: containerImage: quay.io/wildfly/wildfly-operator:1.1.0 createdAt: '2024-05-10T00:00:00Z' description: Operator that deploys and manages Java applications running on WildFly. - operators.operatorframework.io/builder: operator-sdk-v1.25.0 + operators.operatorframework.io/builder: operator-sdk-v1.25.4 operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 repository: https://github.com/wildfly/wildfly-operator support: WildFlyServer