-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev support GitHub directory #33
Conversation
1bf75e0
to
461fc20
Compare
This PR is stale because it has been open 3 days with no activity. Remove stale label or comment or this will be closed in 3 days. |
8a72855
to
988e874
Compare
This PR is stale because it has been open 3 days with no activity. Remove stale label or comment or this will be closed in 3 days. |
This PR is stale because it has been open 3 days with no activity. Remove stale label or comment or this will be closed in 3 days. |
Test 방법이 무엇일까요? hanu-reference/lma/site-values.yaml에서 promethus-operator의 chart 오버라이드
render-cd.sh 수행
|
988e874
to
7a1eeda
Compare
차트 오버라이드를 위해서는
위 site-values를 사용하여 아래 명령으로 테스트시 에러가 발생합니다.
override시도한 차트와 관련된 에러가 발생하는데,
|
git protocol을 사용하면 에러가 발생하는 문제를 내부적으로 git:~~ 를 https://~~~ 로 변경하도록 하여 수정완료
|
@intelliguy |
d
source 네요.. transform된 파일에서 가져와서... |
@intelliguy 업데이트된 helmreleasetoyaml:v1.3.0 도 에러가 발생합니다. 오버라이드 차트
render-cd.sh 수행 결과
|
입력이 잘못됐습니다.
이 아니고
이 되어야 합니다. |
.git 을 제외하고 말씀하신 예로 정상 동작하는 것은 확인하였습니다. |
일단 어렵지는 않습니다만...
그 중 현재는 첫번째와 두번째를 지원하고 있습니다. |
fluxcd.io에서 든 예에서는 빠져있지만, 실제 깃헙에서 제공되는 SSH URL은 .git을 포함합니다. 상당수의 git repo가 github을 사용하고 있고, 관련 repo를 클론할때 브라우저에서 주는 저 URL을 쓸것이라고 예상됩니다. 어렵지 않다면, .git까지 지원하면 좋을것 같습니다. |
위에서 언급한 것처럼 두가지 케이스를 지원하고 있습니다. git protocol의 표현식 전체를 지원하기위해서는 라이브러리를 찾아서 하지 않으면 안될듯합니다. (노력대비 얻을게 없음) |
|
기존환경에서 돌리신거에요?
|
이미지 지우고 .git Url도 잘 파싱되는거 확인하였습니다 =ㅂ= |
529b5f5
to
6e5de24
Compare
6e5de24
to
8366a88
Compare
내용
현재 사용하는 manifest는 helm repo에 저장된 chart를 기반으로 돌아가도록 되어있다.
개발의 편의성을 위해 github이나 local에 올라간 소스를 기반으로 배포하는 것을 위한 유틸리티가 있다면 좋겠다.
수행내역
spec.chart를 재정의해서 필요한 기능을 수행할수 있도록 제반 유틸리티 수정
또는
와 같이 정의 가능하고 type은 생략할 수 있고 기본값 helmrepo로 산정되어 작업됨
type이 git이면 repository는 git 과 같은 의미 name은 path와 같은 의미 version은 ref와 같은 의미로 동작하도록 한다.
산출물
#33
openinfradev/decapod-base-yaml#87
openinfradev/kustomize-helm-transformer#30