
Integrates airshipctl's config functionality with Airship UI to allow users to view and set airship configuration settings. Known issues: - Manifests currently only shows the primary (phase) repo. We'll probably need a separate repo sub-component to allow for showing / editing multiple repos - There are some boolean values which once set, cannot be unset using airshipctl's setters. We may need to write custom setters to set the Config struct values directly - It's possible to make edits to the config file that render the config invalid, so the CTL client cannot be initialized for subsequent edits. We'll probably want to make a copy of the original config, test the changes by initializing a new client, and only persist the changes if valid. - Lots and lots of cosmetic work remains to make the output more readable and easier to manage Change-Id: Ib29f3f6cf3e420b6e0e2cdc6afddd48c7e403137
27 lines
983 B
HTML
Executable File
27 lines
983 B
HTML
Executable File
<h1>Airship Configuration Operations</h1>
|
|
<mat-divider></mat-divider>
|
|
<div class="config-container">
|
|
<h3>Contexts - Current Context: {{currentContext}}</h3>
|
|
<div class="contexts" *ngFor="let context of contexts">
|
|
<app-config-context [context]="context"></app-config-context>
|
|
</div>
|
|
<mat-divider></mat-divider>
|
|
|
|
<h3>Manifests</h3>
|
|
<div class="manifests" *ngFor="let manifest of manifests">
|
|
<app-config-manifest [manifest]="manifest"></app-config-manifest>
|
|
</div>
|
|
<mat-divider></mat-divider>
|
|
|
|
<h3>Encryption Configurations</h3>
|
|
<div class="encryption-configs" *ngFor="let config of encryptionConfigs">
|
|
<app-config-encryption [config]="config"></app-config-encryption>
|
|
</div>
|
|
<mat-divider></mat-divider>
|
|
|
|
<h3>Management Configurations</h3>
|
|
<div class="management-configs" *ngFor="let config of managementConfigs">
|
|
<app-config-management [config]="config"></app-config-management>
|
|
</div>
|
|
</div>
|