Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/pages/docs/schema/docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -167,14 +167,14 @@ services:

### Optional Fields

| Field | Type | Description |
| ------------ | ------- | ----------------------------------------------------------- |
| `command` | string | Override container entrypoint |
| `arguments` | string | Arguments passed to the command. Use `%%SPLIT%%` for spaces |
| `env` | object | Environment variables |
| `ports` | array | Exposed container ports |
| `deployment` | object | Deployment configuration (see below) |
| `envLens` | boolean | Enable environment lens ingress banner |
| Field | Type | Description |
| ------------ | ------- | ---------------------------------------------------------------------------------------- |
| `command` | string | Override container entrypoint |
| `arguments` | string | Arguments passed to the command. Use `%%SPLIT%%` for spaces |
| `env` | object | Environment variables |
| `ports` | array | Exposed container ports |
| `deployment` | object | Deployment configuration (see below) |
| `envLens` | boolean | Enable environment lens ingress banner. Overrides the global `features.envLens` default. |

## Deployment Options

Expand Down
8 changes: 4 additions & 4 deletions src/pages/docs/schema/github.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -282,10 +282,10 @@ Persistent volume mounts for stateful data:

### Optional Fields

| Field | Type | Description |
| ------------ | ------- | -------------------------------------- |
| `deployment` | object | Deployment configuration (see above) |
| `envLens` | boolean | Enable environment lens ingress banner |
| Field | Type | Description |
| ------------ | ------- | ---------------------------------------------------------------------------------------- |
| `deployment` | object | Deployment configuration (see above) |
| `envLens` | boolean | Enable environment lens ingress banner. Overrides the global `features.envLens` default. |

## Template Variables

Expand Down
28 changes: 14 additions & 14 deletions src/pages/docs/schema/helm.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -245,20 +245,20 @@ Configuration for an init container that runs before the main application. Uses

## Fields Reference

| Field | Type | Required | Description |
| ------------------ | ------- | ---------- | -------------------------------------- |
| `chart.name` | string | **Yes** | Chart name or path |
| `chart.repoUrl` | string | For public | Helm repository URL |
| `chart.version` | string | No | Chart version |
| `chart.values` | array | No | Inline Helm values |
| `chart.valueFiles` | array | No | Value file paths |
| `repository` | string | For builds | GitHub repository |
| `branchName` | string | For builds | Branch to build from |
| `docker` | object | No | Docker build config |
| `args` | string | No | Additional Helm arguments |
| `version` | string | No | Helm CLI version |
| `deploymentMethod` | string | No | `"native"` or `"ci"` |
| `envLens` | boolean | No | Enable environment lens ingress banner |
| Field | Type | Required | Description |
| ------------------ | ------- | ---------- | ---------------------------------------------------------------------------------------- |
| `chart.name` | string | **Yes** | Chart name or path |
| `chart.repoUrl` | string | For public | Helm repository URL |
| `chart.version` | string | No | Chart version |
| `chart.values` | array | No | Inline Helm values |
| `chart.valueFiles` | array | No | Value file paths |
| `repository` | string | For builds | GitHub repository |
| `branchName` | string | For builds | Branch to build from |
| `docker` | object | No | Docker build config |
| `args` | string | No | Additional Helm arguments |
| `version` | string | No | Helm CLI version |
| `deploymentMethod` | string | No | `"native"` or `"ci"` |
| `envLens` | boolean | No | Enable environment lens ingress banner. Overrides the global `features.envLens` default. |

## Templated Variables

Expand Down
18 changes: 18 additions & 0 deletions src/pages/docs/setup/configure-lifecycle.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,24 @@ Replace the `defaultIPWhiteList` under `global_config.serviceDefaults` with your

---

## Enable Environment Lens Globally

The environment lens banner can be enabled globally for all services via the `features` row in `global_config`. Individual services can still override this by setting `envLens` explicitly in their `lifecycle.yaml`.

```sql
-- Enable envLens globally for all services
INSERT INTO public.global_config ("key", config, "createdAt", "updatedAt")
VALUES ('features', '{"envLens": true}'::json, NOW(), NOW())
ON CONFLICT ("key")
DO UPDATE SET
config = (public.global_config.config::jsonb || '{"envLens": true}'::jsonb)::json,
"updatedAt" = NOW();
```

After running this, [refresh the config cache](#refresh-config-cache) to apply the change.

---

## Refresh config cache

```sh
Expand Down