The easiest way would be to use that, but edit the args first. Sorry for the confusion, I was just linking the template as an example of where the args are in the all-in-one. So around line 3024 in the all-in-one you can add them either as args or environment variables. Does that make help?
@Anya_Sabo I found my way here in search of the same thing. I'm a bit confused by the terminology in the docs. Is it possible to deploy everything(ECK and CRDs) within a single namespace? Working on a huge multi-tenant system and I'm limited to what I can deploy in my namespace.
@supermancc03 I think (not tested in a while) this is possible but requires some tweaking.
Basically you can change the ClusterRole and ClusterRoleBinding from the all-in-one manifests to their corresponding Role and RoleBinding translations, with your desired namespace.
Then, you can patch the operator StatefulSet manifest to be deployed in the desired namespace. Also make sure the --namespaces flag of the operator cmd matches the namespace you want the operator to work with (probably the same it's deployed in).
However, you can only deploy the CRDs cluster-wide, AFAIK it is not possible to limit a CustomResourceDefinition resource to a particular namespace. And it looks it's not going to be supported anytime soon.
I understand this feels a bit hacky. I'm opening an issue to track this so we can come up with an easier way to generate your own flavor of the manifests: https://github.com/elastic/cloud-on-k8s/issues/2406
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.