Skip to content

Commit

Permalink
Merge pull request #45 from RobertKielty/argo-dashboard
Browse files Browse the repository at this point in the history
adds argocd dashboard deployment, as not included in argo core setup
  • Loading branch information
RobertKielty authored Feb 23, 2025
2 parents d56c7f6 + 2454df1 commit 78c9740
Showing 1 changed file with 73 additions and 0 deletions.
73 changes: 73 additions & 0 deletions ci/cluster/oci-arm64/argo-dashboard/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: argocd-server
namespace: argocd
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: argocd-server
template:
metadata:
labels:
app.kubernetes.io/name: argocd-server
spec:
serviceAccountName: argocd-server
containers:
- name: argocd-server
image: quay.io/argoproj/argocd:v2.14.2
command:
- argocd-server
args:
- --insecure
ports:
- containerPort: 8080
volumeMounts:
- mountPath: /app/config
name: argocd-config
volumes:
- name: argocd-config
configMap:
name: argocd-cm
---
apiVersion: v1
kind: Service
metadata:
name: argocd-server
namespace: argocd
spec:
selector:
app.kubernetes.io/name: argocd-server
ports:
- protocol: TCP
port: 80
targetPort: 8080
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: argocd-server
namespace: argocd
rules:
- apiGroups: [""]
resources: ["secrets", "configmaps"]
verbs: ["get", "list", "watch"]
- apiGroups: ["argoproj.io"]
resources: ["applications", "appprojects"]
verbs: ["get", "list", "watch", "create", "update", "delete"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: argocd-server-binding
namespace: argocd
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: argocd-server
subjects:
- kind: ServiceAccount
name: argocd-server
namespace: argocd
---

0 comments on commit 78c9740

Please sign in to comment.