Repository for dip
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

53 lines
1.4 KiB

# OpenMetadata 버전 갱신 가이드
## 1. git 작업 환경 구성
- 서비스 카탈로그 git 다운로드
```
$ git clone https://github.com/paasup/dip-catalog.git
```
## 2. helm chart 업데이트
### 1) 차트 버전 변경
- BUILD-README.md, CUSTOM-README.md, custom-values.yaml을 제외한 파일 삭제
``` sh
# chart 디렉토리로 이동
cd ~/dip-catalog/manifests/helm/openmetadata/1.12.1
# 파일 삭제 전 삭제할 파일 목록 확인
find . -mindepth 1 \( -name "CUSTOM-README.md" -o -name "BUILD-README.md" -o -name "custom-values.yaml" \) -prune -o -print
# 파일 삭제
find . -mindepth 1 \( -name "CUSTOM-README.md" -o -name "BUILD-README.md" -o -name "custom-values.yaml" \) -prune -o -exec rm -rf {} +
```
- openmetadata 차트 다운로드
``` sh
# manifests/helm 디렉토리로 이동
cd ~/dip-catalog/manifests/helm
# helm repo 추가
helm repo add open-metadata https://helm.open-metadata.org/
helm repo update
# helm 차트 조회
helm search repo open-metadata/openmetadata --versions
# helm 차트 pull
helm pull open-metadata/openmetadata --version=1.12.1 --untar --untardir openmetadata/1.12.1-tmp
# 차트 파일 이동 및 정리
mv openmetadata/1.12.1-tmp/openmetadata/* openmetadata/1.12.1/
rm -rf openmetadata/1.12.1-tmp
```
## 3. github에 push
- 갱신작업 진행후 commit 및 push
```
$ git add .
$ git commit -m "update openmetadata/1.12.1"
$ git push origin main
```