ref(owncloud): add rc and service

This commit is contained in:
Matthew
2015-11-16 10:13:06 -08:00
parent cfc689a513
commit 2f069e6820
4 changed files with 32 additions and 13 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
name: owncloud
home: https://owncloud.org/
version: 0.1.0
version: 0.2.0
description: a self-hosted file sync and share server.
maintainers:
- Matt Fisher <mfisher@deis.com>
-12
View File
@@ -1,12 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: owncloud
labels:
heritage: helm
spec:
containers:
- name: owncloud
image: owncloud:8.2.0
ports:
- containerPort: 80
+19
View File
@@ -0,0 +1,19 @@
apiVersion: v1
kind: ReplicationController
metadata:
name: owncloud
labels:
app: owncloud
heritage: helm
spec:
replicas: 1
template:
metadata:
labels:
app: owncloud
spec:
containers:
- name: owncloud
image: owncloud:8.2.0
ports:
- containerPort: 80
+12
View File
@@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: owncloud
labels:
provider: owncloud
heritage: helm
spec:
ports:
- port: 80
selector:
provider: owncloud