Skip to content

Latest commit

 

History

History
65 lines (55 loc) · 3.26 KB

File metadata and controls

65 lines (55 loc) · 3.26 KB
page_title duploai_oci_repository Data Source - duploai
subcategory
description Manages a DuploCloud AI Helpdesk Kubernetes OCI repository (Flux OCIRepository).

duploai_oci_repository (Data Source)

Manages a DuploCloud AI Helpdesk Kubernetes OCI repository (Flux OCIRepository).

Example Usage

# Look up an OCI repository by ID.
data "duploai_oci_repository" "example" {
  workspace_id = "<workspace-id>"
  id           = "<object-id>"
}

output "status" {
  value = data.duploai_oci_repository.example.status
}

Schema

Required

  • id (String) ID of the object to look up.
  • workspace_id (String) ID of the workspace that owns this OCI repository.

Read-Only

  • annotations (Map of String) Kubernetes annotations applied to the OCI repository.
  • api_version (String) Flux OCIRepository CRD apiVersion. Override if your cluster's Flux serves a different version (e.g. source.toolkit.fluxcd.io/v1beta2).
  • cert_secret_ref_name (String) Name of a Kubernetes Secret holding TLS certificate data.
  • description (String) Optional description.
  • environment_id (String) ID of the environment that owns the resource group.
  • ignore (String) Cluster-ignore (.gitignore-style) patterns of files to exclude from the artifact.
  • insecure (Boolean) Allow connecting to an HTTP (non-TLS) OCI registry.
  • interval (String) Interval at which the OCI artifact is fetched (Go duration, e.g. 5m, 1h).
  • labels (Map of String) Kubernetes labels applied to the OCI repository.
  • layer_selector_media_type (String) Media type of the OCI layer to extract.
  • layer_selector_operation (String) How to handle the selected layer: extract or copy.
  • name (String) Name of the OCI repository resource.
  • namespace_name (String) Kubernetes namespace the OCI repository is created in.
  • oci_provider (String) Provider used for authentication (e.g. generic, aws, azure, gcp).
  • oci_repository_id (String) ID of this OCI repository, for reference by dependent resources.
  • provisioner_type (String) Provisioner type: Cli, IacNativeTf, IacDuploTf, or DirectApiCall.
  • provisioner_version (String) Optional provisioner version.
  • proxy_secret_ref_name (String) Name of a Kubernetes Secret holding proxy configuration.
  • ref_digest (String) Exact OCI artifact digest to pull (mutually exclusive with ref_tag/ref_semver).
  • ref_semver (String) Semver range used to select the artifact tag.
  • ref_semver_filter (String) Regex filter applied to tags before the semver range is evaluated.
  • ref_tag (String) OCI artifact tag to pull (mutually exclusive with ref_semver/ref_digest).
  • resource_group_id (String) ID of the resource group (EKS cluster) this OCI repository belongs to.
  • scope_ids (List of String) Scope IDs that link this OCI repository to a cloud provider account.
  • secret_ref_name (String) Name of a Kubernetes Secret holding registry credentials.
  • service_account_name (String) Service account used for workload-identity authentication to the registry.
  • status (String) Current provisioning status.
  • suspend (Boolean) Suspend reconciliation of the repository.
  • url (String) URL of the OCI repository (e.g. oci://ghcr.io/org/charts).