port-ocean
by Port Labs
A Helm chart for Port Ocean integrations
About this chart
Port Ocean
Port Ocean chart allow you to deploy Port intergations that were developed with Port Ocean Framewok .
Introduction
This chart installs any Port ocean integration and it's dependencies.
Usage
Helm must be installed to use the charts. Please refer to Helm's documentation to get started.
Once Helm has been set up correctly, add the repo as follows:
helm repo add port-labs https://port-labs.github.io/helm-charts
If you had already added this repo earlier, run helm repo update to retrieve
the latest versions of the packages. You can then run helm search repo port-labs to see the charts.
Use your PORT_CLIENT_ID & PORT_CLIENT_SECRET to install the chart, with the following command:
helm upgrade --install my-ocean-integration port-labs/port-ocean \
--create-namespace --namespace port-ocean \
--set integration.secrets.<sensitiveConfigKeyName>="INTEGRATION_SECRET" \
--set integration.config.<notSensitiveConfigKeyName>="RAW_STRING" \
--set integration.identifier="my-integration-identifier" \
--set eventListener.type="KAFKA" \
--set integration.type="integration type (i.e pagerduty, gitlab)" \
--set port.clientId="PORT_CLIENT_ID" \
--set port.clientSecret="PORT_CLIENT_SECRET"
To uninstall the chart use:
helm uninstall my-ocean-integration --namespace port-ocean
The command removes all the Kubernetes components associated with the chart and deletes the release.
Architecture Overview
The Port Ocean chart supports multiple architectures to fit different operational needs:
1. Single Deployment Architecture (Default)
- Description: Runs as a single always-on Deployment (default). Suitable for most use-cases, this keeps an integration pod running continuously, listening for live events and/or processing Port Actions. Can also trigger periodic syncing as needed.
- Configuration:
workload: kind: "Deployment" liveEvents: worker: enabled: false # Live events handled in main deployment actionsProcessor: enabled: true worker: enabled: false # Actions handled in main deployment
2. CronJob-Only Architecture (Scheduled Resync)
- Description: Runs as a scheduled CronJob, suitable for lightweight scenarios focused on periodic data syncing without continuous operation. The integration pod runs on schedule, performs resync, and then terminates (
ONCEevent listener). - Configuration:
workload: kind: "CronJob" cron: resyncTimeoutMinutes: 60 scheduledResyncInterval: "0 */2 * * *"
3. Separated Deployments Architecture (Recommended for Production)
- Description: Runs the integration, live events worker, and actions processor each as their own always-on Deployment (no CronJob). Use this configuration when you want maximum scalability, dedicated resources for each function, and real-time responsiveness across all integration capabilities.
- Configuration:
workload: kind: "Deployment" liveEvents: worker: enabled: true actionsProcessor: enabled: true worker: enabled: true
4. Hybrid Architecture
- CronJob: Scheduled data polling on a cron schedule
- Live Events Worker: Dedicated deployment for real-time webhook events
- Actions Processor: Optional dedicated deployment for actions
- Use Case: Periodic polling supplemented with real-time event ingestion
- Configuration:
workload: kind: "CronJob" scheduledResyncInterval: "0 */6 * * *" # Every 6 hours liveEvents: worker: enabled: true replicaCount: 2 actionsProcessor: enabled: true worker: enabled: true
5. Connection probe (test connection)
- Description: Renders a suspended CronJob that serves as a reusable job template for integration connection probes (
ocean probe). The CronJob never runs on a schedule; probe Jobs are created on demand. - Resource name:
ocean-{integration.type}-{integration.identifier}-probe-cron - Trigger contract: The caller clones
spec.jobTemplatefrom that CronJob, creates abatch/v1Job, and injectsOCEAN__PROBE_ID(UUID v7 from Port) into the container environment. The probe pod uses the same image, ConfigMap, Secrets, ServiceAccount, and labels as the main integration workload. - Configuration:
probe: enabled: true reportingMode: port # requires OCEAN__PROBE_ID when the Job is created
Configuration
The following table lists the configuration parameters of the port-ocean chart and default values.
| Parameter | Description | Default |
|---|---|---|
nameOverride | Chart name override. | "" |
fullnameOverride | Fully qualified app name override. | "" |
port.clientId | Client ID for Port API authentication (irrelevant if secret.create=false). | |
port.clientSecret | Client secret for Port API authentication (irrelevant if secret.create=false). | |
port.baseUrl | Base URL for the Port API (OCEAN__PORT__BASE_URL). | https://api.getport.io |
port.appUrl | Port's web app URL (OCEAN__PORT__APP_URL). Only needed with identityPropagation.enabled, when it can't be derived from port.baseUrl (api.X -> app.X) - e.g. staging. Without it, Ocean guesses and the post-OAuth redirect can land on the wrong page. | "" |
processingMode | Processing backend (OCEAN__PROCESSING_MODE): dsp (Centralized Ocean) or ocean-core (legacy). | dsp |
lakehouseEnabled | Enable lakehouse processing (OCEAN__LAKEHOUSE_ENABLED). Required for Centralized Ocean with processingMode: dsp. | true |
initializePortResources | When set to true, creates a default JQ mapping and the relevant blueprints | true |
scheduledResyncInterval | The number in minutes to reschedule and poll data from the 3rd party system. When workload.kind is set to CronJob this parameter is required and should be in a format of a cron string | null |
scheduleConcurrencyPolicy | The K8s CronJob Scheduling concurrency policy string | Replace |
allowEnvironmentVariablesJqAccess | When set to true, The jq mapping will be able to include environment variables. | true |
sendRawDataExamples | Enable sending raw data examples from the third party API to port for testing and managing the integration mapping | true |
podAnnotations | Annotations to be added to the pod. | {} |
podLabels | Extra labels to be added to every pod template (main, live events, actions processor, cron, probe). A podLabels entry for ocean.port.io/workload-type is ignored; the chart sets this key on each template. | {} |
Deploy port-ocean with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has port-ocean on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartport-ocean is pinned at v0.24.7 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply