cri-o/vendor/k8s.io/kubernetes/federation/manifests/federation-controller-manager-deployment.yaml
Mrunal Patel 8e5b17cf13 Switch to github.com/golang/dep for vendoring
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2017-01-31 16:45:59 -08:00

51 lines
1.6 KiB
YAML

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: {{.FEDERATION_CONTROLLER_MANAGER_DEPLOYMENT_NAME}}
namespace: {{.FEDERATION_NAMESPACE}}
labels:
app: federated-cluster
spec:
template:
metadata:
name: federation-controller-manager
labels:
app: federated-cluster
module: federation-controller-manager
spec:
volumes:
- name: ssl-certs
hostPath:
path: /etc/ssl/certs
- name: kubeconfig
secret:
secretName: federation-apiserver-kubeconfig
containers:
- name: controller-manager
volumeMounts:
- name: ssl-certs
readOnly: true
mountPath: /etc/ssl/certs
- name: kubeconfig
readOnly: true
mountPath: "/etc/federation/controller-manager"
image: {{.FEDERATION_CONTROLLER_MANAGER_IMAGE_REPO}}:{{.FEDERATION_CONTROLLER_MANAGER_IMAGE_TAG}}
command:
- /hyperkube
- federation-controller-manager
- --master=https://{{.FEDERATION_APISERVER_DEPLOYMENT_NAME}}:443
- --kubeconfig=/etc/federation/controller-manager/kubeconfig
- --dns-provider={{.FEDERATION_DNS_PROVIDER}}
- --dns-provider-config={{.FEDERATION_DNS_PROVIDER_CONFIG}}
- --federation-name={{.FEDERATION_NAME}}
- --zone-name={{.DNS_ZONE_NAME}}
ports:
- containerPort: 443
name: https
- containerPort: 8080
name: local
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace