keikoproj / manager

Multi K8s cluster Namespace Management
Apache License 2.0
9 stars 3 forks source link

Allow custom resources as part of the NamespaceTemplate/ManagedNamespace #23

Closed mnkg561 closed 4 years ago

mnkg561 commented 4 years ago

Is this a BUG REPORT or FEATURE REQUEST?: FEATURE REQUEST

What happened: Allow custom resources to be created as part of the namespace template and managed namespace. Obviously, schema can not be provided due to unknown schema at the compile time and may be provide the entire manifests as a string (or map[string]interface Not sure if openapi supports that).

Provide same options to what has been provided to default k8s api resources in template i.e, DependsOn and CreateOnly should be supported.

What you expected to happen: Should be able to create the custom resources as long as that GVK(Group Version Kind) is supported in the target cluster.

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

Other debugging information (if applicable):

- controller logs:

$ kubectl logs