Skip to main content

WorkloadDeployedDto

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

Payload for the operator's WorkloadDeployedAsync callback. Carries everything the operator needs to helm upgrade --install a workload: chart reference (resolved from the workload's HelmRepositoryConfiguration), base values, and structured overrides. Secret-flagged overrides are decrypted by the controller before being placed on the wire — the wire itself is SignalR-over-TLS.

public record WorkloadDeployedDto : IEquatable<WorkloadDeployedDto>

Inheritance ObjectWorkloadDeployedDto
Implements IEquatable<WorkloadDeployedDto>

Properties

TenantId

Tenant the workload belongs to.

public string TenantId { get; set; }

Property Value

String

PoolName

Pool that manages this workload. The operator deploys into the pool's Kubernetes namespace.

public string PoolName { get; set; }

Property Value

String

WorkloadName

Workload name (used as the basis for the Helm release name).

public string WorkloadName { get; set; }

Property Value

String

WorkloadType

Discriminator between Adapter and Application. The operator uses this to apply type-specific defaults if needed.

public WorkloadTypeDto WorkloadType { get; set; }

Property Value

WorkloadTypeDto

RepositoryUrl

Helm repository URL the chart is pulled from. Typically a public or private GitHub Pages site. Resolved from the workload's HelmRepositoryConfiguration by the controller.

public string RepositoryUrl { get; set; }

Property Value

String

RepositoryUsername

Optional basic-auth username for private repositories.

public string RepositoryUsername { get; set; }

Property Value

String

RepositoryPassword

Optional basic-auth password / PAT for private repositories. Decrypted server-side before being placed on the wire.

public string RepositoryPassword { get; set; }

Property Value

String

ChartName

Chart name within the repository (e.g. voest-app).

public string ChartName { get; set; }

Property Value

String

ChartVersion

Chart version (e.g. 1.2.3).

public string ChartVersion { get; set; }

Property Value

String

ValuesYaml

Base values.yaml content as a YAML string. May be empty when only structured overrides are used. Acts as the base layer of Helm values; WorkloadDeployedDto.Values is deep-merged on top.

public string ValuesYaml { get; set; }

Property Value

String

Values

Structured value overrides. Secret-flagged entries have their ValueOverrideDto.Value already decrypted.

public IReadOnlyList<ValueOverrideDto> Values { get; set; }

Property Value

IReadOnlyList<ValueOverrideDto>

Constructors

WorkloadDeployedDto()

public WorkloadDeployedDto()