7. External Dependencies

External dependency deployments are experimental. This chapter documents the available configuration paths for evaluation and controlled validation only. Do not treat external PostgreSQL, external Vault, or customer-managed object storage as the default production deployment model until the integration has been qualified for the customer environment.

7.1 When to Use External Dependencies

Bundled services are the standard deployment path. External dependencies can be evaluated when customers need to validate managed availability, platform-standard backups, independent lifecycle control for platform services, hardened security controls, or integration with existing infrastructure.

The experimental external dependency pattern is:

  • external PostgreSQL

  • external Vault

  • managed S3-compatible object storage

  • customer-managed observability backend

7.2 External PostgreSQL

For evaluation, disable bundled PostgreSQL and configure the external database endpoint:

Kopieren
postgres:
  enabled: false
  external:
    host: postgresql.example.internal
    port: 5432
    database: intrexx
    existingSecret: postgres-auth
    existingSecretKeys:
      username: username
      password: password

The cluster must be able to resolve and connect to the PostgreSQL host. The external database must be sized, backed up, monitored, and secured outside the IX25 Helm release.

7.3 External Vault

For evaluation, disable bundled Vault and provide the external address:

Kopieren
vault:
  enabled: false
  external:
    address: https://vault.example.internal:8200

When using external Vault, the customer must ensure:

  • KV v2 is enabled at the expected path.

  • Kubernetes auth is enabled and configured.

  • Policies and roles match the chart's service accounts and workload requirements.

  • Network reachability exists from IX25 pods to Vault.

7.4 External S3-Compatible Storage

The file storage service can use AWS S3 or another S3-compatible backend instead of bundled RustFS.

Kopieren
s3:
  provider: aws
  aws:
    endpoint: https://s3.example.com
    bucketName: ix25-files
    addressingStyle: virtualHost
    credentials:
      existingSecret: s3-credentials

If endpoint is omitted for standard AWS S3, the AWS SDK uses normal AWS endpoint resolution.

Select the addressing style explicitly when required by the endpoint. virtualHost is the backward-compatible default and uses bucket.endpoint/key:

Kopieren
s3:
  aws:
    addressingStyle: virtualHost

The bucket name must be valid for DNS, and DNS and TLS must support the resulting bucket.endpoint hostname. For endpoints that instead accept endpoint/bucket/key, enable path-style addressing:

Kopieren
s3:
  aws:
    addressingStyle: path

The chart maps virtualHost to FS_S3_FORCE_PATH_STYLE=false and path to FS_S3_FORCE_PATH_STYLE=true; it does not probe the endpoint. Changing the setting does not modify stored objects, but it changes the pod environment and therefore rolls out the file storage Deployment.

7.5 AWS S3 with Pod Identity

On EKS, static credentials can be avoided by using EKS Pod Identity or IRSA:

Kopieren
s3:
  provider: aws
  aws:
    bucketName: ix25-files
    podIdentity: true

When podIdentity=true, static credentials are ignored. The IAM role must be attached to the pod's service account before deploying IX25.

7.6 Filesystem Storage for Non-Production Environments

For local or controlled non-production deployments, the file storage service can store files on a PVC:

Kopieren
s3:
  provider: filesystem
  filesystem:
    persistence:
      enabled: true
      size: 10Gi

Do not use this as the default production file storage model unless your operational process covers backup, restore, capacity, and availability for that PVC.

7.7 Migration Considerations

Switching from bundled to external dependencies is experimental and high risk. Do not combine it casually with unrelated image or chart upgrades.

Before switching:

  • back up the existing release

  • migrate data to the external dependency

  • validate credentials and network reachability

  • render the new manifests

  • test the change in a non-production environment

  • define rollback and restore procedures