Add totpcgi-vpn service

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2019-05-29 17:05:56 +02:00
parent 29bfd4c6ed
commit 932f98fed5
2 changed files with 21 additions and 1 deletions

View file

@ -84,6 +84,11 @@
app: fas
file: service-totpcgi.yml
objectname: service-totpcgi.yml
- role: openshift/object
app: fas
file: service-totpcgi-vpn.yml
objectname: service-totpcgi-vpn.yml
when: env == "production"
- role: openshift/route
app: fas
routename: fas
@ -119,7 +124,7 @@
routename: totpcgi-vpn
host: "fas-all.vpn.fedoraproject.org"
serviceport: totp
servicename: totpcgi
servicename: totpcgi-vpn
termination_passthrough: true
when: env == "production"
- role: openshift/object

View file

@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: totpcgi-vpn
labels:
app: fas
service: totpcgi-vpn
namespace: fas
spec:
ports:
- name: totp
port: 8443
targetPort: 8443
selector:
deploymentconfig: totpcgi-vpn