template for openshift developer sandbox

This commit is contained in:
René Zubcevic
2021-12-20 14:27:14 +01:00
parent 3b55ef5ffe
commit ae02d98d37
12 changed files with 95 additions and 333 deletions

View File

@@ -0,0 +1,19 @@
apiVersion: route.openshift.io/v1
kind: Route
metadata:
labels:
app: {{ .Values.webgoat_server.name }}
name: {{ .Values.webgoat_server.name }}-wolf
namespace: {{ .Values.namespace }}
spec:
tls:
termination: edge
insecureEdgeTerminationPolicy: Redirect
path: /
port:
targetPort: 9090
to:
kind: Service
name: {{ .Values.webgoat_server.name }}-service
weight: 100
wildcardPolicy: None