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/dashboard/deployment.yaml

58 lines
1.4 KiB
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: goldilocks-dashboard
labels:
app.kubernetes.io/name: goldilocks
app.kubernetes.io/component: dashboard
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: goldilocks
app.kubernetes.io/component: dashboard
template:
metadata:
labels:
app.kubernetes.io/name: goldilocks
app.kubernetes.io/component: dashboard
spec:
serviceAccountName: goldilocks-dashboard
containers:
- name: goldilocks
image: "quay.io/fairwinds/goldilocks:master"
imagePullPolicy: Always
command:
- /goldilocks
- dashboard
- --exclude-containers=linkerd-proxy,istio-proxy
- -v3
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
livenessProbe:
httpGet:
path: /health
port: http
readinessProbe:
httpGet:
path: /health
port: http