This repository has been archived on 2023-04-02. You can view files and clone it, but cannot push or open issues or pull requests.
gitops-tbrnt/goldilocks/controller/deployment.yaml
Tobias Brunner 1730b7ee37
All checks were successful
continuous-integration/drone/push Build is passing
install goldilocks
2020-06-29 20:47:31 +02:00

48 lines
1.2 KiB
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: goldilocks-controller
labels:
app.kubernetes.io/name: goldilocks
app.kubernetes.io/component: controller
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: goldilocks
app.kubernetes.io/component: controller
template:
metadata:
labels:
app.kubernetes.io/name: goldilocks
app.kubernetes.io/component: controller
spec:
serviceAccountName: goldilocks-controller
containers:
- name: goldilocks
image: "quay.io/fairwinds/goldilocks:master"
imagePullPolicy: Always
command:
- /goldilocks
- controller
securityContext:
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
runAsNonRoot: true
runAsUser: 10324
capabilities:
drop:
- ALL
ports:
- name: http
containerPort: 8080
protocol: TCP
resources:
requests:
cpu: 25m
memory: 32Mi
limits:
cpu: 25m
memory: 32Mi