Skip to content

Commit

Permalink
feat(cspc-operator) : add cspc operator deployment yaml (openebs#2713)
Browse files Browse the repository at this point in the history
Signed-off-by: Ashutosh Kumar <ashutosh.kumar@openebs.io>
  • Loading branch information
Ashutosh Kumar authored and vishnuitta committed Aug 22, 2019
1 parent 25aac7c commit 99de42c
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions k8s/cspc-operator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: cspc-operator
namespace: openebs
labels:
name: cspc-operator
openebs.io/component-name: cspc-operator
openebs.io/version: dev
spec:
selector:
matchLabels:
name: cspc-operator
openebs.io/component-name: cspc-operator
replicas: 1
strategy:
type: Recreate
template:
metadata:
labels:
name: cspc-operator
openebs.io/component-name: cspc-operator
openebs.io/version: dev
spec:
serviceAccountName: openebs-maya-operator
containers:
- name: cspc-operator
imagePullPolicy: Always
image: quay.io/openebs/cspc-operator:ci
env:
- name: OPENEBS_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: CSPC_OPERATOR_POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
---

0 comments on commit 99de42c

Please sign in to comment.