diff --git a/infrastructure/authentik/manifests/hook-sa.yaml b/infrastructure/authentik/manifests/hook-sa.yaml new file mode 100644 index 0000000..05c448b --- /dev/null +++ b/infrastructure/authentik/manifests/hook-sa.yaml @@ -0,0 +1,18 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + name: argocd-hook-sa + namespace: authentik +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: argocd-hook-sa-authentik +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: cluster-admin +subjects: + - kind: ServiceAccount + name: argocd-hook-sa + namespace: authentik diff --git a/infrastructure/crowdsec/manifests/hook-sa.yaml b/infrastructure/crowdsec/manifests/hook-sa.yaml new file mode 100644 index 0000000..7b68f81 --- /dev/null +++ b/infrastructure/crowdsec/manifests/hook-sa.yaml @@ -0,0 +1,18 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + name: argocd-hook-sa + namespace: crowdsec +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: argocd-hook-sa-crowdsec +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: cluster-admin +subjects: + - kind: ServiceAccount + name: argocd-hook-sa + namespace: crowdsec diff --git a/infrastructure/istio/manifests/mesh/hook-sa.yaml b/infrastructure/istio/manifests/mesh/hook-sa.yaml new file mode 100644 index 0000000..16665e8 --- /dev/null +++ b/infrastructure/istio/manifests/mesh/hook-sa.yaml @@ -0,0 +1,18 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + name: argocd-hook-sa + namespace: istio-system +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: argocd-hook-sa-istio-system +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: cluster-admin +subjects: + - kind: ServiceAccount + name: argocd-hook-sa + namespace: istio-system diff --git a/infrastructure/netbird/manifests/hook-sa.yaml b/infrastructure/netbird/manifests/hook-sa.yaml new file mode 100644 index 0000000..6a6503d --- /dev/null +++ b/infrastructure/netbird/manifests/hook-sa.yaml @@ -0,0 +1,18 @@ +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 diff --git a/infrastructure/vault/manifests/hook-sa.yaml b/infrastructure/vault/manifests/hook-sa.yaml new file mode 100644 index 0000000..fc688ac --- /dev/null +++ b/infrastructure/vault/manifests/hook-sa.yaml @@ -0,0 +1,18 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + name: argocd-hook-sa + namespace: vault +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: argocd-hook-sa-vault +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: cluster-admin +subjects: + - kind: ServiceAccount + name: argocd-hook-sa + namespace: vault