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

trust-manager trust namespace must align with controller namespace #136

Open
qrkourier opened this issue Sep 11, 2023 · 2 comments
Open

Comments

@qrkourier
Copy link
Member

This necessary alignment presents a pitfall encountered at least once in #133

The requirement is that trust-manager must have exactly one namespace from which it sources secrets and configmaps to compose Bundle resources, so that namespace must be the one where ziti-controller is installed.

The solution is probably a template check that will fail during Helm release upgrade/install when the following conditions are met:

  1. trust-manager sub-chart is enabled
  2. the trust-manager trust namespace property does not exactly match the controller's namespace
@qrkourier
Copy link
Member Author

The does not address any scenario where trust-manager is installed in advance, not as a sub-chart of ziti-controller. In those scenarios, it is impractical for the controller's chart to detect the misalignment, so the controller release will fail to install/upgrade in case of misconfiguration.

@qrkourier
Copy link
Member Author

Relatedly: #67

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

No branches or pull requests

1 participant