mirror of
https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
synced 2026-08-20 23:16:49 +00:00
PreSync/PostSync hook Jobs reference argocd-hook-sa but it only existed in the argocd namespace. Jobs running in app namespaces (crowdsec, authentik, netbird, vault, istio-system) need the SA in their own namespace. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
19 lines
373 B
YAML
19 lines
373 B
YAML
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: argocd-hook-sa
|
|
namespace: netbird
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRoleBinding
|
|
metadata:
|
|
name: argocd-hook-sa-netbird
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: ClusterRole
|
|
name: cluster-admin
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: argocd-hook-sa
|
|
namespace: netbird
|