Skip to content

Commit

Permalink
Ensure operator service points to its own pod. (#25)
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed Oct 25, 2019
1 parent d187265 commit 2f2f902
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ spec:
selector:
matchLabels:
app: kubedb
class: ${KUBEDB_OPERATOR_NAME}
template:
metadata:
labels:
app: kubedb
class: ${KUBEDB_OPERATOR_NAME}
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
spec:
Expand Down Expand Up @@ -107,6 +109,7 @@ spec:
targetPort: 8443
selector:
app: kubedb
class: ${KUBEDB_OPERATOR_NAME}
---
# register as aggregated apiserver
apiVersion: apiregistration.k8s.io/v1beta1
Expand Down

0 comments on commit 2f2f902

Please sign in to comment.