Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Entrypoint to the docker image of cockroach-operator #1084

Merged
merged 1 commit into from
Feb 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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