Skip to content

Commit

Permalink
Improve wording for OIDC kubeconfig settings (#6656) (#6659)
Browse files Browse the repository at this point in the history
Signed-off-by: Waleed Malik <ahmedwaleedmalik@gmail.com>
  • Loading branch information
ahmedwaleedmalik committed Apr 16, 2024
1 parent 193ece0 commit d6cd200
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 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 @@ -70,3 +70,7 @@
}
}
}

.centered {
margin: auto;
}
8 changes: 4 additions & 4 deletions modules/web/src/app/settings/admin/defaults/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,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 @@ -214,9 +214,9 @@
<div fxFlex="16%"
fxLayoutAlign=" center"
class="entry-label">
<span>Disable Admin Kubeconfig</span>
<div class="km-icon-info km-pointer"
matTooltip="Disable the option to download admin kubeconfig and corresponding API endpoints."></div>
<span>Disable Admin Kubeconfig API endpoints</span>
<div class="km-icon-info km-pointer centered"
matTooltip="Disable the option to download admin kubeconfig through corresponding API endpoints."></div>
</div>
<mat-checkbox [(ngModel)]="settings.disableAdminKubeconfig"
[disabled]="!settings.enableOIDCKubeconfig"
Expand Down

0 comments on commit d6cd200

Please sign in to comment.