Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Refactor usage of Krustlet config to allow using command line parameters to configure agent #34

@soenkeliebau

Description

@soenkeliebau

Currently all command line parameters are passed to the Krustlet config code as well, which causes an exception if any parameters are present that the Krustlet does not understand. In reverse, any command line parameters which the agent doesn't unterstand cause an exception in the agent.

The combination of these two means that it is currently not possible to pass anything on the commandline (except maybe version or help) - because for any parameter one of the two components will fail.

This should be fixed by manually constructing a Krustlet config object instead of using the methods that parse the command line, but this requires some boiler plate and re-implementation of default values.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions