Skip to content

Commit

Permalink
Fix entrypoint commands for cluster images
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholastmosher committed Apr 12, 2021
1 parent ce21dcb commit 36c66b9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion k8-util/docker/build.sh
Expand Up @@ -6,7 +6,7 @@ if [ -n "$MINIKUBE_DOCKER_ENV" ]; then
fi

tmp_dir=$(mktemp -d -t fluvio-docker-image-XXXXXX)
cp target/x86_64-unknown-linux-musl/$CARGO_PROFILE/fluvio-run $tmp_dir/fluvio
cp target/x86_64-unknown-linux-musl/$CARGO_PROFILE/fluvio-run $tmp_dir/fluvio-run
cp $(dirname $0)/fluvio.Dockerfile $tmp_dir/Dockerfile
cd $tmp_dir
docker build -t infinyon/fluvio:$DOCKER_TAG .
Expand Down
2 changes: 1 addition & 1 deletion k8-util/docker/fluvio.Dockerfile
@@ -1,2 +1,2 @@
FROM alpine:3.12
COPY fluvio fluvio
COPY fluvio-run fluvio-run
2 changes: 1 addition & 1 deletion k8-util/helm/fluvio-app/templates/sc-deployment.yaml
Expand Up @@ -26,7 +26,7 @@ spec:
env:
- name: RUST_LOG
value: {{ .Values.scLog }}
command: ["/fluvio", "run", "sc"]
command: ["/fluvio-run", "sc"]
{{ if .Values.tls }}
args:
- --tls
Expand Down
3 changes: 1 addition & 2 deletions src/sc/src/k8/objects/spg_group.rs
Expand Up @@ -160,8 +160,7 @@ mod k8_convert {
let mut volumes = vec![];

let mut args = vec![
"/fluvio".to_owned(),
"run".to_owned(),
"/fluvio-run".to_owned(),
"spu".to_owned(),
"--sc-addr".to_owned(),
format!(
Expand Down

0 comments on commit 36c66b9

Please sign in to comment.