# secrets-operator 버전 갱신 가이드 ## 1. git 작업 환경 구성 - DIP 카탈로그 git 다운로드 ```sh git clone https://github.com/paasup/dip-catalog.git ``` - 작업 브랜치로 체크아웃 ```sh git checkout -b update-secrets-operator/v0.10.33 ``` ## 2. helm 차트 버전 업데이트 - BUILD-README.md, CUSTOM-README.md, custom-values.yaml을 제외한 파일 삭제 ```sh # chart 디렉토리로 이동 cd ~/dip-catalog/manifests/helm/secrets-operator/v0.10.33 # 삭제할 파일 목록 확인 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 {} + ``` - secrets-operator 차트 다운로드 ```sh # manifests/helm/secrets-operator 디렉토리로 이동 cd ~/dip-catalog/manifests/helm/secrets-operator # helm repo 추가 helm repo add infisical-helm-charts https://dl.cloudsmith.io/public/infisical/helm-charts/helm/charts/ helm repo update # helm 차트 pull helm pull infisical-helm-charts/secrets-operator --version="v0.10.33" # 차트 압축 해제 tar xzvf secrets-operator-v0.10.33.tgz # 압축 파일 삭제 rm secrets-operator-v0.10.33.tgz ``` ## 3. git push 및 tag 추가 - 갱신작업 진행 후 commit ```sh git add . git commit -m "update secrets-operator/v0.10.33" ``` - main 브랜치에 체크아웃 후 merge ```sh git checkout main git merge update-secrets-operator/v0.10.33 ``` - git에 push 후 작업 브랜치 삭제 ```sh git push -u origin main git branch -d update-secrets-operator/v0.10.33 ``` - git tag 추가 후 push ```sh git tag secrets-operator/v0.10.33 git push origin secrets-operator/v0.10.33 ``` ## 4. 차트 버전 정보 - secrets-operator/v0.10.33 (app version: v0.10.33) - Infisical Secrets Operator (InfisicalSecret CRD 로 시크릿을 클러스터에 동기화) - infisical-standalone 과 짝을 이루어 설치한다.