Add cycling deployments and updating config
Add kube config with refactor to kube accessor Add tests for k8s accessor, some styling changes
This commit is contained in:
parent
d387ba171f
commit
eea5fe3391
23 changed files with 830 additions and 560 deletions
|
@ -20,12 +20,12 @@ export class ConfigSetupAppComponent {
|
|||
| 'deploy';
|
||||
|
||||
private loadedConfig = false;
|
||||
private isKubernetes: boolean = false;
|
||||
private kubeNamespace: string | boolean = false;
|
||||
|
||||
constructor(@Inject('ApiService') private apiService) {
|
||||
this.state = 'choice';
|
||||
if (window.__is_kubernetes) {
|
||||
this.isKubernetes = true;
|
||||
if (window.__kubernetes_namespace) {
|
||||
this.kubeNamespace = window.__kubernetes_namespace;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue