Skip to content

Commit 3f93078

Browse files
authored
Fix for the github workflow that updates the operator subchart, was failing due to search token missing and indentation issues (#1667)
1 parent 503075d commit 3f93078

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ci_scripts/update-images-operator-otel.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ emit_output "NEED_UPDATE"
113113
awk '
114114
!p && !/# Auto-instrumentation Libraries \(Start\)/ && !/# Auto-instrumentation Libraries \(End\)/ { print $0; next }
115115
/# Auto-instrumentation Libraries \(Start\)/ {p=1; print $0; next}
116-
/# Auto-instrumentation Libraries \(End\)/ {p=0; while((getline line < "'$TEMP_VALUES_FILE'") > 0) printf " %s\n", line; print $0; next}
116+
/# Auto-instrumentation Libraries \(End\)/ {p=0; while((getline line < "'$TEMP_VALUES_FILE'") > 0) printf " %s\n", line; print $0; next}
117117
' "$VALUES_FILE_PATH" > "${VALUES_FILE_PATH}.updated"
118118

119119
# Replace the original values.yaml with the updated version

helm-charts/splunk-otel-collector/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,6 +1263,7 @@ instrumentation:
12631263
# - repository: Specifies the Docker image repository.
12641264
# - tag: Indicates the Docker image tag.
12651265
# - env: (Optional) Allows you to add any additional environment variables.
1266+
# Auto-instrumentation Libraries (Start)
12661267
java:
12671268
repository: ghcr.io/signalfx/splunk-otel-java/splunk-otel-java
12681269
tag: v2.12.0

0 commit comments

Comments
 (0)