lib/kubec/kubernetes/volume.rb in kubec-0.3.5 vs lib/kubec/kubernetes/volume.rb in kubec-0.3.6

- old
+ new

@@ -49,10 +49,10 @@ self[:secret] = { secretName: name, items: items&.map do |key, path| { key: key, path: path } end - } + }.reject { |_, v| v.nil? } end end end end