923a8ae394
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. Signed-off-by: Hidde Beydals <hidde@hhh.computer>
24 lines
467 B
YAML
24 lines
467 B
YAML
---
|
|
apiVersion: image.toolkit.fluxcd.io/v1
|
|
kind: ImageUpdateAutomation
|
|
metadata:
|
|
name: flux-system
|
|
namespace: {{ .fluxns }}
|
|
spec:
|
|
git:
|
|
commit:
|
|
author:
|
|
email: fluxcdbot@users.noreply.github.com
|
|
name: fluxcdbot
|
|
signingKey:
|
|
secretRef:
|
|
name: my-signing-key
|
|
type: ssh
|
|
interval: 1m0s
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: flux-system
|
|
update:
|
|
path: ./clusters/my-cluster
|
|
strategy: Setters
|