forked from apache/openwhisk-deploy-kube
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathinstall-routemgmt.yml
39 lines (38 loc) · 1.07 KB
/
install-routemgmt.yml
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: batch/v1
kind: Job
metadata:
name: install-routemgmt
namespace: openwhisk
spec:
activeDeadlineSeconds: 600
template:
metadata:
name: install-routemgmt
spec:
containers:
- name: routemgmt
image: openwhisk/kube-routemgmt
env:
- name: "WHISK_CLI_VERSION"
valueFrom:
configMapKeyRef:
name: whisk.config
key: whisk_cli_version_tag
- name: "WHISK_AUTH"
valueFrom:
secretKeyRef:
name: whisk.auth
key: system
- name: "WHISK_API_HOST_NAME"
valueFrom:
configMapKeyRef:
name: whisk.ingress
key: api_host
- name: "WHISK_NAMESPACE"
valueFrom:
configMapKeyRef:
name: whisk.config
key: whisk_system_namespace
- name: "WHISK_API_GATEWAY_HOST_V2"
value: "http://$(APIGATEWAY_SERVICE_HOST):$(APIGATEWAY_SERVICE_PORT_API)/v2"
restartPolicy: Never