Trang này được dịch bằng máy. Đọc bản gốc tiếng Anh.

FeatureRecipe

k8s-dns-resolver

Helm implementation of core/k8s-dns-resolver. Inject-only: before the base Recipe renders, the injectMapping qualifies the consumer's injected host with the target's Kubernetes namespace, producing the cross-namespace in-cluster DNS name (service.namespace). It reads the target's namespace from the consumer's resolved connection to that target, and falls back to the "default" namespace when none is set — matching where the helm provider deploys an unannotated workload, so the qualified host is always reachable and never malformed. Only the consumer's inject pipe is rewritten; the target's published host is untouched.

Nguồn gốc

Chính thứcĐược ký bởi một danh tính ký mà danh mục này công nhận là nhà phát hành chính thức.
Digest nội dung
sha256:8774fc61e219ba3dc1db6399023bbf947717a76068216dd85d20790374d3d499
Đã xuất bản
2026-11-10T10:15:39Z
Danh tính ký
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Chữ ký

  • Chính thứcapplication/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:a1490bd42166d4db73f477761fb2769fbdb5fdd05f76c49335f59b7ce8ec13c9

Tham chiếu ở phiên bản này

oci://hub.aggrega.ai/featurerecipe/helm/k8s-dns-resolver:1.0.0
Đích
—
Triển khai
core/k8s-dns-resolver:1.0.0

Cung cấp

Các mẫu con trỏ xác định mà công thức này nối cho bên tiêu thụ.

Chưa khai báo mẫu provides nào.

Ánh xạ tiêm

{{- $base_host := optional .context.inject.env .infra.target_var "" }}
{{- $target_edge := dict }}
{{- range $alias, $edge := .context.uses }}
  {{- if hasKey $edge.inject.env $.infra.target_var }}
    {{- $target_edge = $edge }}
  {{- end }}
{{- end }}
{{- $ns := "default" }}
{{- if $target_edge.annotations }}
  {{- $raw := optional (optional (default dict $target_edge.annotations) "release" dict) "aggrega.ai/namespace" (optional (optional (default dict $target_edge.annotations) "aggregate" dict) "aggrega.ai/namespace" "") }}
  {{- if $raw }}{{- $ns = $raw }}{{- end }}
{{- end }}
{{- if and $target_edge $base_host }}
env:
  "{{ .infra.target_var }}": "{{ $base_host | replace "\\" "\\\\" | replace "\"" "\\\"" }}.{{ $ns }}"
{{- end }}

Workload

Chưa khai báo mẫu khối lượng công việc nào.

Giá trị cục bộ

Chưa khai báo giá trị cục bộ nào.

Ánh xạ values

Chưa khai báo ánh xạ values nào.

Quan hệ

Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.

Sử dụng

Được sử dụng bởi

Không có gì trong danh mục phụ thuộc vào thực thể này.

Tài liệu tham khảo khái niệm FeatureRecipe →

Danh mục Aggrega — chỉ mục mở gồm các thành phần, tính năng, công thức và các plugin kết xuất chúng.

Được xây dựng bằng hệ thống thiết kế dùng chung của Aggrega.

Quyền riêng tư