(해당 문서는 공식문서(https://helm.sh/docs/chart_template_guide/getting_started/)를 갈무리한 수준의 문서입니다.)

Getting Started

Release

apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ .Release.Name }}-configmap
data:
  myvalue: "Hello World"

$ helm get manifest clunky-serval
---
# Source: mychart/templates/configmap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
  name: clunky-serval-configmap
data:
  myvalue: "Hello World"

Release object는 helm의 built-in objects 중 하나다.

—debug —dry-run

$ helm install --debug --dry-run goodly-guppy ./mychart

template의 렌더링 결과를 보여주지만, 실제로 install 하지 않는다.

—dry-run이 동작한다고 해서 차트가 install 된다는 보장은 없다.

→ 클러스터 상태, RBAC, 이미 생성된 리소스등 때문에 실제 설치환경과 다를 수 있다.

→ 템플릿 코드의 구문 오류는 감지할 수 있으나, 동적인 오류나 환경 상황에 따른 문제를 완전히 예방할 수 있는 것은 아니다.