본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

MeshTrust 정책 구성 레퍼런스

원문 보기 위키 갱신

MeshTrust 정책 구성 레퍼런스 (MeshTrusts Policy Configuration Reference)

이 문서는 Kuma의 MeshTrust 리소스를 구성하기 위한 스키마를 정리한 레퍼런스예요. MeshTrust는 메시의 신뢰 도메인(trust domain)을 정의하고, 해당 도메인이 신뢰하는 CA 번들 목록을 지정하는 정책이에요. caBundles와 trustDomain은 필수 필드이고, CA 번들은 PEM 형식으로 최소 하나 이상 제공해야 해요. 리소스의 생성 출처를 나타내는 origin 필드는 더 이상 권장되지 않으니 Status의 origin을 사용하는 게 좋아요

출처: 문서

본문

구성

{
  "description": "Spec is the specification of the Kuma MeshTrust resource.",
  "properties": {
    "caBundles": {
      "description": "CABundles contains a list of CA bundles supported by this TrustDomain.\nAt least one CA bundle must be specified.",
      "items": {
        "properties": {
          "pem": {
            "description": "Pem contains the PEM-encoded CA bundle if the Type is set to a PEM-based format.",
            "properties": {
              "value": {
                "description": "Value holds the PEM-encoded CA bundle as a string.",
                "type": "string"
              }
            },
            "required": [
              "value"
            ],
            "type": "object"
          },
          "type": {
            "description": "Type specifies the format or source type of the CA bundle.",
            "enum": [
              "Pem"
            ],
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "minItems": 1,
      "type": "array"
    },
    "origin": {
      "description": "Origin specifies whether the resource was created from a MeshIdentity.\n\nDeprecated: use Status.Origin instead",
      "properties": {
        "kri": {
          "description": "Resource identifier",
          "type": "string"
        }
      },
      "type": "object"
    },
    "trustDomain": {
      "description": "TrustDomain is the trust domain associated with this resource.",
      "maxLength": 253,
      "type": "string"
    }
  },
  "required": [
    "caBundles",
    "trustDomain"
  ],
  "type": "object"
}

관련 리소스

더 알아보기 (Learn more)

  • 메시 내 워크로드 신원을 발급하는 정책으로 MeshTrust의 origin과 연결돼요 — Mesh Identity
  • 메시 내 TLS 통신과 인증서 사용 방식을 다루는 정책이에요 — Mesh TLS
  • SPIFFE ID 매처를 활용해 트래픽 권한을 세밀하게 제어하는 방법을 소개해요 — MeshTrafficPermission with SPIFFE ID matchers