Skip to content
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

Add value for PREFECT_CLOUD_API_URL to worker chart for Self Managed Cloud instances #433

Merged
merged 2 commits into from
Jan 28, 2025
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
2 changes: 1 addition & 1 deletion charts/prefect-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
3 changes: 2 additions & 1 deletion charts/prefect-worker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -380,11 +380,12 @@ 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) |
| worker.serverApiConfig.uiUrl | string | `"http://localhost:4200"` | prefect UI url |
| 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)
2 changes: 2 additions & 0 deletions charts/prefect-worker/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
5 changes: 5 additions & 0 deletions charts/prefect-worker/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions charts/prefect-worker/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ worker:
name: prefect-api-key
# -- prefect API secret key
key: key
# -- Cloud API url for PREFECT_CLOUD_API_URL
robfreedy marked this conversation as resolved.
Show resolved Hide resolved
# -- This is used in self managed cloud instances to congfigure events and logs over websockets
cloudApiUrl: ""
# -- self hosted UI url
uiUrl: ""

Expand Down
2 changes: 1 addition & 1 deletion charts/prometheus-prefect-exporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)