vino/config/manager/manager.yaml
Alexander Hughes f4336c9336 Documentation for dev env setup
This change:
- Updates the README with an explanation of SIP and ViNO, and steps
  to setting up a development environment for ViNO using the Airship
  charts/tools/gate/deploy-k8s.sh script
- Updates the Dockerfile to create a working ViNO image
- Updates the management Deployment to use the new image, and only
  pull that image if it is not present

Signed-off-by: Alexander Hughes <Alexander.Hughes@pm.me>
Change-Id: I6fbdd3302d49a65f05b20ec9593f500df23f1b33
2020-12-28 12:44:00 -05:00

41 lines
823 B
YAML

apiVersion: v1
kind: Namespace
metadata:
labels:
control-plane: controller-manager
name: system
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: controller-manager
namespace: system
labels:
control-plane: controller-manager
spec:
selector:
matchLabels:
control-plane: controller-manager
replicas: 1
template:
metadata:
labels:
control-plane: controller-manager
spec:
containers:
- command:
- /manager
args:
- --enable-leader-election
image: quay.io/airshipit/vino
imagePullPolicy: IfNotPresent
name: manager
resources:
limits:
cpu: 100m
memory: 30Mi
requests:
cpu: 100m
memory: 20Mi
terminationGracePeriodSeconds: 10