feat(nginx): update nginx chart with service

This commit is contained in:
Rimantas Mocevicius
2015-11-07 18:12:49 -08:00
parent 0842c49d42
commit 5d14dba2df
3 changed files with 20 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
name: nginx
home: https://www.nginx.com
version: 0.1.0
version: 0.2.0
description: Nginx http service
maintainers:
- Rimas Mocevicius <rimas@deis.com>
+6 -2
View File
@@ -2,15 +2,19 @@ apiVersion: v1
kind: ReplicationController
metadata:
name: nginx
labels:
heritage: helm
spec:
replicas: 1
selector:
name: nginx
template:
metadata:
labels:
heritage: helm
name: nginx
spec:
containers:
- name: nginxhttp
- name: nginx
image: nginx
ports:
- containerPort: 80
+13
View File
@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: nginx
labels:
app: nginx
spec:
ports:
- port: 80
protocol: TCP
name: http
selector:
name: nginx