Skip to content

Commit e9e6e73

Browse files
committed
Clean up docs
Signed-off-by: Alan Sherman <asherman@linuxfoundation.org>
1 parent eda02a9 commit e9e6e73

File tree

3 files changed

+33
-9
lines changed

3 files changed

+33
-9
lines changed

charts/lfx-v2-pcc-ui/README.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,22 @@ POSTGRES_API_KEY:
5353

5454
### Environment Variables
5555

56-
| Parameter | Description | Required | Default |
57-
| ------------------------------- | ------------------- | -------- | ----------------------------------------- |
58-
| `environment.ENV` | Environment name | Yes | `"production"` |
59-
| `environment.QUERY_SERVICE_URL` | Query service URL | No | `"http://localhost:8080/query/resources"` |
60-
| `environment.NODE_ENV` | Node.js environment | No | `"production"` |
61-
| `environment.PORT` | Application port | No | `"4000"` |
56+
| Parameter | Description | Required | Default |
57+
| --------------------------------------- | ---------------------------------- | -------- | ---------------------------------------------------------------- |
58+
| `environment.NODE_ENV` | Node.js environment | No | `production` |
59+
| `environment.PORT` | Application port | No | `4000` |
60+
| `environment.COREPACK_HOME` | Corepack cache directory | No | `/home/appuser/.cache/node/corepack` |
61+
| `environment.XDG_CACHE_HOME` | XDG cache directory | No | `/home/appuser/.cache` |
62+
| `environment.TMPDIR` | Temporary directory | No | `/tmp` |
63+
| `environment.PCC_BASE_URL` | Base URL for the PCC application | Yes | `https://pcc.k8s.orb.local` |
64+
| `environment.PCC_AUTH0_ISSUER_BASE_URL` | Auth0 issuer base URL | No | `https://linuxfoundation-dev.auth0.com/` |
65+
| `environment.PCC_AUTH0_AUDIENCE` | Auth0 audience | No | `https://api-gw.dev.platform.linuxfoundation.org/` |
66+
| `environment.ENV` | Environment name | Yes | `production` |
67+
| `environment.QUERY_SERVICE_URL` | Query service URL | No | `http://query-service.default.svc.cluster.local/query/resources` |
68+
| `environment.PCC_AUTH0_CLIENT_ID` | Auth0 client ID (secret) | Yes | |
69+
| `environment.PCC_AUTH0_CLIENT_SECRET` | Auth0 client secret (secret) | Yes | |
70+
| `environment.SUPABASE_URL` | Supabase URL (secret) | Yes | |
71+
| `environment.POSTGRES_API_KEY` | Supabase Postgres API key (secret) | Yes | |
6272

6373
### Service Parameters
6474

charts/lfx-v2-pcc-ui/templates/deployment.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,4 @@ spec:
4848
valueFrom:
4949
{{- toYaml $config.valueFrom | nindent 14 }}
5050
{{- end }}
51-
{{- end }}
52-
resources:
53-
{{- toYaml .Values.resources | nindent 12 }}
51+
{{- end }}

charts/lfx-v2-pcc-ui/values.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,19 @@ environment:
8686
# Query service configuration
8787
QUERY_SERVICE_URL:
8888
value: "http://query-service.default.svc.cluster.local/query/resources"
89+
90+
# required environment variable secrets
91+
PCC_BASE_URL:
92+
value:
93+
94+
PCC_AUTH0_CLIENT_ID:
95+
value:
96+
97+
PCC_AUTH0_CLIENT_SECRET:
98+
value:
99+
100+
SUPABASE_URL:
101+
value:
102+
103+
POSTGRES_API_KEY:
104+
value:

0 commit comments

Comments
 (0)