-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
101 changed files
with
594 additions
and
1,445 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
web/node_modules | ||
web/src | ||
api | ||
dev | ||
docs | ||
kustomize | ||
migrations | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,3 +45,10 @@ packages/* | |
|
||
# precommit | ||
.pre-commit-config.yaml | ||
|
||
# tmp files | ||
*.tmp | ||
|
||
# dev cache | ||
dev/.gocache | ||
dev/.gomodcache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,8 +26,6 @@ kubectl kots install sentry-pro | |
|
||
Set a namespace for the admin console and the application components to be installed, and provide a password for the admin console. After this command completes, the kotsadm Admin Console will be running in your cluster, listening on port :8800 on a ClusterIP service in the namespace you deployed the application to. By default this is exposed to your workstation using kubectl port-forward, but you could set up an ingress/load balancer of your own. | ||
|
||
**NOTE** Currently, the kotsadm pod can **only** be scheduled on nodes with the `linux/amd64` platform. | ||
|
||
### Access the Admin Console | ||
Visit http://localhost:8800 to access the Admin Console, enter the password. | ||
|
||
|
@@ -40,8 +38,7 @@ kubectl kots admin-console --namespace sentry-pro | |
|
||
## Supportability | ||
|
||
Currently, the KOTS CLI supports OSX (including Apple Silicon arm64) and Linux platforms. However, the Kubernetes resources | ||
that it creates can **only** be scheduled on nodes with the `linux/amd64` platform. | ||
Supports OSX (including Apple Silicon arm64) and Linux platforms. | ||
|
||
# Community | ||
|
||
|
@@ -61,22 +58,51 @@ cosign verify-blob --key sbom/key.pub --signature sbom/kots-sbom.tgz.sig sbom/ko | |
|
||
# Development | ||
|
||
## Github Codespaces | ||
### Requirements | ||
|
||
- MacOS | ||
- Docker Desktop with Kubernetes enabled | ||
- jq | ||
|
||
### Running the Development Environment | ||
|
||
1. Create your own [codespace](https://github.com/replicatedhq/codespace). | ||
1. Clone the KOTS repo: | ||
```bash | ||
git clone [email protected]:replicatedhq/kots.git | ||
git clone https://github.com/replicatedhq/kots.git | ||
cd kots | ||
``` | ||
|
||
2. From the root directory, run: | ||
```bash | ||
make dev | ||
``` | ||
|
||
### Testing Changes to kotsadm web | ||
|
||
Changes to the kotsadm web component are reflected in real-time, no manual steps required. | ||
|
||
### Testing Changes to kotsadm API | ||
|
||
1. Run the following commands: | ||
```bash | ||
make kotsadm-up | ||
make build run | ||
``` | ||
1. From the root directory, run: | ||
|
||
2. To test additional changes, stop the current process with Ctrl+C, then run the following command: | ||
```bash | ||
make cache | ||
skaffold dev | ||
make build run | ||
``` | ||
1. Visit the Admin Console URL. For VS Code: | ||
![Image 2024-02-23 at 2 55 11 PM](https://github.com/replicatedhq/kots/assets/39952863/aa86019f-0111-4d04-a142-3dfc539858a2) | ||
|
||
1. If you'll be working on the webapp or plan on using `make all-ttl.sh` for local testing, be sure to setup yarn: | ||
### Testing Changes to kurl-proxy web / API | ||
|
||
1. Run the following commands: | ||
```bash | ||
cd web && yarn | ||
``` | ||
make kurl-proxy-up | ||
make build run | ||
``` | ||
|
||
2. To test additional changes, stop the current process with Ctrl+C, then run the following command: | ||
```bash | ||
make build run | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.