Skip to content

feat: add multi-tenancy support for argocd-operator #283

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

Merged
merged 3 commits into from
Jun 23, 2025

Conversation

pmarkiewka
Copy link
Contributor

  • Template service account and resource namespaces using namePrefix
  • Add batch/Job permissions to all RBAC roles
  • Set argocd.yaml .spec.server.insecure when --insecure is enabled
  • Conditionally generate ingress.yaml for insecure mode (non-OpenShift), because argocd-operator always enforces https
  • Include batch/Job in resourceInclusions for operator CR and operator/RBAC
  • Prevent creation of empty rendered files when templates are fully conditional
  • Add tests covering all new conditional and templated logic

pmarkiewka and others added 3 commits June 12, 2025 09:41
- Template service account and resource namespaces using `namePrefix`
- Add batch/Job permissions to all RBAC roles
- Set argocd.yaml `.spec.server.insecure` when `--insecure` is enabled
- Conditionally generate ingress.yaml for insecure mode (non-OpenShift), because argocd-operator always enforces https
- Include `batch/Job` in resourceInclusions for operator CR
- Prevent creation of empty rendered files when templates are fully conditional
- Add tests covering all new conditional and templated logic
- Cast doc and metadata to Map to satisfy Groovy static type checking
- Ensure metadata.namespace is treated as String for AssertJ compatibility
@nihussmann nihussmann merged commit cfd4bd0 into main Jun 23, 2025
1 check passed
@nihussmann nihussmann deleted the feature/argocd-operator-multi-tenancy branch June 23, 2025 10:27
ThomasMichael1811 pushed a commit that referenced this pull request Jun 23, 2025
* feat: add multi-tenancy support for argocd-operator

- Template service account and resource namespaces using `namePrefix`
- Add batch/Job permissions to all RBAC roles
- Set argocd.yaml `.spec.server.insecure` when `--insecure` is enabled
- Conditionally generate ingress.yaml for insecure mode (non-OpenShift), because argocd-operator always enforces https
- Include `batch/Job` in resourceInclusions for operator CR
- Prevent creation of empty rendered files when templates are fully conditional
- Add tests covering all new conditional and templated logic

* feat: add multi-tenancy support for argocd-operator

- Cast doc and metadata to Map to satisfy Groovy static type checking
- Ensure metadata.namespace is treated as String for AssertJ compatibility

---------

Co-authored-by: Niklas Hußmann <niklas.hussmann-extern@cloudogu.com>
ThomasMichael1811 pushed a commit that referenced this pull request Jun 23, 2025
* feat: add multi-tenancy support for argocd-operator

- Template service account and resource namespaces using `namePrefix`
- Add batch/Job permissions to all RBAC roles
- Set argocd.yaml `.spec.server.insecure` when `--insecure` is enabled
- Conditionally generate ingress.yaml for insecure mode (non-OpenShift), because argocd-operator always enforces https
- Include `batch/Job` in resourceInclusions for operator CR
- Prevent creation of empty rendered files when templates are fully conditional
- Add tests covering all new conditional and templated logic

* feat: add multi-tenancy support for argocd-operator

- Cast doc and metadata to Map to satisfy Groovy static type checking
- Ensure metadata.namespace is treated as String for AssertJ compatibility

---------

Co-authored-by: Niklas Hußmann <niklas.hussmann-extern@cloudogu.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.

2 participants