timfeirg / lain-cli

DevOps with minimum effort.
https://lain-cli.readthedocs.io/en/latest/
MIT License
31 stars 9 forks source link

Allow `readOnly` property for volumeMounts #70

Closed tssujt closed 2 years ago

timfeirg commented 2 years ago

目前除了 name: {{ default "secret" $volumeMount.name }} 是个特殊逻辑, 余下字段都是透传. 想办法做成除 name 外, 统统透传, 这样就免去拓展的时候还要一个一个字段地往上加了.

tssujt commented 2 years ago

PTAL @timfeirg

timfeirg commented 2 years ago

LGTM 测通之后自行合并. 其实自行给 test_values.yaml 加测试用例也十分简单, 鼓励你尝试下.