Change chart directory structure

This commit is contained in:
wbsong111
2026-01-19 16:11:44 +09:00
parent 0f2284bf35
commit 0436749932
5948 changed files with 119 additions and 79 deletions
@@ -0,0 +1,30 @@
# Rancher 삭제 후처리 스크립트
- 해당 문서는 rancher 삭제 이후 지워지지 않은 리소스를 삭제하기 위해 실행해야 할 스크립트에 대한 설명이다.
### 필요 사항
- 관리자 권한을 가지고 kubectl 실행.
### 실행 방법
``` sh
# 1. post-delete-hook.sh 실행
## RANCHER_NAMESPACE에 rancher가 배포된 namespace를 설정
export RANCHER_NAMESPACE="rancher"
export NAMESPACES="cattle-fleet-system cattle-system rancher-operator-system"
export TIMEOUT="120"
export IGNORETIMEOUTERROR="false"
./post-delete-hook.sh
# 2. cleanup-rancher.sh
./cleanup-rancher.sh
Do you want to continue (y/n)? y
```
### 스크립트 설명
#### 1) post-delete-hook.sh
- rancher 사용 중 생성한 app 삭제, helm 배포 중 생성한 리소스 삭제 등의 작업을 진행한다.
#### 2) cleanup-rancher
- rancher가 실행하며 생성한 CRD와 Namespace를 삭제한다.