feat(sites): adding official kubernetes install command for newt #922

Closed
opened 2026-04-05 18:00:28 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @marcschaeferger on 9/15/2025

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description by Copilot

This pull request adds support for the Kubernetes platform to both the client and site creation pages, ensuring that Kubernetes is now available as an option alongside existing platforms. The changes include updates to the UI, platform selection logic, and command generation for Kubernetes deployments.

Kubernetes platform support:

These changes collectively enable users to configure and deploy clients and sites using Kubernetes, with appropriate UI elements and command instructions.

How to test?

Run Pangolin with the changed files.

Example:
grafik

*Originally created by @marcschaeferger on 9/15/2025* ## Community Contribution License Agreement By creating this pull request, I grant the project maintainers an unlimited, perpetual license to use, modify, and redistribute these contributions under any terms they choose, including both the AGPLv3 and the Fossorial Commercial license terms. I represent that I have the right to grant this license for all contributed content. ## Description by Copilot This pull request adds support for the Kubernetes platform to both the client and site creation pages, ensuring that Kubernetes is now available as an option alongside existing platforms. The changes include updates to the UI, platform selection logic, and command generation for Kubernetes deployments. **Kubernetes platform support:** * Added `SiKubernetes` icon import and usage for Kubernetes in both `src/app/[orgId]/settings/clients/create/page.tsx` and `src/app/[orgId]/settings/sites/create/page.tsx`, enabling visual identification of the platform. ([src/app/[orgId]/settings/clients/create/page.tsxR45-R48](diffhunk://#diff-e59d0a6a1f08cd93a1afbbe17cb31aee16a0d00236b253bf2a6b4060ff594615R45-R48), [src/app/[orgId]/settings/sites/create/page.tsxL45-R48](diffhunk://#diff-9a4504bba61ccdd29185e266cfc61b36c979b55a6fffe15c1741d456d8dbfe34L45-R48), [src/app/[orgId]/settings/clients/create/page.tsxR255-R262](diffhunk://#diff-e59d0a6a1f08cd93a1afbbe17cb31aee16a0d00236b253bf2a6b4060ff594615R255-R262), [src/app/[orgId]/settings/sites/create/page.tsxR417-R418](diffhunk://#diff-9a4504bba61ccdd29185e266cfc61b36c979b55a6fffe15c1741d456d8dbfe34R417-R418)) * Included "kubernetes" in the list of supported platforms and in the `Commands` type definition, allowing it to be selected and handled like other platforms. ([src/app/[orgId]/settings/sites/create/page.tsxR82-R90](diffhunk://#diff-9a4504bba61ccdd29185e266cfc61b36c979b55a6fffe15c1741d456d8dbfe34R82-R90)) * Added Kubernetes-specific deployment commands (Helm Chart instructions and a placeholder for Manifest/Kustomize) to the command generation logic for sites. ([src/app/[orgId]/settings/sites/create/page.tsxR285-R298](diffhunk://#diff-9a4504bba61ccdd29185e266cfc61b36c979b55a6fffe15c1741d456d8dbfe34R285-R298)) * Updated platform label and option logic to display "Kubernetes" as a selectable and recognizable option in the UI. ([src/app/[orgId]/settings/sites/create/page.tsxR346-R347](diffhunk://#diff-9a4504bba61ccdd29185e266cfc61b36c979b55a6fffe15c1741d456d8dbfe34R346-R347), [src/app/[orgId]/settings/sites/create/page.tsxR369-R370](diffhunk://#diff-9a4504bba61ccdd29185e266cfc61b36c979b55a6fffe15c1741d456d8dbfe34R369-R370)) These changes collectively enable users to configure and deploy clients and sites using Kubernetes, with appropriate UI elements and command instructions. ## How to test? Run Pangolin with the changed files. Example: <img width="1581" height="772" alt="grafik" src="https://github.com/user-attachments/assets/7b840d75-8422-4fa9-b307-3a40a30021c0" />
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#922