Skip to content

Commit 8499cd3

Browse files
committed
Add Entrypoint to the docker image of cockroach-operator
1 parent f109a91 commit 8499cd3

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

cmd/cockroach-operator/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ oci_image(
7373
"//cmd/cockroach-operator/linux-amd64:cockroach-linux-amd64-tar",
7474
":operator_image_linux_amd64",
7575
],
76+
entrypoint = ["./cockroach-operator"],
7677
)
7778

7879
oci_image(
@@ -85,6 +86,7 @@ oci_image(
8586
"//cmd/cockroach-operator/linux-arm64:cockroach-linux-arm64-tar",
8687
":operator_image_linux_arm64",
8788
],
89+
entrypoint = ["./cockroach-operator"],
8890
)
8991

9092
pkg_tar(

config/manager/deployment.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ spec:
3333
- name: cockroach-operator
3434
image: cockroachdb/cockroach-operator:latest
3535
imagePullPolicy: IfNotPresent
36-
command:
37-
- ./cockroach-operator
3836
args:
3937
- -zap-log-level
4038
- info

install/operator.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,8 +384,6 @@ spec:
384384
- args:
385385
- -zap-log-level
386386
- info
387-
command:
388-
- ./cockroach-operator
389387
env:
390388
- name: RELATED_IMAGE_COCKROACH_v21_1_0
391389
value: cockroachdb/cockroach:v21.1.0

0 commit comments

Comments
 (0)