123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- apiVersion: extensions/v1beta1
- kind: DaemonSet
- metadata:
- labels:
- app: apiserver
- name: apiserver
- spec:
- selector:
- matchLabels:
- app: apiserver
- updateStrategy:
- rollingUpdate:
- maxUnavailable: 1
- type: RollingUpdate
- template:
- metadata:
- annotations:
- ca_hash: {{ ca_hash }}
- labels:
- app: apiserver
- spec:
- serviceAccountName: service-catalog-apiserver
- nodeSelector:
- {% for key, value in node_selector.items() %}
- {{key}}: "{{value}}"
- {% endfor %}
- containers:
- - args:
- - apiserver
- - --storage-type
- - etcd
- - --secure-port
- - "6443"
- - --etcd-servers
- - {{ etcd_servers }}
- - --etcd-cafile
- - {{ etcd_cafile }}
- - --etcd-certfile
- - /etc/origin/master/master.etcd-client.crt
- - --etcd-keyfile
- - /etc/origin/master/master.etcd-client.key
- - -v
- - "10"
- - --cors-allowed-origins
- - {{ cors_allowed_origin }}
- - --admission-control
- - KubernetesNamespaceLifecycle,DefaultServicePlan,ServiceBindingsLifecycle,ServicePlanChangeValidator,BrokerAuthSarCheck
- - --feature-gates
- - OriginatingIdentity=true
- image: {{ openshift_service_catalog_image_prefix }}service-catalog:{{ openshift_service_catalog_image_version }}
- command: ["/usr/bin/service-catalog"]
- imagePullPolicy: IfNotPresent
- name: apiserver
- ports:
- - containerPort: 6443
- protocol: TCP
- resources: {}
- terminationMessagePath: /dev/termination-log
- volumeMounts:
- - mountPath: /var/run/kubernetes-service-catalog
- name: apiserver-ssl
- readOnly: true
- - mountPath: /etc/origin/master
- name: etcd-host-cert
- readOnly: true
- dnsPolicy: ClusterFirst
- restartPolicy: Always
- securityContext: {}
- terminationGracePeriodSeconds: 30
- volumes:
- - name: apiserver-ssl
- secret:
- defaultMode: 420
- secretName: apiserver-ssl
- items:
- - key: tls.crt
- path: apiserver.crt
- - key: tls.key
- path: apiserver.key
- - hostPath:
- path: /etc/origin/master
- name: etcd-host-cert
- - emptyDir: {}
- name: data-dir
|