Cover signingKey round-trip in export tests
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>
This commit is contained in:
+4
@@ -10,6 +10,10 @@ spec:
|
|||||||
author:
|
author:
|
||||||
email: fluxcdbot@users.noreply.github.com
|
email: fluxcdbot@users.noreply.github.com
|
||||||
name: fluxcdbot
|
name: fluxcdbot
|
||||||
|
signingKey:
|
||||||
|
secretRef:
|
||||||
|
name: my-signing-key
|
||||||
|
type: ssh
|
||||||
interval: 1m0s
|
interval: 1m0s
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
|
|||||||
+4
@@ -67,6 +67,10 @@ spec:
|
|||||||
email: fluxcdbot@users.noreply.github.com
|
email: fluxcdbot@users.noreply.github.com
|
||||||
name: fluxcdbot
|
name: fluxcdbot
|
||||||
messageTemplate: '{{range .Updated.Images}}{{println .}}{{end}}'
|
messageTemplate: '{{range .Updated.Images}}{{println .}}{{end}}'
|
||||||
|
signingKey:
|
||||||
|
secretRef:
|
||||||
|
name: my-signing-key
|
||||||
|
type: ssh
|
||||||
update:
|
update:
|
||||||
path: ./clusters/my-cluster
|
path: ./clusters/my-cluster
|
||||||
strategy: Setters
|
strategy: Setters
|
||||||
|
|||||||
Reference in New Issue
Block a user