Skip to content

fix(litmus-agent): render preinstall RBAC only when preinstall job is true#490

Open
arunkumar-1992 wants to merge 1 commit into
litmuschaos:masterfrom
arunkumar-1992:fix/litmus-agent-argocd-hook-finalizer
Open

fix(litmus-agent): render preinstall RBAC only when preinstall job is true#490
arunkumar-1992 wants to merge 1 commit into
litmuschaos:masterfrom
arunkumar-1992:fix/litmus-agent-argocd-hook-finalizer

Conversation

@arunkumar-1992

Copy link
Copy Markdown
Contributor

This PR scopes the litmus-agent pre-install RBAC resources (ServiceAccount, Role, RoleBinding) to the same toggle as the pre-install registration job by wrapping them with enablePreInstallJob,

so when the job is disabled these resources are not rendered, and when enabled (default behavior) the flow remains unchanged; this reduces unnecessary resource creation in standalone/no-ChaosCenter installs without altering the default install path.

Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

DCO signed
Chart Version bumped
Variables are documented in the README.md

… enabled

Signed-off-by: arunkumar-1992 <111547359+arunkumar-1992@users.noreply.github.com>
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