Files
homelab-gitops/bootstrap/metrics-server-project.yaml

30 lines
768 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: metrics-server
namespace: argocd
spec:
description: Metrics Server and the aggregated metrics API
sourceRepos:
- https://brunner.ninja/charts
- https://code.brunner.ninja/feedc0de/homelab-gitops.git
destinations:
- namespace: kube-system
server: https://kubernetes.default.svc
clusterResourceWhitelist:
- group: apiregistration.k8s.io
kind: APIService
- group: rbac.authorization.k8s.io
kind: ClusterRole
- group: rbac.authorization.k8s.io
kind: ClusterRoleBinding
namespaceResourceWhitelist:
- group: ""
kind: Service
- group: ""
kind: ServiceAccount
- group: apps
kind: Deployment
- group: rbac.authorization.k8s.io
kind: RoleBinding