-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Adding platform ingress (#476)
- **Remove `platform` root element** - **Point to single proxy port `3000`** - **Adding ingress**
- Loading branch information
Showing
10 changed files
with
384 additions
and
169 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
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
platform: | ||
externalDependencies: | ||
# 172.17.0.1 is the default gateway for the docker0 bridge network | ||
postgresql_dsn: "postgres://postgres:[email protected]:5432/postgres?sslmode=disable" | ||
clickhouse_dsn: "clickhouse://user:[email protected]:9000/assets" | ||
externalDependencies: | ||
# 172.17.0.1 is the default gateway for the docker0 bridge network | ||
postgresql_dsn: "postgres://postgres:[email protected]:5432/postgres?sslmode=disable" | ||
clickhouse_dsn: "clickhouse://user:[email protected]:9000/assets" |
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,8 +1,23 @@ | ||
The CloudQuery Platform UI can be accessed via port {{ .Values.platform.service.uiPort }} and the API server via port {{ .Values.platform.service.apiPort }}. | ||
# Pod Access | ||
|
||
1. Setup port forwarding to access the UI and API servers by doing the following: | ||
The CloudQuery Platform UI can be accessed directly via the pod on port {{ .Values.service.proxyPort }}. | ||
|
||
1. Setup port forwarding to access the UI by doing the following: | ||
|
||
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "platform.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") | ||
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 3000 4444 | ||
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 3000 | ||
|
||
2. Visit the UI on http://localhost:3000 using username `admin@localhost` and initial password of `pass` | ||
|
||
{{ if .Values.ingress.enabled }} | ||
# Ingress Access | ||
|
||
The CloudQuery Platform UI can be accessed via the following ingress endpoints: | ||
|
||
{{ range $host := .Values.ingress.hosts }} | ||
{{- range .paths }} | ||
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ .path }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{- end }} |
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
Oops, something went wrong.