justinsb
5fa9690f98
Refactor validation logic around checking for multiple options
...
We also have to move some of the EnvVar handling around to avoid a circular reference.
2025-01-08 18:23:50 -05:00
Ciprian Hacman
7a1af66152
Add option to provide additional config entries for containerd
2023-10-27 08:56:34 +03:00
Ciprian Hacman
781fe0c418
Allow setting map[string]string from the command line
2023-10-03 10:45:28 +03:00
Ciprian Hacman
9023db3d87
Allow setting resource.Quantity from the command line
2023-09-05 14:15:52 +03:00
Ciprian Hacman
4b3bb2a16d
Allow setting metav1.Duration from the command line
2023-08-18 19:07:21 +03:00
Ciprian Hacman
cd28f25c8b
Allow setting env vars from the command line
2023-08-11 07:50:05 +03:00
Ciprian Hacman
83de21981a
Clarify error message when overriding int and uint values
2023-06-30 07:33:16 +03:00
Ciprian Hacman
c90bdc791e
Allow overriding int16 and uint16 values
2023-06-30 07:33:16 +03:00
Ciprian Hacman
d70e6803b4
Allow overriding uint values
2023-06-27 16:07:30 +03:00
Ciprian Hacman
9579feab98
Apply suggestions from code review
2023-06-17 09:25:13 +03:00
Pyeongkang Choi
0a862fdb70
Support intstr.IntOrString type
2023-05-31 16:38:04 +09:00
Ciprian Hacman
ea7df00719
Run hack/update-gofmt.sh
2021-12-01 22:39:50 +02:00
John Gardiner Myers
18d58f900c
Support setting empty maps and structs
2021-11-13 19:10:29 -08:00
John Gardiner Myers
ead0941ae8
Make SpecOverride append to slices
2021-06-14 14:01:22 -07:00
John Gardiner Myers
76fc012f96
Allow unsetting fields from the command line
2021-06-14 08:52:32 -07:00
Bharath Vedartham
49f3ab0703
Throw error if path being set by kops set is not present in struct
2021-01-31 12:00:42 +05:30
Justin SB
c63ce4b5ab
Implement setter by reflection
...
This means we no longer have to individually hard-code the `kops set`
fields, however we use the "language" we're now demonstrated.
We add tests to ensure we have parity with our existing (hard-coded)
setter logic.
2020-08-30 09:59:52 -04:00