Closed jakolehm closed 5 years ago
How to update the secret?
-c cluster.yml
+ ssh to retrieve kubeconfig and use it to configure k8s-client
-c cluster.yml
+ ssh + remote kubectl
ENV['KUBECONFIG']
using Pharos::Kube::Config
and use the resulting config and the current context in it to configure k8s-client
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.
Switched implementation to option B
, it's also a lot simpler.
Should exchange a valid license key to a subscription token and store it to
pharos-license
secret inkube-system
namespace.This replaces
license-manager
addon functionality.