Skip to content

Commit

Permalink
Merge pull request #561 from cloud-ark/custom-resource-connections
Browse files Browse the repository at this point in the history
Added missing kubeplus deployment file
  • Loading branch information
devdattakulkarni authored Aug 3, 2020
2 parents dbabc2d + 6eaee0d commit 90308a3
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions deploy/kubeplus-components-1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: kubeplus
spec:
replicas: 1
selector:
matchLabels:
app: kubeplus
template:
metadata:
labels:
app: kubeplus
spec:
serviceAccountName: kubeplus
containers:
- name: mutating-webhook-helper
image: lmecld/mutating-webhook-helper:latest
imagePullPolicy: IfNotPresent
- name: discovery-server
image: lmecld/kubediscovery:latest
imagePullPolicy: IfNotPresent
---
kind: Service
apiVersion: v1
metadata:
name: discovery-service
spec:
selector:
app: kubeplus
ports:
- protocol: TCP
port: 80
targetPort: 8080
type: ClusterIP
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: kubeplus:cluster-admin
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: kubeplus
namespace: default
---
kind: ServiceAccount
apiVersion: v1
metadata:
name: kubeplus
namespace: default
---

0 comments on commit 90308a3

Please sign in to comment.