generated from argoproj-labs/applicationset-hello-plugin
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdeployment.yaml
39 lines (39 loc) · 1.09 KB
/
deployment.yaml
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
32
33
34
35
36
37
38
39
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: argocd-secret-plugin-generator
namespace: argocd
labels:
app.kubernetes.io/name: argocd-secret-plugin-generator
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: argocd-secret-plugin-generator
template:
metadata:
labels:
app.kubernetes.io/name: argocd-secret-plugin-generator
spec:
containers:
- name: argocd-secret-plugin-generator
image: jessebot/argocd-appset-secret-plugin:latest
imagePullPolicy: Always
ports:
- containerPort: 4355
name: http
volumeMounts:
- name: token
mountPath: "/var/run/argocd/token"
subPath: "token"
- name: argocd-secret-vars
mountPath: "/var/run/argocd/secret_vars.yaml"
subPath: "secret_vars.yaml"
volumes:
- name: token
secret:
secretName: arogocd-generator-plugin-token
- name: argocd-secret-vars
secret:
secretName: argocd-secret-vars