diff --git a/operator/scripts/create-olm-bundle.sh b/operator/scripts/create-olm-bundle.sh index 0fac9c1cb362..9f5620a2e218 100755 --- a/operator/scripts/create-olm-bundle.sh +++ b/operator/scripts/create-olm-bundle.sh @@ -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"