Skip to content

Commit

Permalink
Add Entrypoint to the docker image of cockroach-operator
Browse files Browse the repository at this point in the history
  • Loading branch information
prafull01 committed Feb 5, 2025
1 parent 58abbe6 commit f5990a9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions cmd/cockroach-operator/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ oci_image(
"//cmd/cockroach-operator/linux-amd64:cockroach-linux-amd64-tar",
":operator_image_linux_amd64",
],
entrypoint = ["./cockroach-operator"],
)

oci_image(
Expand All @@ -85,6 +86,7 @@ oci_image(
"//cmd/cockroach-operator/linux-arm64:cockroach-linux-arm64-tar",
":operator_image_linux_arm64",
],
entrypoint = ["./cockroach-operator"],
)

pkg_tar(
Expand Down
2 changes: 0 additions & 2 deletions config/manager/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ spec:
- name: cockroach-operator
image: cockroachdb/cockroach-operator:latest
imagePullPolicy: IfNotPresent
command:
- ./cockroach-operator
args:
- -zap-log-level
- info
Expand Down
2 changes: 0 additions & 2 deletions install/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,6 @@ spec:
- args:
- -zap-log-level
- info
command:
- ./cockroach-operator
env:
- name: RELATED_IMAGE_COCKROACH_v21_1_0
value: cockroachdb/cockroach:v21.1.0
Expand Down

0 comments on commit f5990a9

Please sign in to comment.