Skip to content

This PR fixes several issues in the Fabric8-based Kubernetes client and ArgoCD operator deployment flow.#493

Merged
nihussmann merged 4 commits into
developfrom
bug/fabric8-operator
May 28, 2026
Merged

This PR fixes several issues in the Fabric8-based Kubernetes client and ArgoCD operator deployment flow.#493
nihussmann merged 4 commits into
developfrom
bug/fabric8-operator

Conversation

@avetgit
Copy link
Copy Markdown
Contributor

@avetgit avetgit commented May 28, 2026

  • Added proper support for custom resources by resolving CRD metadata and using ResourceDefinitionContext instead of calling genericKubernetesResources with only a resource string.
  • Fixed recursive RBAC YAML application by removing the unsupported --recursive CLI-style argument and applying YAML files from directories directly.

log.debug("Apply RBAC permissions for ArgoCD in all managed namespaces imperatively")
// Apply rbac yamls from operator/rbac folder
String argocdRbacPath = clusterResourcesRepo.operatorRbacDir()
k8sClient.applyYaml("${argocdRbacPath} --recursive")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this removed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--recursive is unsupported

@nihussmann nihussmann merged commit b55eaff into develop May 28, 2026
2 checks passed
@nihussmann nihussmann deleted the bug/fabric8-operator branch May 28, 2026 09:48
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