Skip to content

Commit 3b79685

Browse files
author
yzamir
committed
readme
1 parent dfd9db2 commit 3b79685

File tree

3 files changed

+22
-3
lines changed

3 files changed

+22
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,7 @@ verify the tokens.
6060
# when creating service account for the gateway proxy.
6161
kubectl create -f deploy/namespace.yaml
6262
kubectl create -f deploy/sa.yaml
63-
```
6463

65-
``` bash
6664
# Generate public and private keys (the gateway supports RSA Signature with SHA-256)
6765
openssl genrsa -out tls.key
6866
openssl req -new -x509 -sha256 -key tls.key -out tls.crt -days 3650 -subj "/C=/ST=/L=/O=/OU=/CN=/emailAddress="
@@ -125,7 +123,7 @@ In this example we will use the default noVNC web application
125123
# The example noVNC application requirs kubevirt to be installed,
126124
# on minikube install kubevirt using minikube addons, on other platforms install
127125
# as recomended for that platform.
128-
minikube addons enable kubevirt
126+
#minikube addons enable kubevirt
129127

130128
# Wait for kubevirt to finish install and then
131129
# start the example virtual machine

deploy/kube-gateway.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
apiVersion: v1
33
kind: Service
44
metadata:
5+
annotations:
6+
service.alpha.openshift.io/serving-cert-secret-name: kube-gateway-secrets
57
labels:
68
app: kube-gateway
79
name: kube-gateway-svc

deploy/route.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
apiVersion: route.openshift.io/v1
3+
kind: Route
4+
metadata:
5+
labels:
6+
app: kube-gateway
7+
name: kube-gateway-route
8+
namespace: kube-gateway
9+
spec:
10+
host: kube-gateway.apps.ironmaiden1.eng.lab.tlv.redhat.com
11+
port:
12+
targetPort: 8080
13+
tls:
14+
termination: reencrypt
15+
to:
16+
kind: Service
17+
name: kube-gateway-svc
18+
weight: 100
19+
wildcardPolicy: None

0 commit comments

Comments
 (0)