-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcis-deploy.yaml
61 lines (61 loc) · 2.09 KB
/
cis-deploy.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: k8s-bigip-ctlr-deployment
namespace: kube-system
spec:
# DO NOT INCREASE REPLICA COUNT
replicas: 1
selector:
matchLabels:
app: k8s-bigip-ctlr-deployment
template:
metadata:
labels:
app: k8s-bigip-ctlr-deployment
spec:
# Name of the Service Account bound to a Cluster Role with the required
# permissions
containers:
- name: k8s-bigip-ctlr
image: "f5networks/k8s-bigip-ctlr:2.11.1"
env:
- name: BIGIP_USERNAME
valueFrom:
secretKeyRef:
# Replace with the name of the Secret containing your login
# credentials
name: bigip-login
key: username
- name: BIGIP_PASSWORD
valueFrom:
secretKeyRef:
# Replace with the name of the Secret containing your login
# credentials
name: bigip-login
key: password
command: ["/app/bin/k8s-bigip-ctlr"]
args: [
# See the k8s-bigip-ctlr documentation for information about
# all config options
# https://clouddocs.f5.com/containers/latest/
"--bigip-username=$(BIGIP_USERNAME)",
"--bigip-password=$(BIGIP_PASSWORD)",
#"--gtm-bigip-username=$(BIGIP_USERNAME)",
#"--gtm-bigip-password=$(BIGIP_PASSWORD)",
"--bigip-url=10.201.10.156",
"--bigip-partition=kubernetes",
#"--namespace=cis-crd",
"--pool-member-type=nodeport",
"--log-level=DEBUG",
"--insecure=true",
#"--custom-resource-mode=true",
#"--manage-configmaps=false",
#"--manage-ingress=false",
#"--manage-routes=false",
"--as3-validation=true",
"--log-as3-response=true",
#"--ipam=true", # update for ipam
#"--disable-teems=true",
]
serviceAccountName: bigip-ctlr