From 00d056fd55ffc8fd92825b3a6535608adff08c6c Mon Sep 17 00:00:00 2001 From: Raj Nishtala Date: Wed, 9 Oct 2024 12:37:35 -0400 Subject: [PATCH 1/2] chore: Upgrade kubernetes-setup to 3.16.0 --- .changelog/3854.changed.txt | 1 + deploy/helm/sumologic/README.md | 2 +- deploy/helm/sumologic/values.yaml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .changelog/3854.changed.txt diff --git a/.changelog/3854.changed.txt b/.changelog/3854.changed.txt new file mode 100644 index 000000000..5bc89a033 --- /dev/null +++ b/.changelog/3854.changed.txt @@ -0,0 +1 @@ +chore: upgrade k8s setup to 3.16.0 \ No newline at end of file diff --git a/deploy/helm/sumologic/README.md b/deploy/helm/sumologic/README.md index a0553cc34..70ea7acd6 100644 --- a/deploy/helm/sumologic/README.md +++ b/deploy/helm/sumologic/README.md @@ -182,7 +182,7 @@ The following table lists the configurable parameters of the Sumo Logic chart an | `sumologic.setup.job.podLabels` | Additional labels for the setup Job pod. | `{}` | | `sumologic.setup.job.podAnnotations` | Additional annotations for the setup Job pod. | `{}` | | `sumologic.setup.job.image.repository` | Image repository for Sumo Logic setup job docker container. | `public.ecr.aws/sumologic/kubernetes-setup` | -| `sumologic.setup.job.image.tag` | Image tag for Sumo Logic setup job docker container. | `3.15.1` | +| `sumologic.setup.job.image.tag` | Image tag for Sumo Logic setup job docker container. | `3.16.0` | | `sumologic.setup.job.image.pullPolicy` | Image pullPolicy for Sumo Logic docker container. | `IfNotPresent` | | `sumologic.setup.job.initContainerImage.repository` | Image repository for Sumo Logic setup job docker init container. | `public.ecr.aws/sumologic/busybox` | | `sumologic.setup.job.initContainerImage.tag` | Image tag for Sumo Logic setup job docker init container. | `latest` | diff --git a/deploy/helm/sumologic/values.yaml b/deploy/helm/sumologic/values.yaml index 8dba5553a..7b7894d9e 100644 --- a/deploy/helm/sumologic/values.yaml +++ b/deploy/helm/sumologic/values.yaml @@ -116,7 +116,7 @@ sumologic: job: image: repository: public.ecr.aws/sumologic/kubernetes-setup - tag: 3.15.1 + tag: 3.16.0 pullPolicy: IfNotPresent initContainerImage: repository: public.ecr.aws/sumologic/busybox From 87cff5ba9f5bd8e7aaa66ad2354174a7ba89c56b Mon Sep 17 00:00:00 2001 From: Raj Nishtala Date: Wed, 9 Oct 2024 13:19:32 -0400 Subject: [PATCH 2/2] Regenerate test files after version bump --- tests/helm/testdata/goldenfile/cleanup/basic.output.yaml | 2 +- .../goldenfile/cleanup/sumologic-mock-no-secret.output.yaml | 2 +- .../testdata/goldenfile/cleanup/sumologic-mock.output.yaml | 2 +- tests/helm/testdata/goldenfile/setup/basic.output.yaml | 6 +++--- .../setup/monitors_with_email_notifications.output.yaml | 6 +++--- .../goldenfile/setup/monitors_with_single_email.output.yaml | 6 +++--- .../goldenfile/setup/sumologic-mock-no-secret.output.yaml | 6 +++--- .../testdata/goldenfile/setup/sumologic-mock.output.yaml | 6 +++--- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/tests/helm/testdata/goldenfile/cleanup/basic.output.yaml b/tests/helm/testdata/goldenfile/cleanup/basic.output.yaml index 39f4f1520..5cac69482 100644 --- a/tests/helm/testdata/goldenfile/cleanup/basic.output.yaml +++ b/tests/helm/testdata/goldenfile/cleanup/basic.output.yaml @@ -41,7 +41,7 @@ spec: mountPath: /etc/terraform containers: - name: cleanup - image: public.ecr.aws/sumologic/kubernetes-setup:3.15.1 + image: public.ecr.aws/sumologic/kubernetes-setup:3.16.0 imagePullPolicy: IfNotPresent volumeMounts: - name: cleanup diff --git a/tests/helm/testdata/goldenfile/cleanup/sumologic-mock-no-secret.output.yaml b/tests/helm/testdata/goldenfile/cleanup/sumologic-mock-no-secret.output.yaml index 872c28f2b..9f1a81849 100644 --- a/tests/helm/testdata/goldenfile/cleanup/sumologic-mock-no-secret.output.yaml +++ b/tests/helm/testdata/goldenfile/cleanup/sumologic-mock-no-secret.output.yaml @@ -41,7 +41,7 @@ spec: mountPath: /etc/terraform containers: - name: cleanup - image: public.ecr.aws/sumologic/kubernetes-setup:3.15.1 + image: public.ecr.aws/sumologic/kubernetes-setup:3.16.0 imagePullPolicy: IfNotPresent volumeMounts: - name: cleanup diff --git a/tests/helm/testdata/goldenfile/cleanup/sumologic-mock.output.yaml b/tests/helm/testdata/goldenfile/cleanup/sumologic-mock.output.yaml index e54124b33..5d5887977 100644 --- a/tests/helm/testdata/goldenfile/cleanup/sumologic-mock.output.yaml +++ b/tests/helm/testdata/goldenfile/cleanup/sumologic-mock.output.yaml @@ -41,7 +41,7 @@ spec: mountPath: /etc/terraform containers: - name: cleanup - image: public.ecr.aws/sumologic/kubernetes-setup:3.15.1 + image: public.ecr.aws/sumologic/kubernetes-setup:3.16.0 imagePullPolicy: IfNotPresent volumeMounts: - name: cleanup diff --git a/tests/helm/testdata/goldenfile/setup/basic.output.yaml b/tests/helm/testdata/goldenfile/setup/basic.output.yaml index 799541307..05e1454d2 100644 --- a/tests/helm/testdata/goldenfile/setup/basic.output.yaml +++ b/tests/helm/testdata/goldenfile/setup/basic.output.yaml @@ -14,14 +14,14 @@ metadata: chart: "sumologic-%CURRENT_CHART_VERSION%" release: "RELEASE-NAME" heritage: "Helm" - sumologic.com/app: "setup" + sumologic.com/app: setup spec: ttlSecondsAfterFinished: 120 template: metadata: annotations: labels: - sumologic.com/app: "setup" + sumologic.com/app: setup spec: restartPolicy: OnFailure serviceAccountName: RELEASE-NAME-sumologic-setup @@ -38,7 +38,7 @@ spec: defaultMode: 0777 containers: - name: setup - image: public.ecr.aws/sumologic/kubernetes-setup:3.15.1 + image: public.ecr.aws/sumologic/kubernetes-setup:3.16.0 imagePullPolicy: IfNotPresent command: ["/etc/terraform/setup.sh"] resources: diff --git a/tests/helm/testdata/goldenfile/setup/monitors_with_email_notifications.output.yaml b/tests/helm/testdata/goldenfile/setup/monitors_with_email_notifications.output.yaml index b4037e20b..4e95f5485 100644 --- a/tests/helm/testdata/goldenfile/setup/monitors_with_email_notifications.output.yaml +++ b/tests/helm/testdata/goldenfile/setup/monitors_with_email_notifications.output.yaml @@ -14,14 +14,14 @@ metadata: chart: "sumologic-%CURRENT_CHART_VERSION%" release: "RELEASE-NAME" heritage: "Helm" - sumologic.com/app: "setup" + sumologic.com/app: setup spec: ttlSecondsAfterFinished: 120 template: metadata: annotations: labels: - sumologic.com/app: "setup" + sumologic.com/app: setup spec: restartPolicy: OnFailure serviceAccountName: RELEASE-NAME-sumologic-setup @@ -38,7 +38,7 @@ spec: defaultMode: 0777 containers: - name: setup - image: public.ecr.aws/sumologic/kubernetes-setup:3.15.1 + image: public.ecr.aws/sumologic/kubernetes-setup:3.16.0 imagePullPolicy: IfNotPresent command: ["/etc/terraform/setup.sh"] resources: diff --git a/tests/helm/testdata/goldenfile/setup/monitors_with_single_email.output.yaml b/tests/helm/testdata/goldenfile/setup/monitors_with_single_email.output.yaml index 454042e9f..9313ec6db 100644 --- a/tests/helm/testdata/goldenfile/setup/monitors_with_single_email.output.yaml +++ b/tests/helm/testdata/goldenfile/setup/monitors_with_single_email.output.yaml @@ -14,14 +14,14 @@ metadata: chart: "sumologic-%CURRENT_CHART_VERSION%" release: "RELEASE-NAME" heritage: "Helm" - sumologic.com/app: "setup" + sumologic.com/app: setup spec: ttlSecondsAfterFinished: 120 template: metadata: annotations: labels: - sumologic.com/app: "setup" + sumologic.com/app: setup spec: restartPolicy: OnFailure serviceAccountName: RELEASE-NAME-sumologic-setup @@ -38,7 +38,7 @@ spec: defaultMode: 0777 containers: - name: setup - image: public.ecr.aws/sumologic/kubernetes-setup:3.15.1 + image: public.ecr.aws/sumologic/kubernetes-setup:3.16.0 imagePullPolicy: IfNotPresent command: ["/etc/terraform/setup.sh"] resources: diff --git a/tests/helm/testdata/goldenfile/setup/sumologic-mock-no-secret.output.yaml b/tests/helm/testdata/goldenfile/setup/sumologic-mock-no-secret.output.yaml index 080e9b942..f4a7c931d 100644 --- a/tests/helm/testdata/goldenfile/setup/sumologic-mock-no-secret.output.yaml +++ b/tests/helm/testdata/goldenfile/setup/sumologic-mock-no-secret.output.yaml @@ -14,14 +14,14 @@ metadata: chart: "sumologic-%CURRENT_CHART_VERSION%" release: "RELEASE-NAME" heritage: "Helm" - sumologic.com/app: "setup" + sumologic.com/app: setup spec: ttlSecondsAfterFinished: 120 template: metadata: annotations: labels: - sumologic.com/app: "setup" + sumologic.com/app: setup spec: restartPolicy: OnFailure serviceAccountName: RELEASE-NAME-sumologic-setup @@ -38,7 +38,7 @@ spec: defaultMode: 0777 containers: - name: setup - image: public.ecr.aws/sumologic/kubernetes-setup:3.15.1 + image: public.ecr.aws/sumologic/kubernetes-setup:3.16.0 imagePullPolicy: IfNotPresent command: ["/etc/terraform/setup.sh"] resources: diff --git a/tests/helm/testdata/goldenfile/setup/sumologic-mock.output.yaml b/tests/helm/testdata/goldenfile/setup/sumologic-mock.output.yaml index 080e9b942..f4a7c931d 100644 --- a/tests/helm/testdata/goldenfile/setup/sumologic-mock.output.yaml +++ b/tests/helm/testdata/goldenfile/setup/sumologic-mock.output.yaml @@ -14,14 +14,14 @@ metadata: chart: "sumologic-%CURRENT_CHART_VERSION%" release: "RELEASE-NAME" heritage: "Helm" - sumologic.com/app: "setup" + sumologic.com/app: setup spec: ttlSecondsAfterFinished: 120 template: metadata: annotations: labels: - sumologic.com/app: "setup" + sumologic.com/app: setup spec: restartPolicy: OnFailure serviceAccountName: RELEASE-NAME-sumologic-setup @@ -38,7 +38,7 @@ spec: defaultMode: 0777 containers: - name: setup - image: public.ecr.aws/sumologic/kubernetes-setup:3.15.1 + image: public.ecr.aws/sumologic/kubernetes-setup:3.16.0 imagePullPolicy: IfNotPresent command: ["/etc/terraform/setup.sh"] resources: