Skip to content

Commit

Permalink
Merge branch 'stage-packs-component' of github.com:spectrocloud/libra…
Browse files Browse the repository at this point in the history
…rium into descriptions-content
  • Loading branch information
karl-cardenas-coding committed Jul 26, 2024
2 parents c7bc80b + 0fdb6d4 commit 9a8af9d
Show file tree
Hide file tree
Showing 9 changed files with 70 additions and 97 deletions.
3 changes: 1 addition & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ docs/api-content/**/*.json

# Troublesome files
tsconfig.json
src/components/IconMapper/dynamicFontAwesomeImports.ts
src/components/IconMapper/dynamicFontAwesomeImports.js
src/components/IconMapper/dynamicFontAwesomeImports.*
docs/docs-content/security-bulletins/cve-reports.md

# Ignore partials
Expand Down
2 changes: 1 addition & 1 deletion docs/docs-content/clusters/edge/edge-native-lifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ SaaS or a self-hosted instance. The following diagram represents the deployment
static IP address, network proxy, and SSL certificates with site user data or Palette Terminal User Interface (TUI).
For more information, refer to [Deploy Edge Hosts On-Site](./site-deployment/site-installation/site-installation.md).

5. **Cluster formation**. One an Edge host is registered with Palette, the Edge host can be used to form a new cluster
5. **Cluster formation**. Once an Edge host is registered with Palette, the Edge host can be used to form a new cluster
or be added to an existing cluster. Each cluster uses a cluster profile modeled in the **Modeling** stage. For more
information, refer to [Cluster Definition](./site-deployment/cluster-deployment.md).

Expand Down
1 change: 1 addition & 0 deletions docs/docs-content/release-notes/known-issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ The following table lists all known issues that are currently active and affecti

| Description | Workaround | Publish Date | Product Component |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- | -------------------------- |
| Palette CLI users who authenticated with the `login` command and specified a Palette console endpoint that does not contain the tenant name are encountering issues with expired JWT tokens. | Re-authenticate using your tenant URL, for example, `https://my-org.console.spectrocloud.com.` If the issue persists after re-authenticating, remove the `~/.palette/palette.yaml` file that is auto-generated by the Palette CLI. Re-authenticate with the `login` command if other commands require it. | July 25, 2024 | CLI |
| Adding new cloud providers, such as Nutanix, is currently unavailable. Private Cloud Gateway (PCG) deployments in new Nutanix environments fail to complete the installation. As a result, adding a new Nutanix environment to launch new host clusters is unavailable. This does not impact existing Nutanix deployments with a PCG deployed. | No workarounds are available. | July 20, 2024 | Clusters, Self-Hosted, PCG |
| Single-node Private Cloud Gateway (PCG) clusters are experiencing an issue upgrading to 4.4.11. The vSphere CSI controller pod fails to start because there are no matching affinity rules. | Check out the [vSphere Controller Pod Fails to Start in Single Node PCG Cluster](../troubleshooting/pcg.md#scenario---vsphere-controller-pod-fails-to-start-in-single-node-pcg-cluster) guide for workaround steps. | July 20, 2024 | PCG |
| When provisioning an Edge cluster, it's possible that some Operating System (OS) user credentials will be lost once the cluster is active. This is because the cloud-init stages from different sources merge during the deployment process, and sometimes, the same stages without distinct names overwrite each other. | Give each of your cloud-init stages in the OS pack and in the Edge installer **user-data** file a unique name. For more information about cloud-init stages and examples of cloud-init stages with names, refer to [Cloud-init Stages](../clusters/edge/edge-configuration/cloud-init.md). | July 17, 2024 | Edge |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,16 +206,40 @@ Use the following steps to validate the SSO configuration.

![Image of project roles highlighted](/keycloak/user-management_saml-sso_keycloak-15-palette-project.webp "Palette Project")

4. From the left **Main Menu**, select **Tenant Settings**. Next, click on **SSO** to access the SSO configuration page.
### Sync Keycloak Groups and Palette Teams

1. Switch back to the Keycloak admin console and modify the **profile** Client Scope. Navigate to the left **Main Menu**
and select **Client Scope**. Click on the **Profile** button.

![Image of keycloak mappers highlighted](/keycloak/user-management_oidc-sso-keycloak-19-keycloak-client-scopes.webp "Palette Project")

2. Within the **profile** Client scope details, click **Mappers**, then **Add mapper** and **By configuration**.

3. Navigate to **Group Membership** in the Configure a new mapper modal.

4. Next, ensure the **Name** and **Token Claim Name** fields are both **groups**.

![Image of keycloak client scopes highlighted](/keycloak/user-management_oidc-sso-keycloak-20-keycloak-mapper.webp "Palette Project")

5. Deselect the radio button for **Full group path**.

6. Save the add mapper page.

You have now ensured that the groups for the Keycloak user are within the token attributes, ensure the Keycloak group
and the Palette group match.

### Default Teams

1. From the left **Main Menu**, select **Tenant Settings**. Next, click on **SSO** to access the SSO configuration page.
Click on the **OIDC** tab to access the OIDC configuration page. Scroll down to the **SSO Admins** section and select
the **admins** team from the **Default Team** drop-down Menu. Click on **Save**.

5. Navigate back to the Keycloak admin console. From the left **Main Menu** click on **Users**. Create a user and ensure
2. Navigate back to the Keycloak admin console. From the left **Main Menu** click on **Users**. Create a user and ensure
the field **Username**, **Email**, and **First Name** are filled out. Click on **Save** to save the user.

![Keycloak's management portal with the User view in focus](/keycloak/user-management_saml-sso_keycloak-17-keycloak-user.webp "Keycloak user")

6. Next, click on the **Credentials** tab and assign the user password.
3. Next, click on the **Credentials** tab and assign the user password.

![Keycloak's management portal with the User view in focus that lists all current users](/keycloak/user-management_saml-sso_keycloak-18-keycloak-password.webp "Keycloak password")

Expand Down
2 changes: 1 addition & 1 deletion plugins/font-awesome.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ async function pluginImportFontAwesomeIcons() {
fs.mkdirSync(directory, { recursive: true });
}

fs.writeFile(path.join(directory, "dynamicFontAwesomeImports.js"), fileContent, "utf8", (err) => {
fs.writeFile(path.join(directory, "dynamicFontAwesomeImports.ts"), fileContent, "utf8", (err) => {
if (err) {
console.error("An error occurred while writing the file:", err);
}
Expand Down
51 changes: 0 additions & 51 deletions src/components/IconMapper/dynamicFontAwesomeImports.js

This file was deleted.

78 changes: 39 additions & 39 deletions src/components/IconMapper/dynamicFontAwesomeImports.ts
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
import { faCubes } from "@fortawesome/free-solid-svg-icons";
import { faTerminal } from "@fortawesome/free-solid-svg-icons";
import { faPersonWalkingLuggage } from "@fortawesome/free-solid-svg-icons";
import { faObjectGroup } from "@fortawesome/free-solid-svg-icons";
import { faEnvelopeOpenText } from "@fortawesome/free-solid-svg-icons";
import { faDatabase } from "@fortawesome/free-solid-svg-icons";
import { faHdd } from "@fortawesome/free-solid-svg-icons";
import { faCloudArrowDown } from "@fortawesome/free-solid-svg-icons";
import { faNetworkWired } from "@fortawesome/free-solid-svg-icons";
import { faServer } from "@fortawesome/free-solid-svg-icons";
import { faUsers } from "@fortawesome/free-solid-svg-icons";
import { faWarehouse } from "@fortawesome/free-solid-svg-icons";
import { faFlagCheckered } from "@fortawesome/free-solid-svg-icons";
import { faPalette } from "@fortawesome/free-solid-svg-icons";
import { faBook } from "@fortawesome/free-solid-svg-icons";
import { faBookmark } from "@fortawesome/free-solid-svg-icons";
import { faGavel } from "@fortawesome/free-solid-svg-icons";
import { faTowerObservation } from "@fortawesome/free-solid-svg-icons";
import { faLock } from "@fortawesome/free-solid-svg-icons";
import { faGears } from "@fortawesome/free-solid-svg-icons";
import { faScrewdriverWrench } from "@fortawesome/free-solid-svg-icons";
import { faEyeSlash } from "@fortawesome/free-solid-svg-icons";
import { faShield } from "@fortawesome/free-solid-svg-icons";
import { faMicrochip } from "@fortawesome/free-solid-svg-icons";
import { faCubes } from '@fortawesome/free-solid-svg-icons';
import { faTerminal } from '@fortawesome/free-solid-svg-icons';
import { faPersonWalkingLuggage } from '@fortawesome/free-solid-svg-icons';
import { faObjectGroup } from '@fortawesome/free-solid-svg-icons';
import { faEnvelopeOpenText } from '@fortawesome/free-solid-svg-icons';
import { faDatabase } from '@fortawesome/free-solid-svg-icons';
import { faHdd } from '@fortawesome/free-solid-svg-icons';
import { faCloudArrowDown } from '@fortawesome/free-solid-svg-icons';
import { faNetworkWired } from '@fortawesome/free-solid-svg-icons';
import { faServer } from '@fortawesome/free-solid-svg-icons';
import { faUsers } from '@fortawesome/free-solid-svg-icons';
import { faWarehouse } from '@fortawesome/free-solid-svg-icons';
import { faFlagCheckered } from '@fortawesome/free-solid-svg-icons';
import { faPalette } from '@fortawesome/free-solid-svg-icons';
import { faBook } from '@fortawesome/free-solid-svg-icons';
import { faBookmark } from '@fortawesome/free-solid-svg-icons';
import { faGavel } from '@fortawesome/free-solid-svg-icons';
import { faTowerObservation } from '@fortawesome/free-solid-svg-icons';
import { faLock } from '@fortawesome/free-solid-svg-icons';
import { faGears } from '@fortawesome/free-solid-svg-icons';
import { faScrewdriverWrench } from '@fortawesome/free-solid-svg-icons';
import { faEyeSlash } from '@fortawesome/free-solid-svg-icons';
import { faShield } from '@fortawesome/free-solid-svg-icons';
import { faMicrochip } from '@fortawesome/free-solid-svg-icons';

export const fontAwesomeIcons = {
cubes: faCubes,
terminal: faTerminal,
"cubes": faCubes,
"terminal": faTerminal,
"person-walking-luggage": faPersonWalkingLuggage,
"object-group": faObjectGroup,
"envelope-open-text": faEnvelopeOpenText,
database: faDatabase,
hdd: faHdd,
"database": faDatabase,
"hdd": faHdd,
"cloud-arrow-down": faCloudArrowDown,
"network-wired": faNetworkWired,
server: faServer,
users: faUsers,
warehouse: faWarehouse,
"server": faServer,
"users": faUsers,
"warehouse": faWarehouse,
"flag-checkered": faFlagCheckered,
palette: faPalette,
book: faBook,
bookmark: faBookmark,
gavel: faGavel,
"palette": faPalette,
"book": faBook,
"bookmark": faBookmark,
"gavel": faGavel,
"tower-observation": faTowerObservation,
lock: faLock,
gears: faGears,
"lock": faLock,
"gears": faGears,
"screwdriver-wrench": faScrewdriverWrench,
"eye-slash": faEyeSlash,
shield: faShield,
microchip: faMicrochip,
"shield": faShield,
"microchip": faMicrochip
};
Binary file not shown.
Binary file not shown.

0 comments on commit 9a8af9d

Please sign in to comment.