From e54e660cc730119095841a391c19e57ea88e9ea6 Mon Sep 17 00:00:00 2001 From: Gerard Nguyen Date: Tue, 10 Dec 2024 12:26:57 +1100 Subject: [PATCH] misc --- dev/manifests/kotsadm/minio.yaml | 1 - pkg/operator/client/delete.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/dev/manifests/kotsadm/minio.yaml b/dev/manifests/kotsadm/minio.yaml index 3665d80a9b..06beaf1191 100644 --- a/dev/manifests/kotsadm/minio.yaml +++ b/dev/manifests/kotsadm/minio.yaml @@ -70,7 +70,6 @@ spec: volumeMounts: - mountPath: /data name: miniodata # this is where the data is stored - volumeClaimTemplates: - metadata: name: miniodata diff --git a/pkg/operator/client/delete.go b/pkg/operator/client/delete.go index 3f51284011..8b89e564cf 100644 --- a/pkg/operator/client/delete.go +++ b/pkg/operator/client/delete.go @@ -82,7 +82,7 @@ func (c *Client) diffAndDeleteManifests(opts DiffAndDeleteOptions) error { // if this is a keep resource, don't delete it // e.g. for migration to Helm v1beta2 if keep, ok := o.Metadata.Annotations["kots.io/keep"]; ok && keep == "true" { - logger.Infof("Skipping deletion of resource %s/%s", o.Kind, o.Metadata.Name) + logger.Infof("skipping deletion of resource %s/%s", o.Kind, o.Metadata.Name) delete = false }