Skip to content

Commit

Permalink
Fix default observed generation
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
  • Loading branch information
stefanprodan committed Dec 3, 2021
1 parent d748c4d commit 1341350
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions config/crd/bases/image.toolkit.fluxcd.io_imagepolicies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@ spec:
- policy
type: object
status:
default:
observedGeneration: -1
description: ImagePolicyStatus defines the observed state of ImagePolicy
properties:
conditions:
Expand Down Expand Up @@ -146,7 +144,6 @@ spec:
description: LatestImage gives the first in the list of images scanned by the image repository, when filtered and ordered according to the policy.
type: string
observedGeneration:
description: ObservedGeneration is the last reconciled generation.
format: int64
type: integer
type: object
Expand Down Expand Up @@ -373,6 +370,8 @@ spec:
- policy
type: object
status:
default:
observedGeneration: -1
description: ImagePolicyStatus defines the observed state of ImagePolicy
properties:
conditions:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ spec:
type: string
type: object
status:
default:
observedGeneration: -1
description: ImageRepositoryStatus defines the observed state of ImageRepository
properties:
canonicalImageName:
Expand Down Expand Up @@ -340,6 +338,8 @@ spec:
type: string
type: object
status:
default:
observedGeneration: -1
description: ImageRepositoryStatus defines the observed state of ImageRepository
properties:
canonicalImageName:
Expand Down

0 comments on commit 1341350

Please sign in to comment.