Skip to content

Commit

Permalink
FLINK-36551: [OLM] ensure that docker-entry.sh actually replaces the …
Browse files Browse the repository at this point in the history
…keystore pod volume

Signed-off-by: kwall <[email protected]>
  • Loading branch information
k-wall committed Oct 16, 2024
1 parent 61ec2f5 commit f481c59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/olm/docker-entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ generate_olm_bundle() {

yq ea -i ".spec.install.spec.deployments[0].spec.template.spec.initContainers = load(\"${INIT_CONT}\").initContainers" "${CSV_FILE}"

yq ea -i '.spec.install.spec.deployments[0].spec.template.spec.volumes[1] = {"name": "keystore","emptyDir": {}}' "${CSV_FILE}"
yq ea -i '(.spec.install.spec.deployments[0].spec.template.spec.volumes[] | select(.name == "keystore")) = {"name": "keystore","emptyDir": {}}' "${CSV_FILE}"

yq ea -i "(... | select(has(\"image\"))).image =\"${OPERATOR_IMG}\"" "${CSV_FILE}"

Expand Down

0 comments on commit f481c59

Please sign in to comment.