NewGenConfig is a GenConfig using the default config and NonDisruptiveConformance mode
()
| 24 | |
| 25 | // NewGenConfig is a GenConfig using the default config and NonDisruptiveConformance mode |
| 26 | func NewGenConfig() *GenConfig { |
| 27 | return &GenConfig{ |
| 28 | Config: config.New(), |
| 29 | EnableRBAC: true, |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | // NewRunConfig is a RunConfig with DefaultGenConfig and and preflight checks enabled. |
| 34 | func NewRunConfig() *RunConfig { |