-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #127 from kube-logging/chore/bump-openobserve
chore: bump openobserve
- Loading branch information
Showing
2 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,7 +69,7 @@ spec: | |
# terminationGracePeriodSeconds: 0 | ||
containers: | ||
- name: openobserve | ||
image: public.ecr.aws/zinclabs/openobserve:v0.7.2 | ||
image: public.ecr.aws/zinclabs/openobserve:v0.14.0 | ||
env: | ||
- name: ZO_ROOT_USER_EMAIL | ||
value: [email protected] | ||
|
@@ -123,10 +123,11 @@ kubectl -n openobserve port-forward svc/openobserve 5080:5080 & | |
#kubectl -n openobserve port-forward svc/openobserve-otlp-grpc 5081:5081 & | ||
sleep 5 | ||
|
||
# TODO: use yq instead of sed | ||
OO_ORG_PWD=$(curl --silent localhost:5080/api/default/organizations/passcode -v --user [email protected]:Complexpass#123 | jq .data.passcode -r) | ||
OO_TOKEN=$(echo -n [email protected]:$OO_ORG_PWD | base64) | ||
sed -i '' -e "s/Authorization.*/Authorization:\ \"Basic ${OO_TOKEN}\"/" ./demo.yaml | ||
OO_USER="[email protected]" | ||
OO_PWD="Complexpass#123" | ||
OO_PASSCODE=$(curl --silent localhost:5080/api/default/passcode -v --user $OO_USER:$OO_PWD | jq .data.passcode -r) | ||
OO_TOKEN=$(echo "$OO_USER:$OO_PASSCODE" | tr -d '\n' | base64) | ||
yq eval '(.spec.otlp.headers.Authorization = "Basic '${OO_TOKEN}'") as $auth | select(.kind == "Output") | $auth' -i ./demo.yaml | ||
|
||
|
||
# Install prerequisites | ||
|
@@ -149,7 +150,7 @@ kubectl wait --namespace opentelemetry-operator-system --for=condition=available | |
(cd ../../.. && make manifests generate install) | ||
|
||
cd ../../../ && make docker-build | ||
kind load docker-image controller:latest --name "${KIND_CLUSTER_NAME}" | ||
kind load docker-image controller:local --name "${KIND_CLUSTER_NAME}" | ||
make deploy && cd - | ||
|
||
kubectl apply -f ./demo.yaml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ spec: | |
# terminationGracePeriodSeconds: 0 | ||
containers: | ||
- name: openobserve | ||
image: public.ecr.aws/zinclabs/openobserve:v0.7.2 | ||
image: public.ecr.aws/zinclabs/openobserve:v0.14.0 | ||
env: | ||
- name: ZO_ROOT_USER_EMAIL | ||
value: [email protected] | ||
|