diff --git a/charts/prefect-server/README.md b/charts/prefect-server/README.md index a72e002..3d62829 100644 --- a/charts/prefect-server/README.md +++ b/charts/prefect-server/README.md @@ -344,4 +344,4 @@ the HorizontalPodAutoscaler. | sqlite.persistence.storageClassName | string | `""` | storage class name for the PVC | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1) +Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2) diff --git a/charts/prefect-worker/README.md b/charts/prefect-worker/README.md index 47ba353..24fb847 100644 --- a/charts/prefect-worker/README.md +++ b/charts/prefect-worker/README.md @@ -380,6 +380,7 @@ worker: | worker.selfHostedCloudApiConfig.apiKeySecret.key | string | `"key"` | prefect API secret key | | worker.selfHostedCloudApiConfig.apiKeySecret.name | string | `"prefect-api-key"` | prefect API secret name | | worker.selfHostedCloudApiConfig.apiUrl | string | `""` | prefect API url (PREFECT_API_URL) | +| worker.selfHostedCloudApiConfig.cloudApiUrl | string | `""` | This is used in self managed cloud instances to congfigure events and logs over websockets | | worker.selfHostedCloudApiConfig.uiUrl | string | `""` | self hosted UI url | | worker.selfHostedCloudApiConfig.workspaceId | string | `""` | prefect workspace ID | | worker.serverApiConfig.apiUrl | string | `""` | prefect API url (PREFECT_API_URL) | @@ -387,4 +388,4 @@ worker: | worker.tolerations | list | `[]` | tolerations for worker pods assignment | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1) +Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2) diff --git a/charts/prefect-worker/templates/deployment.yaml b/charts/prefect-worker/templates/deployment.yaml index 886f08f..9f832f4 100644 --- a/charts/prefect-worker/templates/deployment.yaml +++ b/charts/prefect-worker/templates/deployment.yaml @@ -198,6 +198,8 @@ spec: secretKeyRef: name: {{ .Values.worker.selfHostedCloudApiConfig.apiKeySecret.name }} key: {{ .Values.worker.selfHostedCloudApiConfig.apiKeySecret.key }} + - name: PREFECT_CLOUD_API_URL + value: {{ .Values.worker.selfHostedCloudApiConfig.cloudApiUrl}} {{- end }} - name: PREFECT_DEBUG_MODE value: {{ .Values.worker.image.debug | quote }} diff --git a/charts/prefect-worker/values.schema.json b/charts/prefect-worker/values.schema.json index 644bb77..b584b04 100644 --- a/charts/prefect-worker/values.schema.json +++ b/charts/prefect-worker/values.schema.json @@ -398,6 +398,11 @@ } } }, + "cloudApiUrl": { + "type": "string", + "title": "Self Managed Cloud API URL", + "description": "self managed cloud api url" + }, "uiUrl": { "type": "string", "title": "Self Hosted Cloud URL", diff --git a/charts/prefect-worker/values.yaml b/charts/prefect-worker/values.yaml index 86d4ee1..434e01b 100644 --- a/charts/prefect-worker/values.yaml +++ b/charts/prefect-worker/values.yaml @@ -165,6 +165,9 @@ worker: name: prefect-api-key # -- prefect API secret key key: key + # -- Cloud API url for PREFECT_CLOUD_API_URL + # -- This is used in self managed cloud instances to congfigure events and logs over websockets + cloudApiUrl: "" # -- self hosted UI url uiUrl: "" diff --git a/charts/prometheus-prefect-exporter/README.md b/charts/prometheus-prefect-exporter/README.md index a91ed75..c4c141d 100644 --- a/charts/prometheus-prefect-exporter/README.md +++ b/charts/prometheus-prefect-exporter/README.md @@ -125,4 +125,4 @@ basicAuth: | tolerations | list | `[]` | Tolerations for pod assignment | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1) +Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)