For kubernetes and helm delegate we have a combined manifest for different resources that we deploy as part of delegate deployment. However once deployed they are individual resources in the kuberentes cluster and we do not have a way to retrieve back the combined delegate.
However as we know what kind of resources we deploy in the combined manifest we can use the below kubernetes commands to fetch the yaml for these individual resources:
kubectl get sts -n <harness namespace> delegate-name -o yaml (standard/non-immutable)
kubectl get deployment -n <harness namespace> delegate-name -o yaml (immutable enabled in saas)
kubectl get configmap <DelegateName> -n <HarnessDelegateNamespace> -o yaml