forked from oracle/navarkos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
navarkos.yaml
35 lines (35 loc) · 943 Bytes
/
navarkos.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
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: navarkos
namespace: $FED_NS
spec:
replicas: 1
template:
metadata:
labels:
app: navarkos
spec:
containers:
- name: navarkos
image: $NAVARKOS_IMAGE
imagePullPolicy: Always
env:
- name: POD_NAMESPACE
value: $FED_NS
command:
- /navarkos
- --v=10
- --fkubeApiServer=$FED_API
- --fkubeName=$FED_CONTEXT
- --fkubeNamespace=$FED_NS
volumeMounts:
- mountPath: /etc/federation/controller-manager
name: $FED_CONTEXT-controller-manager-kubeconfig
readOnly: true
serviceAccountName: federation-controller-manager
serviceAccount: federation-controller-manager
volumes:
- name: $FED_CONTEXT-controller-manager-kubeconfig
secret:
secretName: $FED_CONTEXT-controller-manager-kubeconfig