Ver Fonte

minio/charts: fix KeyError (#2307)

Stavros Kois há 1 ano atrás
pai
commit
b83a63b94e

+ 1 - 1
library/ix-dev/charts/minio/Chart.yaml

@@ -3,7 +3,7 @@ description: High Performance, Kubernetes Native Object Storage
 annotations:
   title: MinIO
 type: application
-version: 2.0.2
+version: 2.0.3
 apiVersion: v2
 appVersion: "2023-03-13"
 kubeVersion: ">=1.16.0-0"

+ 1 - 1
library/ix-dev/charts/minio/migrations/migrate

@@ -73,7 +73,7 @@ def migrate_common_lib(values):
                     'type': 'hostPath',
                     'hostPathConfig': {'hostPath': e['hostPath']},
                     'mountPath': e['mountPath'],
-                    'readOnly': e['readOnly'],
+                    'readOnly': e.get('readOnly', False),
                 }
                 for e in values.get('extraAppVolumeMounts', [])
             ],