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

policy-serving: change the namespace for decapod randering #313

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

intelliguy
Copy link
Contributor

전체적으로 namespace 지정하는 부분에 대해 문제가 있습니다.

namespace는

  • base-yaml의 resource과
  • 배포(deploy)시 지정

두가지가 있는데 첫번째 지정된 내역으로 rendering이 수행되고 배포는 강제로 변경되는 형태로 동작됨
helm 배포는 두가지가 동시에 이뤄짐에 비해 오해의 소지가 발생함

현 pr도 동일한 이슈에서 발생한 것으로 모든 helm chart에서 이러한 문제를 잠재적으로 갖고 있음
helmchart 내부에 여러가지 자원들 중 namespace를 랜더링시 yaml로 기록하는 내역들이 있는데 이것도 serviceaccount를 랜더링시 사용한 네임스페이스에 고정했는데 workflow에서 다른 네임스페이스를 지정함으로써 발생함

따라서 추후에는 네임스페이스 통합이 필요함!!!

@intelliguy intelliguy merged commit daa9070 into develop Apr 26, 2024
1 check passed
@intelliguy intelliguy deleted the opa-exporter branch April 26, 2024 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant