Skip to content

Commit a3078de

Browse files
committed
Remove --http-port and --port from the cockroach operator
1 parent ddb2b44 commit a3078de

22 files changed

+34
-23
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ test/pkg:
5959
# takes a bit of time.
6060
.PHONY: test/verify
6161
test/verify:
62-
bazel test //hack/...
62+
bazel test --test_timeout=1200 //hack/...
6363

6464
.PHONY: test/lint
6565
test/lint:

apis/v1alpha1/cluster_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ type CrdbClusterSpec struct {
4040
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Cockroach Database Image"
4141
// +optional
4242
Image *PodImage `json:"image,omitempty"`
43-
// (Optional) The database port (`--port` CLI parameter when starting the service)
43+
// (Optional) The database port (`--listen-addr` CLI parameter when starting the service)
4444
// Default: 26258
4545
// +optional
4646
GRPCPort *int32 `json:"grpcPort,omitempty"`
47-
// (Optional) The web UI port (`--http-port` CLI parameter when starting the service)
47+
// (Optional) The web UI port (`--http-addr` CLI parameter when starting the service)
4848
// Default: 8080
4949
// +optional
5050
HTTPPort *int32 `json:"httpPort,omitempty"`

config/crd/bases/crdb.cockroachlabs.com_crdbclusters.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,12 +1086,12 @@ spec:
10861086
type: boolean
10871087
type: object
10881088
grpcPort:
1089-
description: '(Optional) The database port (`--port` CLI parameter
1089+
description: '(Optional) The database port (`--listen-addr` CLI parameter
10901090
when starting the service) Default: 26258'
10911091
format: int32
10921092
type: integer
10931093
httpPort:
1094-
description: '(Optional) The web UI port (`--http-port` CLI parameter
1094+
description: '(Optional) The web UI port (`--http-addr` CLI parameter
10951095
when starting the service) Default: 8080'
10961096
format: int32
10971097
type: integer

config/manager/patches/image.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,3 +328,5 @@ spec:
328328
value: cockroachdb/cockroach:v24.2.2
329329
- name: RELATED_IMAGE_COCKROACH_v24_2_3
330330
value: cockroachdb/cockroach:v24.2.3
331+
- name: RELATED_IMAGE_COCKROACH_v24_2_4
332+
value: cockroachdb/cockroach:v24.2.4

config/manifests/bases/cockroach-operator.clusterserviceversion.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,8 @@ spec:
501501
name: RELATED_IMAGE_COCKROACH_v24_2_2
502502
- image: registry.connect.redhat.com/cockroachdb/cockroach@sha256:acc083f7dde1fbc557d858d03fc26b68b2056997fc1a457e4695650214d5b303
503503
name: RELATED_IMAGE_COCKROACH_v24_2_3
504+
- image: registry.connect.redhat.com/cockroachdb/cockroach@sha256:226d7f1c3f0d70ac6532ad9490bebcdef44a40959b6aa7c11b0f2d1383a46217
505+
name: RELATED_IMAGE_COCKROACH_v24_2_4
504506
- image: RH_COCKROACH_OP_IMAGE_PLACEHOLDER
505507
name: RELATED_IMAGE_COCKROACH_OPERATOR
506508
version: 0.0.0

config/manifests/patches/deployment_patch.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,4 +337,6 @@ spec:
337337
value: registry.connect.redhat.com/cockroachdb/cockroach@sha256:08cec123813304ab03bd66d72a09949667a874a42320bedafda391ebcdb2e56c
338338
- name: RELATED_IMAGE_COCKROACH_v24_2_3
339339
value: registry.connect.redhat.com/cockroachdb/cockroach@sha256:acc083f7dde1fbc557d858d03fc26b68b2056997fc1a457e4695650214d5b303
340+
- name: RELATED_IMAGE_COCKROACH_v24_2_4
341+
value: registry.connect.redhat.com/cockroachdb/cockroach@sha256:226d7f1c3f0d70ac6532ad9490bebcdef44a40959b6aa7c11b0f2d1383a46217
340342
image: RH_COCKROACH_OP_IMAGE_PLACEHOLDER

config/samples/crdb-tls-example.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ kind: CrdbCluster
1919
metadata:
2020
name: crdb-tls-example
2121
spec:
22-
cockroachDBVersion: v24.2.3
22+
cockroachDBVersion: v24.2.4
2323
dataStore:
2424
pvc:
2525
spec:

crdb-versions.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,3 +475,6 @@ CrdbVersions:
475475
- image: cockroachdb/cockroach:v24.2.3
476476
redhatImage: registry.connect.redhat.com/cockroachdb/cockroach@sha256:acc083f7dde1fbc557d858d03fc26b68b2056997fc1a457e4695650214d5b303
477477
tag: v24.2.3
478+
- image: cockroachdb/cockroach:v24.2.4
479+
redhatImage: registry.connect.redhat.com/cockroachdb/cockroach@sha256:226d7f1c3f0d70ac6532ad9490bebcdef44a40959b6aa7c11b0f2d1383a46217
480+
tag: v24.2.4

examples/client-secure-operator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ spec:
2323
serviceAccountName: cockroachdb-sa
2424
containers:
2525
- name: cockroachdb-client-secure
26-
image: cockroachdb/cockroach:v24.2.3
26+
image: cockroachdb/cockroach:v24.2.4
2727
imagePullPolicy: IfNotPresent
2828
volumeMounts:
2929
- name: client-certs

examples/example.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ spec:
4040
memory: 8Gi
4141
tlsEnabled: true
4242
# You can set either a version of the db or a specific image name
43-
# cockroachDBVersion: v24.2.3
43+
# cockroachDBVersion: v24.2.4
4444
image:
45-
name: cockroachdb/cockroach:v24.2.3
45+
name: cockroachdb/cockroach:v24.2.4
4646
# nodes refers to the number of crdb pods that are created
4747
# via the statefulset
4848
nodes: 3

0 commit comments

Comments
 (0)