Skip to content

Commit

Permalink
Improve wording for OIDC kubeconfig settings (#6656) (#6658)
Browse files Browse the repository at this point in the history
Signed-off-by: Waleed Malik <[email protected]>
  • Loading branch information
ahmedwaleedmalik authored Apr 16, 2024
1 parent f0b8e84 commit e55b994
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions modules/web/src/app/settings/admin/defaults/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@
margin-left: 4px;
}
}

.centered {
margin: auto;
}
6 changes: 3 additions & 3 deletions modules/web/src/app/settings/admin/defaults/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
class="entry-label">
<span>Enable OIDC Kubeconfig</span>
<div class="km-icon-info km-pointer"
matTooltip="Use OIDC provider as a proxy for kubeconfig download."></div>
matTooltip="Use OIDC provider as a proxy for kubeconfig download. When enabled, the option to download admin kubeconfig will be disabled from UI"></div>
</div>
<mat-checkbox [(ngModel)]="settings.enableOIDCKubeconfig"
[disabled]="!isOIDCKubeCfgEndpointEnabled"
Expand All @@ -216,8 +216,8 @@
<div fxFlex="16%"
fxLayoutAlign=" center"
class="entry-label">
<span>Disable Admin Kubeconfig</span>
<div class="km-icon-info km-pointer"
<span>Disable Admin Kubeconfig API endpoints</span>
<div class="km-icon-info km-pointer centered"
matTooltip="Disable the option to download admin kubeconfig and corresponding API endpoints."></div>
</div>
<mat-checkbox [(ngModel)]="settings.disableAdminKubeconfig"
Expand Down

0 comments on commit e55b994

Please sign in to comment.