Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/spec/normative_examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ metadata:
name: def
labels:
elafros.dev/configuration: my-service
annotations:
elafros.dev/configurationGeneration: 1235
...
spec:
Expand Down Expand Up @@ -322,6 +323,7 @@ metadata:
labels:
# name and generation of the configuration that created the revision
elafros.dev/configuration: my-service
annotations:
elafros.dev/configurationGeneration: 1234
... # uid, resourceVersion, creationTimestamp, generation, selfLink, etc
spec:
Expand Down Expand Up @@ -791,6 +793,7 @@ metadata:
name: abc
labels:
elafros.dev/configuration: my-service
annotations:
elafros.dev/configurationGeneration: 1234
...
spec:
Expand Down
3 changes: 2 additions & 1 deletion docs/spec/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,9 @@ metadata:
namespace: default
labels:
elafros.dev/configuration: ... # to list configurations/revisions by service
elafros.dev/configurationGeneration: ... # generation of configuration that created this Revision
elafros.dev/type: "function" # convention, one of "function" or "app"
annotations:
elafros.dev/configurationGeneration: ... # generation of configuration that created this Revision
# system generated meta
uid: ...
  resourceVersion: ... # used for optimistic concurrency control
Expand Down