bottlerocket-os / bottlerocket

An operating system designed for hosting containers
https://bottlerocket.dev
Other
8.61k stars 508 forks source link

API server: "write once, read many" functionality for settings #1663

Open zmrow opened 3 years ago

zmrow commented 3 years ago

What I'd like: I'd like a setting type that can only be set once, but read freely.

This would come in handy for things like settings.network.hostname, where we wouldn't want users to be able to change it after it is set, which can cause issues with kubelet.

Related to #1608

webern commented 3 years ago

We should consider also that a hostname may be writeable without consequence in some variants but in other variants we might want it to be 'write-once'.

stmcginnis commented 1 year ago

@cbgbt another fyi for settings...