feat: making kine container image configurable via kamaji flag

A new CLI flag (`--kine-container`) has been introduced, with the
default value of `rancher/kine:v0.9.2-amd64`. It can be overridden also
using the kamaji configuration file (`kamaji.yaml`) using the key
`kine-image`.
This commit is contained in:
Dario Tranchitella
2022-07-21 14:43:32 +02:00
parent 62129f3f0c
commit d290e73307
7 changed files with 14 additions and 2 deletions

View File

@@ -76,6 +76,7 @@ func main() {
KineMySQLSecretNamespace: conf.GetString("kine-mysql-secret-namespace"),
KineMySQLHost: conf.GetString("kine-mysql-host"),
KineMySQLPort: conf.GetInt("kine-mysql-port"),
KineContainerImage: conf.GetString("kine-image"),
},
}