Adding a rudimentary file to deploy to k8s.

This deployment will have no configuration. To make it useful, one may
add the environment MIRRORCAT_REDIS_CONNECTION or another branch mapping
configuration mechanism.
This commit is contained in:
Martin Strobel 2017-12-21 12:09:15 -08:00
Родитель 266244efab
Коммит ba4e2d5e71
1 изменённых файлов: 0 добавлений и 18 удалений

Просмотреть файл

@ -15,11 +15,6 @@ spec:
ports:
- containerPort: 8080
name: mirrorcat
volumeMounts:
- name: mirrorcat-config
mountPath: /etc/config
volumes:
- name: config
---
apiVersion: v1
kind: Service
@ -31,16 +26,3 @@ spec:
- port: 8080
selector:
app: git-branch-mirroring
---
apiVersion: v1
kind: ConfigMap
metadata:
name: mirrorcat-config
namespace: default
data:
all:
mirrors:
github.com/Azure/mirrorcat:
master:
github.com/marstr/mirrorcat:
- master