Skip to content

Commit

Permalink
Like serving use generatedName
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
  • Loading branch information
matzew committed Aug 25, 2021
1 parent de1b52b commit b8968c8
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions config/post-install/storage-version-migrator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,18 @@
apiVersion: batch/v1
kind: Job
metadata:
# Adding a prefix to avoid naming conflict with previous version's post-install jobs,
# we cannot use `generateName` here as it's not supported by `kubectl apply -f`
#
# If `ttlSecondsAfterFinished` feature gate becomes generally available in the future,
# we can rely on that and keep using the same Job name.
name: v0.23-storage-version-migration
generateName: storage-version-migration-eventing-
namespace: knative-eventing
labels:
app: "storage-version-migration"
app: "storage-version-migration-eventing"
eventing.knative.dev/release: devel
spec:
ttlSecondsAfterFinished: 600
backoffLimit: 10
template:
metadata:
labels:
app: "storage-version-migration"
app: "storage-version-migration-eventing"
eventing.knative.dev/release: devel
annotations:
sidecar.istio.io/inject: "false"
Expand Down

0 comments on commit b8968c8

Please sign in to comment.