Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (33 sloc) 938 Bytes
apiVersion: apps/v1
kind: Deployment
metadata:
name: immortalcontainer-operator
spec:
replicas: 1
selector:
matchLabels:
name: immortalcontainer-operator
template:
metadata:
labels:
name: immortalcontainer-operator
spec:
serviceAccountName: immortalcontainer-operator
containers:
- name: immortalcontainer-operator
# Replace this with the built image name
image: flugelit/immortalcontainer-operator:dev
command:
- immortalcontainer-operator
imagePullPolicy: IfNotPresent
env:
- name: WATCH_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: OPERATOR_NAME
value: "immortalcontainer-operator"
You can’t perform that action at this time.