-
Notifications
You must be signed in to change notification settings - Fork 90
feat(webui): Add log-ingestor and S3 auth config to deployment templates. #2196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
d98b781
9ef3b84
0a4102f
9ab537c
93497cb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -18,3 +18,7 @@ PRESTO_SCHEMA=default | |||||
| # Security | ||||||
| RATE_LIMIT=1000 | ||||||
|
|
||||||
| # S3 Logs Input | ||||||
|
||||||
| # S3 Logs Input | |
| # S3 |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -13,6 +13,8 @@ declare module "fastify" { | |||||
| PRESTO_CATALOG: string; | ||||||
| PRESTO_SCHEMA: string; | ||||||
| RATE_LIMIT: number; | ||||||
| CLP_LOGS_INPUT_AWS_ACCESS_KEY_ID: string; | ||||||
| CLP_LOGS_INPUT_AWS_SECRET_ACCESS_KEY: string; | ||||||
| }; | ||||||
| } | ||||||
| } | ||||||
|
|
@@ -72,6 +74,16 @@ const schema = { | |||||
| default: 1_000, | ||||||
| minimum: 1, | ||||||
| }, | ||||||
|
|
||||||
| // S3 Logs Input | ||||||
|
||||||
| // S3 Logs Input | |
| // S3 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| apiVersion: "v2" | ||
| name: "clp" | ||
| version: "0.2.1-dev.6" | ||
| version: "0.2.1-dev.7" | ||
| description: "A Helm chart for CLP's (Compressed Log Processor) package deployment" | ||
| type: "application" | ||
| appVersion: "0.10.1-dev" | ||
| appVersion: "0.11.1-dev" | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. revert this for now |
||
| home: "https://github.com/y-scope/clp" | ||
| icon: "https://github.com/y-scope/clp/raw/main/docs/src/clp-logo.png" | ||
| sources: ["https://github.com/y-scope/clp"] | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -283,10 +283,27 @@ data: | |
| {{ .Values.clpConfig.results_cache.stream_collection_name | quote }}, | ||
| "ClientDir": "/opt/clp/var/www/webui/client", | ||
| "LogViewerDir": "/opt/clp/var/www/webui/yscope-log-viewer", | ||
| {{- if .Values.clpConfig.log_ingestor }} | ||
| "LogIngestorHost": "{{ include "clp.fullname" . }}-log-ingestor", | ||
| "LogIngestorPort": 3002, | ||
| {{- else }} | ||
| "LogIngestorHost": null, | ||
| "LogIngestorPort": null, | ||
| {{- end }} | ||
coderabbitai[bot] marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| {{- if eq .Values.clpConfig.logs_input.type "fs" }} | ||
| "LogsInputRootDir": "/mnt/logs", | ||
| "LogsInputS3AwsAuthType": null, | ||
| "LogsInputS3AwsProfile": null, | ||
| {{- else }} | ||
| "LogsInputRootDir": null, | ||
| {{- with .Values.clpConfig.logs_input.aws_authentication }} | ||
| "LogsInputS3AwsAuthType": {{ .type | quote }}, | ||
| {{- if .profile }} | ||
| "LogsInputS3AwsProfile": {{ .profile | quote }}, | ||
| {{- else }} | ||
| "LogsInputS3AwsProfile": null, | ||
| {{- end }} | ||
| {{- end }} | ||
| {{- end }} | ||
|
||
| {{- if eq .Values.clpConfig.stream_output.storage.type "fs" }} | ||
| "StreamFilesDir": "/var/data/streams", | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.