Skip to content

Commit

Permalink
Fix createdAt format in Operator CSV (keycloak#26428)
Browse files Browse the repository at this point in the history
Closes keycloak#26427

Signed-off-by: Václav Muzikář <[email protected]>
(cherry picked from commit 7a57bfb)
  • Loading branch information
vmuzikar committed Jan 29, 2024
1 parent c1d6036 commit 1f91e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operator/scripts/create-olm-bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ yq ea -i ".spec.install.spec.deployments[0].spec.template.spec.containers[0].ima

# Edit the CSV version, replaces, etc.

yq ea -i ".metadata.annotations.createdAt = \"$(date "+%D %T")\"" "$CSV_PATH"
yq ea -i ".metadata.annotations.createdAt = \"$(date -u +"%Y-%m-%dT%H:%M:%SZ")\"" "$CSV_PATH"
yq ea -i ".spec.version = \"$VERSION\"" "$CSV_PATH"
yq ea -i ".metadata.name = \"keycloak-operator.v$VERSION\"" "$CSV_PATH"
yq ea -i '.metadata.namespace = "placeholder"' "$CSV_PATH"
Expand Down

0 comments on commit 1f91e57

Please sign in to comment.