about summary refs log tree commit diff
path: root/tools/argocd/templates/deployment.yaml
blob: b2fa31e5996b6ee6f332f0e6f5e8f37da138c6f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
apiVersion: v1
kind: Namespace
metadata:
  name: argocd
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: argocd-server
  namespace: argocd
spec:
  replicas: { { .Values.replicas "1" } }
  selector:
    matchLabels:
      app: argocd-server
  template:
    metadata:
      labels:
        app: argocd-server
    spec:
      containers:
        - name: argocd-server
          image: argoproj/argocd:latest
          ports:
            - containerPort: 8080
          env:
            - name: ARGOCD_SERVER_ADMIN_PASSWORD
              valueFrom:
                secretKeyRef:
                  name: argocd-server
                  key: admin.password