Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
nvanthao committed Dec 10, 2024
1 parent f6dc6f5 commit e54e660
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion dev/manifests/kotsadm/minio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ spec:
volumeMounts:
- mountPath: /data
name: miniodata # this is where the data is stored

volumeClaimTemplates:
- metadata:
name: miniodata
Expand Down
2 changes: 1 addition & 1 deletion pkg/operator/client/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit e54e660

Please sign in to comment.