Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.
This repository is currently being migrated. It's locked while the migration is in progress.

Commit

Permalink
script: Increment env var index for tracing
Browse files Browse the repository at this point in the history
Addition of new related image env var `RELATED_IMAGE_API_MANAGER` shifted the array index of tracing related env vars. Increment the index value to fix it.
Long term fix is in #271 using kustomize.
  • Loading branch information
darkowlzz authored Oct 20, 2020
1 parent 808dac1 commit bacf74f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/create-manifest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ OPERATOR_MANIFEST=deploy/operator-generated.yaml
cp deploy/operator.yaml $OPERATOR_MANIFEST

if [ -n "$JAEGER_ENDPOINT" ]; then
build/yq w -i $OPERATOR_MANIFEST spec.template.spec.containers[0].env[19].value $JAEGER_ENDPOINT
build/yq w -i $OPERATOR_MANIFEST spec.template.spec.containers[0].env[20].value $JAEGER_ENDPOINT
fi
if [ -n "$JAEGER_SERVICE_NAME" ]; then
build/yq w -i $OPERATOR_MANIFEST spec.template.spec.containers[0].env[20].value $JAEGER_SERVICE_NAME
build/yq w -i $OPERATOR_MANIFEST spec.template.spec.containers[0].env[21].value $JAEGER_SERVICE_NAME
fi

# Write the operator manifest with the proper container image tag.
Expand Down

0 comments on commit bacf74f

Please sign in to comment.