Applying platinum license in Kubernetes

Hello,

I am trying to apply the platinum license in code versus adding it through Kibana.

How is this done?

I know the standard of setting up the trial license first is - xpack.license.self_generated.type: trial

I want to set it up as a secret and reference it in the config map.

Is this possible? If so, how?

Thanks

There is no way to apply a license in the configuration. You have to use the Elasticsearch API or Kibana UI.