Add totpcgi-vpn service
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
29bfd4c6ed
commit
932f98fed5
2 changed files with 21 additions and 1 deletions
|
@ -84,6 +84,11 @@
|
||||||
app: fas
|
app: fas
|
||||||
file: service-totpcgi.yml
|
file: service-totpcgi.yml
|
||||||
objectname: 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
|
- role: openshift/route
|
||||||
app: fas
|
app: fas
|
||||||
routename: fas
|
routename: fas
|
||||||
|
@ -119,7 +124,7 @@
|
||||||
routename: totpcgi-vpn
|
routename: totpcgi-vpn
|
||||||
host: "fas-all.vpn.fedoraproject.org"
|
host: "fas-all.vpn.fedoraproject.org"
|
||||||
serviceport: totp
|
serviceport: totp
|
||||||
servicename: totpcgi
|
servicename: totpcgi-vpn
|
||||||
termination_passthrough: true
|
termination_passthrough: true
|
||||||
when: env == "production"
|
when: env == "production"
|
||||||
- role: openshift/object
|
- role: openshift/object
|
||||||
|
|
15
roles/openshift-apps/fas/files/service-totpcgi-vpn.yml
Normal file
15
roles/openshift-apps/fas/files/service-totpcgi-vpn.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue