зеркало из https://github.com/Azure/mirrorcat.git
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:
Родитель
266244efab
Коммит
ba4e2d5e71
|
@ -15,11 +15,6 @@ spec:
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
name: mirrorcat
|
name: mirrorcat
|
||||||
volumeMounts:
|
|
||||||
- name: mirrorcat-config
|
|
||||||
mountPath: /etc/config
|
|
||||||
volumes:
|
|
||||||
- name: config
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
@ -31,16 +26,3 @@ spec:
|
||||||
- port: 8080
|
- port: 8080
|
||||||
selector:
|
selector:
|
||||||
app: git-branch-mirroring
|
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
|
|
Загрузка…
Ссылка в новой задаче