-
Notifications
You must be signed in to change notification settings - Fork 28
/
support-bundle-manager.yaml
52 lines (52 loc) · 1.37 KB
/
support-bundle-manager.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
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: support-bundle-manager
rancher/supportbundle: sample
name: supportbundle-manager-sample
namespace: harvester-system
spec:
replicas: 1
selector:
matchLabels:
app: support-bundle-manager
template:
metadata:
labels:
app: support-bundle-manager
rancher/supportbundle: sample
spec:
containers:
- args:
- /usr/bin/support-bundle-kit
- manager
env:
- name: SUPPORT_BUNDLE_TARGET_NAMESPACES
value: harvester-system,longhorn-system
- name: SUPPORT_BUNDLE_NAME
value: sample
- name: SUPPORT_BUNDLE_DEBUG
value: "true"
- name: SUPPORT_BUNDLE_MANAGER_POD_IP
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.podIP
- name: POD_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- name: SUPPORT_BUNDLE_IMAGE
value: rancher/support-bundle-kit:master-head
- name: SUPPORT_BUNDLE_IMAGE_PULL_POLICY
value: Always
image: rancher/support-bundle-kit:master-head
imagePullPolicy: Always
name: manager
ports:
- containerPort: 8080
protocol: TCP
serviceAccountName: harvester