-
Notifications
You must be signed in to change notification settings - Fork 587
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14265 from joejulian/patch_flux_crds
operator: patch back in the checksum field into the flux crds
- Loading branch information
Showing
4 changed files
with
58 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...config/crd/patches/re-add-checksum-field_in_gitrepositories.source.toolkit.fluxcd.io.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
# The following patch adds the spec.versions.v1beta2.schema.openAPIV3Schema.properties.status.properties.artifact.properties.checksum property | ||
# and the spec.versions.v1beta2.schema.openAPIV3Schema.properties.status.properties.includedArtifacts.items.properties.checksum property | ||
# that was removed | ||
- op: add | ||
path: /spec/versions/1/schema/openAPIV3Schema/properties/status/properties/artifact/properties/checksum | ||
value: | ||
type: string | ||
description: Checksum is the SHA256 checksum of the Artifact file (obsolete) | ||
- op: add | ||
path: /spec/versions/1/schema/openAPIV3Schema/properties/status/properties/includedArtifacts/items/properties/checksum | ||
value: | ||
type: string | ||
description: Checksum is the SHA256 checksum of the Artifact file (obsolete) |
8 changes: 8 additions & 0 deletions
8
...config/crd/patches/re-add-checksum-field_in_ocirepositories.source.toolkit.fluxcd.io.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
# The following patch adds the spec.versions.v1beta2.schema.openAPIV3Schema.properties.status.properties.artifact.properties.checksum property that was removed | ||
# apiVersion: apiextensions.k8s.io/v1 | ||
- op: replace | ||
path: /spec/versions/0/schema/openAPIV3Schema/properties/status/properties/artifact/properties/checksum | ||
value: | ||
type: string | ||
description: Checksum is the SHA256 checksum of the Artifact file (obsolete) |
13 changes: 13 additions & 0 deletions
13
src/go/k8s/config/crd/patches/re-add-checksum-field_in_source.toolkit.fluxcd.io.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
# The following patch adds the spec.versions.v1beta2.schema.openAPIV3Schema.properties.status.properties.artifact.properties.checksum property that was removed | ||
# apiVersion: apiextensions.k8s.io/v1 | ||
- op: replace | ||
path: /spec/versions/1/schema/openAPIV3Schema/properties/status/properties/artifact/properties/checksum | ||
value: | ||
type: string | ||
description: Checksum is the SHA256 checksum of the Artifact file (obsolete) | ||
- op: replace | ||
path: /spec/versions/0/schema/openAPIV3Schema/properties/status/properties/artifact/properties/checksum | ||
value: | ||
type: string | ||
description: Checksum is the SHA256 checksum of the Artifact file (obsolete) |