From c59e4aef20d40b7b251463c576a6cf8136879e13 Mon Sep 17 00:00:00 2001 From: sheidkamp Date: Wed, 15 May 2024 09:20:04 -0400 Subject: [PATCH 1/3] Update unstructured.go --- installutils/kuberesource/unstructured.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/installutils/kuberesource/unstructured.go b/installutils/kuberesource/unstructured.go index 4cfbd2f..951d514 100644 --- a/installutils/kuberesource/unstructured.go +++ b/installutils/kuberesource/unstructured.go @@ -166,6 +166,8 @@ func ConvertUnstructured(res *unstructured.Unstructured) (runtime.Object, error) obj = &rbac.RoleBinding{TypeMeta: typeMeta} case "Job": obj = &batch.Job{TypeMeta: typeMeta} + case "CronJob": + obj = &batch.CronJob{TypeMeta: typeMeta} case "ConfigMap": obj = &core.ConfigMap{TypeMeta: typeMeta} case "Service": From 4c45e39edd1aa0572bc5423b7ed33671566df3c7 Mon Sep 17 00:00:00 2001 From: sheidkamp Date: Wed, 15 May 2024 09:25:19 -0400 Subject: [PATCH 2/3] changelogs --- changelog/{v0.7.1 => v0.6.2}/sanitize.yaml | 0 changelog/v0.6.3/structured-cron-job.yaml | 3 +++ 2 files changed, 3 insertions(+) rename changelog/{v0.7.1 => v0.6.2}/sanitize.yaml (100%) create mode 100644 changelog/v0.6.3/structured-cron-job.yaml diff --git a/changelog/v0.7.1/sanitize.yaml b/changelog/v0.6.2/sanitize.yaml similarity index 100% rename from changelog/v0.7.1/sanitize.yaml rename to changelog/v0.6.2/sanitize.yaml diff --git a/changelog/v0.6.3/structured-cron-job.yaml b/changelog/v0.6.3/structured-cron-job.yaml new file mode 100644 index 0000000..09d0b87 --- /dev/null +++ b/changelog/v0.6.3/structured-cron-job.yaml @@ -0,0 +1,3 @@ +changelog: + - type: NON_USER_FACING + description: Add "CronJob" to the list of unstructured resources that can be converted to structured. \ No newline at end of file From 0a82211b8709b6b1ff658e7a965ba7a6221ca3f1 Mon Sep 17 00:00:00 2001 From: sheidkamp Date: Wed, 15 May 2024 09:26:52 -0400 Subject: [PATCH 3/3] Rerun ci