Skip to content

Commit c428ba8

Browse files
authored
Merge branch 'main' into bugfix/ferret_warnings
2 parents 1a8671c + d87eb88 commit c428ba8

35 files changed

+245
-58
lines changed

.github/charts-values-update-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ charts:
1414
- ghcr.io/netcracker/qubership-docker-zookeeper:${release}
1515
- ghcr.io/netcracker/qubership-zookeeper-monitoring:${release}
1616
- ghcr.io/netcracker/qubership-zookeeper-backup-daemon:${release}
17-
- ghcr.io/netcracker/qubership-zookeeper-integration-tests:${release}
17+
- ghcr.io/netcracker/qubership-zookeeper-integration-tests:${release}
18+
- ghcr.io/netcracker/qubership-docker-kubectl:#latest

Makefile

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ BUNDLE_METADATA_OPTS ?= $(BUNDLE_CHANNELS) $(BUNDLE_DEFAULT_CHANNEL)
3737
# This variable is used to construct full image tags for bundle and catalog images.
3838
#
3939
# For example, running 'make bundle-build bundle-push catalog-build catalog-push' will build and push both
40-
# qubership.org/zookeeper-service-operator-bundle:$VERSION and qubership.org/zookeeper-service-operator-catalog:$VERSION.
41-
IMAGE_TAG_BASE ?= qubership.org/zookeeper-service-operator
40+
# netcracker.com/zookeeper-service-operator-bundle:$VERSION and netcracker.com/zookeeper-service-operator-catalog:$VERSION.
41+
IMAGE_TAG_BASE ?= netcracker.com/zookeeper-service-operator
4242

4343
# BUNDLE_IMG defines the image:tag used for the bundle.
4444
# You can use it as an arg. (E.g make bundle-build BUNDLE_IMG=<some-registry>/<project-name-bundle>:<tag>)
@@ -87,9 +87,9 @@ help: ## Display this help.
8787
.PHONY: manifests
8888
manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
8989
$(CONTROLLER_GEN) rbac:roleName=manager-role crd:maxDescLen=0 webhook paths="./..." output:crd:artifacts:config=config/crd/bases
90-
sed -i "/annotations:/a\ crd.qubership.org\/version: $(CRD_VERSION)" config/crd/bases/qubership.org_zookeeperservices.yaml
90+
sed -i "/annotations:/a\ crd.netcracker.com\/version: $(CRD_VERSION)" config/crd/bases/netcracker.com_zookeeperservices.yaml
9191
$(CONTROLLER_GEN) rbac:roleName=manager-role crd:crdVersions=v1beta1,trivialVersions=false,maxDescLen=0 webhook paths="./..." output:crd:artifacts:config=config/crd/old
92-
sed -i "/annotations:/a\ crd.qubership.org\/version: $(CRD_VERSION)" config/crd/old/qubership.org_zookeeperservices.yaml
92+
sed -i "/annotations:/a\ crd.netcracker.com\/version: $(CRD_VERSION)" config/crd/old/netcracker.com_zookeeperservices.yaml
9393

9494
.PHONY: generate
9595
generate: controller-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
@@ -234,3 +234,8 @@ catalog-build: opm ## Build a catalog image.
234234
.PHONY: catalog-push
235235
catalog-push: ## Push a catalog image.
236236
$(MAKE) docker-push IMG=$(CATALOG_IMG)
237+
238+
capabilities: capmd-gen
239+
CAPMD_GEN=$(CAPMDGEN_DIR)/capmdgen ;\
240+
$(CAPMDGEN_DIR)/capmdgen -schema $(CAPMDGEN_DIR)/schema/capabilities_schema.json \
241+
-yaml ../docs/data/capabilities.yaml -output ../docs/public/capabilites.md

PROJECT

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
domain: qubership.org
1+
domain: netcracker.com
22
layout:
33
- go.kubebuilder.io/v3
44
plugins:
@@ -11,7 +11,7 @@ resources:
1111
crdVersion: v1
1212
namespaced: true
1313
controller: true
14-
domain: qubership.org
14+
domain: netcracker.com
1515
kind: ZooKeeperService
1616
path: github.com/Netcracker/qubership-zookeeper/operator/api/v1
1717
version: v1

SECURITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Security Reporting Process
22

3-
Please, report any security issue to `opensourcegroup@qubership.org` where the issue will be triaged appropriately.
3+
Please, report any security issue to `opensourcegroup@netcracker.com` where the issue will be triaged appropriately.
44

5-
If you know of a publicly disclosed security vulnerability please IMMEDIATELY email `opensourcegroup@qubership.org`
5+
If you know of a publicly disclosed security vulnerability please IMMEDIATELY email `opensourcegroup@netcracker.com`
66
to inform the team about the vulnerability, so we may start the patch, release, and communication process.
77

88
# Security Release Process

docker-zookeeper/docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ RUN set -x \
6767
&& usermod -a -G 0 zookeeper
6868

6969
# Reminder: we don't upgrade it to 3.9.x until Clickhouse support
70-
ARG DISTRO_NAME=apache-zookeeper-3.8.4-bin
71-
ARG DISTRO_VERSION_NAME=zookeeper-3.8.4
70+
ARG DISTRO_NAME=apache-zookeeper-3.8.5-bin
71+
ARG DISTRO_VERSION_NAME=zookeeper-3.8.5
7272
# Download Apache Zookeeper and install
7373
RUN set -x \
7474
&& export DISTR_DIR="$(mktemp -d)" \

docs/internal/operator-guide.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ If API model has incompatible changes, new application version should be release
100100
make manifests
101101
```
102102

103-
Make sure generated CRD `operator/config/crd/bases/qubership.org_zookeeperservices.yaml` contains new version.
103+
Make sure generated CRD `operator/config/crd/bases/netcracker.com_zookeeperservices.yaml` contains new version.
104104

105105
7. Copy content of new generated CRD to `operator/charts/helm/zookeeper-service/crds/crd.yaml` file.
106106

@@ -110,10 +110,10 @@ If API model has incompatible changes, new application version should be release
110110

111111
_operator-sdk_:
112112

113-
* `operator-sdk create api --group qubership.org --version <new_version> --kind=ZooKeeperService --resource`
113+
* `operator-sdk create api --group netcracker.com --version <new_version> --kind=ZooKeeperService --resource`
114114
is the command to add a new custom resource definition API called ZooKeeperService, with APIVersion
115-
`qubership.org/<new_version>` and Kind `ZooKeeperService`.
116-
* `operator-sdk create api --group qubership.org --version <new_version> --kind=ZooKeeperService --controller`
115+
`netcracker.com/<new_version>` and Kind `ZooKeeperService`.
116+
* `operator-sdk create api --group netcracker.com --version <new_version> --kind=ZooKeeperService --controller`
117117
is the command to add a new controller to the project that will watch and reconcile the ZooKeeperService resource.
118118
* `make generate` is the command to update the generated code for the ZooKeeperService resource.
119119
You should run this command every time when you change `zookeeperservice_types.go`.

docs/public/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ To avoid using `cluster-wide` rights during the deployment, the following condit
3434
```yaml
3535
rules:
3636
- apiGroups:
37-
- qubership.org
37+
- netcracker.com
3838
resources:
3939
- "*"
4040
verbs:

operator/api/v1/groupversion_info.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// Package v1 contains API Schema definitions for the qubership.org v1 API group
1+
// Package v1 contains API Schema definitions for the netcracker.com v1 API group
22
// +kubebuilder:object:generate=true
3-
// +groupName=qubership.org
3+
// +groupName=netcracker.com
44
package v1
55

66
import (
@@ -10,7 +10,7 @@ import (
1010

1111
var (
1212
// GroupVersion is group version used to register these objects
13-
GroupVersion = schema.GroupVersion{Group: "qubership.org", Version: "v1"}
13+
GroupVersion = schema.GroupVersion{Group: "netcracker.com", Version: "v1"}
1414

1515
// SchemeBuilder is used to add go types to the GroupVersionKind scheme
1616
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

operator/api/v1alpha1/groupversion_info.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// Package v1alpha1 contains API Schema definitions for the qubership.org v1alpha1 API group
1+
// Package v1alpha1 contains API Schema definitions for the netcracker.com v1alpha1 API group
22
// +kubebuilder:object:generate=true
3-
// +groupName=qubership.org
3+
// +groupName=netcracker.com
44
package v1alpha1
55

66
import (
@@ -10,7 +10,7 @@ import (
1010

1111
var (
1212
// GroupVersion is group version used to register these objects
13-
GroupVersion = schema.GroupVersion{Group: "qubership.org", Version: "v1alpha1"}
13+
GroupVersion = schema.GroupVersion{Group: "netcracker.com", Version: "v1alpha1"}
1414

1515
// SchemeBuilder is used to add go types to the GroupVersionKind scheme
1616
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

operator/charts/helm/zookeeper-service/crds/crd.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ apiVersion: apiextensions.k8s.io/v1
44
kind: CustomResourceDefinition
55
metadata:
66
annotations:
7-
crd.qubership.org/version: 0.9.0
7+
crd.netcracker.com/version: 0.9.0
88
controller-gen.kubebuilder.io/version: v0.6.2
99
creationTimestamp: null
10-
name: zookeeperservices.qubership.org
10+
name: zookeeperservices.netcracker.com
1111
spec:
12-
group: qubership.org
12+
group: netcracker.com
1313
names:
1414
kind: ZooKeeperService
1515
listKind: ZooKeeperServiceList

0 commit comments

Comments
 (0)