kontena / pharos-cluster

Pharos - The Kubernetes Distribution
https://k8spharos.dev/
Apache License 2.0
311 stars 43 forks source link

License assign sub-command #667

Closed jakolehm closed 5 years ago

jakolehm commented 5 years ago

Should exchange a valid license key to a subscription token and store it to pharos-license secret in kube-system namespace.

This replaces license-manager addon functionality.

kke commented 5 years ago

How to update the secret?

I have a working implementation of option A currently but as it's already using ssh and #668 will also rely on running the remote kubectl, maybe that should be used here too.

kke commented 5 years ago

Switched implementation to option B, it's also a lot simpler.