Fix createdAt
format in Operator CSV (#26428)
Closes #26427 Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>
This commit is contained in:
parent
af0b9164e3
commit
7a57bfb504
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue