Skip to content

Commit af889dc

Browse files
Merge pull request #510 from vshn/fix/nextcloud-cronjob-indentation
Fixed nextcloud cronjob indentation
2 parents 03c8555 + 6e9c9d2 commit af889dc

File tree

1 file changed

+20
-18
lines changed
  • pkg/comp-functions/functions/vshnnextcloud

1 file changed

+20
-18
lines changed

pkg/comp-functions/functions/vshnnextcloud/deploy.go

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -624,29 +624,31 @@ func newValues(ctx context.Context, svc *runtime.ServiceRuntime, comp *vshnv1.VS
624624
"cronjob": map[string]any{
625625
"enabled": true,
626626
"type": "cronjob",
627-
"affinity": map[string]any{
628-
"podAffinity": map[string]any{
629-
"requiredDuringSchedulingIgnoredDuringExecution": []map[string]any{
630-
{
631-
"labelSelector": map[string]any{
632-
"matchExpressions": []map[string]any{
633-
{
634-
"key": "app.kubernetes.io/name",
635-
"operator": "In",
636-
"values": []string{
637-
"nextcloud",
627+
"cronjob": map[string]any{
628+
"affinity": map[string]any{
629+
"podAffinity": map[string]any{
630+
"requiredDuringSchedulingIgnoredDuringExecution": []map[string]any{
631+
{
632+
"labelSelector": map[string]any{
633+
"matchExpressions": []map[string]any{
634+
{
635+
"key": "app.kubernetes.io/name",
636+
"operator": "In",
637+
"values": []string{
638+
"nextcloud",
639+
},
638640
},
639-
},
640-
{
641-
"key": "app.kubernetes.io/component",
642-
"operator": "In",
643-
"values": []string{
644-
"app",
641+
{
642+
"key": "app.kubernetes.io/component",
643+
"operator": "In",
644+
"values": []string{
645+
"app",
646+
},
645647
},
646648
},
647649
},
650+
"topologyKey": "kubernetes.io/hostname",
648651
},
649-
"topologyKey": "kubernetes.io/hostname",
650652
},
651653
},
652654
},

0 commit comments

Comments
 (0)