blob: eb5a7feb7a2071fa2067c438ee28f1fb1d80da61 [file] [log] [blame]
---
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: zuul
name: nodepool-launcher-gcs
labels:
app.kubernetes.io/name: nodepool
app.kubernetes.io/instance: nodepool
app.kubernetes.io/part-of: nodepool
app.kubernetes.io/component: nodepool-launcher
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: nodepool
app.kubernetes.io/instance: nodepool
app.kubernetes.io/part-of: nodepool
app.kubernetes.io/component: nodepool-launcher
template:
metadata:
labels:
app.kubernetes.io/name: nodepool
app.kubernetes.io/instance: nodepool
app.kubernetes.io/part-of: nodepool
app.kubernetes.io/component: nodepool-launcher
spec:
containers:
- name: launcher
image: zuul/nodepool-launcher:latest
env:
- name: OS_CLIENT_CONFIG_FILE
value: /etc/nodepool/clouds.yaml
volumeMounts:
- name: nodepool-config
mountPath: /etc/nodepool
- name: zookeeper-client-tls
mountPath: /tls/client
readOnly: true
volumes:
- name: nodepool-config
secret:
secretName: nodepool-gcs
- name: zookeeper-client-tls
secret:
secretName: zookeeper-client-tls
serviceAccountName: nodepool