blob: 256002aca9a38213f55221a1bc9fc6cdd75533c3 [file] [log] [blame]
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: gcloud-authdaemon
namespace: zuul
labels:
app.kubernetes.io/name: gcloud-authdaemon
spec:
selector:
matchLabels:
name: gcloud-authdaemon
template:
metadata:
labels:
name: gcloud-authdaemon
spec:
tolerations:
- key: node-role.kubernetes.io/master
effect: NoSchedule
containers:
- name: gcloud-authdaemon
image: docker.io/jeblair/authdaemon:latest
resources:
limits:
memory: 200Mi
requests:
cpu: 100m
memory: 200Mi
volumeMounts:
- name: authdaemon
mountPath: /authdaemon
terminationGracePeriodSeconds: 2
volumes:
- name: authdaemon
hostPath:
path: /var/authdaemon/executor
type: DirectoryOrCreate
serviceAccountName: logs