02ee573bc2
Extends the existing TestExport 'image update' case with a signingKey block on the seeded ImageUpdateAutomation, asserting the new field survives the kubeClient.Get + serialize path. Parallels how the existing fixture exercises every other field on the resource. Also patches the embedded CRD source under manifests/bases/image- automation-controller/ to inject the signingKey.type schema property into both v1 and v1beta2. The patch is transitional and should be removed once the image-automation-controller release bundle includes the new type field natively. Signed-off-by: Hidde Beydals <hidde@hhh.computer>
22 lines
681 B
YAML
22 lines
681 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
resources:
|
|
- https://github.com/fluxcd/image-automation-controller/releases/download/v1.1.4/image-automation-controller.crds.yaml
|
|
- https://github.com/fluxcd/image-automation-controller/releases/download/v1.1.4/image-automation-controller.deployment.yaml
|
|
- account.yaml
|
|
transformers:
|
|
- labels.yaml
|
|
patches:
|
|
- target:
|
|
group: apps
|
|
version: v1
|
|
kind: Deployment
|
|
name: image-automation-controller
|
|
path: patch.yaml
|
|
- target:
|
|
group: apiextensions.k8s.io
|
|
version: v1
|
|
kind: CustomResourceDefinition
|
|
name: imageupdateautomations.image.toolkit.fluxcd.io
|
|
path: crd-signing-key-type-patch.yaml
|