@@ -5,6 +5,7 @@ metadata:
5
5
name : ambassador
6
6
spec :
7
7
installOSS : true
8
+ helmRepo : https://github.com/datawire/ambassador-chart/archive/master.zip
8
9
helmValues :
9
10
deploymentTool : amb-oper-kind
10
11
replicaCount : 1
@@ -15,114 +16,11 @@ spec:
15
16
ports :
16
17
- name : http
17
18
port : 80
19
+ hostPort : 80
18
20
targetPort : 8080
19
21
protocol : TCP
20
22
- name : https
21
23
port : 443
24
+ hostPort : 443
22
25
targetPort : 8443
23
26
protocol : TCP
24
- ---
25
- apiVersion : v1
26
- kind : ServiceAccount
27
- metadata :
28
- name : klipper-lb
29
- ---
30
- apiVersion : rbac.authorization.k8s.io/v1
31
- kind : ClusterRole
32
- metadata :
33
- name : klipper-permissions
34
- rules :
35
- - apiGroups : [""]
36
- resources : ["nodes"]
37
- verbs : ["get", "watch", "list"]
38
- - apiGroups : [""]
39
- resources : ["services"]
40
- verbs : ["get", "watch", "list", "write", "patch"]
41
- ---
42
- apiVersion : rbac.authorization.k8s.io/v1
43
- kind : ClusterRoleBinding
44
- metadata :
45
- name : klipper-permissions-binding
46
- subjects :
47
- - kind : ServiceAccount
48
- name : klipper-lb
49
- namespace : kube-system
50
- roleRef :
51
- apiGroup : rbac.authorization.k8s.io
52
- kind : ClusterRole
53
- name : klipper-permissions
54
- ---
55
- apiVersion : apps/v1
56
- kind : DaemonSet
57
- metadata :
58
- name : svclb-klipper
59
- spec :
60
- revisionHistoryLimit : 10
61
- selector :
62
- matchLabels :
63
- app : svclb-klipper
64
- template :
65
- metadata :
66
- creationTimestamp : null
67
- labels :
68
- app : svclb-klipper
69
- spec :
70
- serviceAccountName : klipper-lb
71
- containers :
72
- - env :
73
- - name : SRC_PORT
74
- value : " 80"
75
- - name : DEST_PROTO
76
- value : TCP
77
- - name : DEST_PORT
78
- value : " 80"
79
- - name : DEST_ADDR
80
- value : " ambassador.ambassador"
81
- image : inercia/klipper-lb:latest
82
- imagePullPolicy : Always
83
- name : lb-port-80
84
- ports :
85
- - containerPort : 80
86
- hostPort : 80
87
- name : lb-port-80
88
- protocol : TCP
89
- resources : {}
90
- securityContext :
91
- capabilities :
92
- add :
93
- - NET_ADMIN
94
- terminationMessagePath : /dev/termination-log
95
- terminationMessagePolicy : File
96
- - env :
97
- - name : SRC_PORT
98
- value : " 443"
99
- - name : DEST_PROTO
100
- value : TCP
101
- - name : DEST_PORT
102
- value : " 443"
103
- - name : DEST_ADDR
104
- value : " ambassador.ambassador"
105
- image : inercia/klipper-lb:latest
106
- imagePullPolicy : Always
107
- name : lb-port-443
108
- ports :
109
- - containerPort : 443
110
- hostPort : 443
111
- name : lb-port-443
112
- protocol : TCP
113
- resources : {}
114
- securityContext :
115
- capabilities :
116
- add :
117
- - NET_ADMIN
118
- terminationMessagePath : /dev/termination-log
119
- terminationMessagePolicy : File
120
- dnsPolicy : ClusterFirst
121
- restartPolicy : Always
122
- schedulerName : default-scheduler
123
- securityContext : {}
124
- terminationGracePeriodSeconds : 30
125
- updateStrategy :
126
- rollingUpdate :
127
- maxUnavailable : 1
128
- type : RollingUpdate
0 commit comments