-
Notifications
You must be signed in to change notification settings - Fork 3
/
tanzu-certificate-exporter.yaml
67 lines (65 loc) · 1.53 KB
/
tanzu-certificate-exporter.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
kind: Service
apiVersion: v1
metadata:
name: tanzu-certificate-exporter
labels:
app: tanzu-certificate-exporter
spec:
type: ClusterIP
ports:
- name: http
port: 8080
protocol: TCP
selector:
app: tanzu-certificate-exporter
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: tanzu-certificate-exporter
labels:
app: tanzu-certificate-exporter
spec:
replicas: 1
selector:
matchLabels:
app: tanzu-certificate-exporter
strategy:
type: RollingUpdate
template:
metadata:
labels:
app: tanzu-certificate-exporter
spec:
containers:
- name: tanzu-certificate-exporter
image: "oahcran/tanzu-certificate-exporter:20200812"
imagePullPolicy: IfNotPresent
env:
- name: OPSMAN_URL
value: https://opsman.lab.example.com/
- name: SKIP_SSL_VALIDATION
value: "true"
- name: ENVIRONMENT
value: "lab1"
- name: OPSMAN_USERNAME
valueFrom:
secretKeyRef:
name: ops-manager-secret
key: username
- name: OPSMAN_PASSWORD
valueFrom:
secretKeyRef:
name: ops-manager-secret
key: password
resources:
limits:
cpu: 400m
memory: 256Mi
requests:
cpu: 100m
memory: 64Mi
ports:
- containerPort: 8080
name: http