Skip to content
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

cluster-api-aws: use unique key for the machinedeployment raw yaml #119

Merged

Conversation

zugwan
Copy link
Contributor

@zugwan zugwan commented Apr 6, 2022

machinedeployment (이하 md) 생성 중간 단계인 configmap내 데이터를 생성하는 과정에서 키를 0부터 (AZ-1)까지 단순 숫자를 사용하였기 때문에 2개 이상의 md를 정의하는 경우 키가 중복되어 마지막 md의 내용만 적용되는 문제를 발견해서 수정합니다.

정의한 md의 이름과 0~(AZ-1) 까지 숫자를 조합해서 키를 사용하도록 변경하였습니다. 또한, 키의 마지막 문자는 0~(AZ-1) 값을 가지고 각 AZ에 생성된 서브넷 정보가 저장된 subnet 리스트의 인덱스로 사용됩니다.

@kyuho24
Copy link
Contributor

kyuho24 commented Apr 7, 2022

release-v2에 적용하는 것을 확인 했습니다.

@github-actions
Copy link

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.

@github-actions github-actions bot added the Stale There has been no activity on this label Apr 10, 2022
@ktkfree ktkfree merged commit 84026ce into openinfradev:release-v2 Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale There has been no activity on this
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants