From 12ababd07e271da249c7067c4c37065e832a7fd9 Mon Sep 17 00:00:00 2001 From: Jordan Olshevski Date: Fri, 17 Nov 2023 15:12:00 -0600 Subject: [PATCH] Rename to ObservedCompositionGeneration --- api/v1/composition.go | 5 +---- api/v1/config/crd/eno.azure.io_compositions.yaml | 12 ++---------- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/api/v1/composition.go b/api/v1/composition.go index e8803084..03f00141 100644 --- a/api/v1/composition.go +++ b/api/v1/composition.go @@ -56,10 +56,7 @@ type CompositionStatus struct { // Synthesis represents a Synthesizer's specific synthesis of a given Composition. type Synthesis struct { - // metadata.generation of the Composition at the time of synthesis. - ObservedGeneration int64 `json:"observedGeneration,omitempty"` - - // metadata.generation of the Synthesizer at the time of synthesis. + ObservedCompositionGeneration int64 `json:"observedCompositionGeneration,omitempty"` ObservedSynthesizerGeneration int64 `json:"observedSynthesizerGeneration,omitempty"` // Number of resulting resource slices. Since they are immutable, this provides adequate timing signal to avoid stale informer caches. diff --git a/api/v1/config/crd/eno.azure.io_compositions.yaml b/api/v1/config/crd/eno.azure.io_compositions.yaml index 3cbea8d6..962b8991 100644 --- a/api/v1/config/crd/eno.azure.io_compositions.yaml +++ b/api/v1/config/crd/eno.azure.io_compositions.yaml @@ -76,14 +76,10 @@ spec: description: Synthesis represents a Synthesizer's specific synthesis of a given Composition. properties: - observedGeneration: - description: metadata.generation of the Composition at the time - of synthesis. + observedCompositionGeneration: format: int64 type: integer observedSynthesizerGeneration: - description: metadata.generation of the Synthesizer at the time - of synthesis. format: int64 type: integer podCreation: @@ -104,14 +100,10 @@ spec: description: Synthesis represents a Synthesizer's specific synthesis of a given Composition. properties: - observedGeneration: - description: metadata.generation of the Composition at the time - of synthesis. + observedCompositionGeneration: format: int64 type: integer observedSynthesizerGeneration: - description: metadata.generation of the Synthesizer at the time - of synthesis. format: int64 type: integer podCreation: