Skip to content

Commit e9f831c

Browse files
committed
docs: Add missing YAML file and fix ingress instructions
The instructions for the Ingress referred to a missing YAML file, so this patch adds the file and updates the docs.
1 parent 7a304f8 commit e9f831c

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

docs/installation/in-cluster.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Assuming your URL is `headlamp.mydeployment.io`, getting the sample ingress
2828
file and changing the URL can quickly be done by:
2929

3030
```bash
31-
curl -s https://raw.githubusercontent.com/kinvolk/headlamp/jrocha/wip/delme/kubernetes-headlamp-ingress-sample.yaml | sed -e s/__URL__/headlamp.mydeployment.io/ > headlamp-ingress.yaml
31+
curl -s https://raw.githubusercontent.com/kinvolk/headlamp/master/kubernetes-headlamp-ingress-sample.yaml | sed -e s/__URL__/headlamp.mydeployment.io/ > headlamp-ingress.yaml
3232
```
3333

3434
and with that, you'll have a configured ingress file, so verify it and apply it:
+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
kind: Ingress
2+
apiVersion: extensions/v1beta1
3+
metadata:
4+
name: headlamp
5+
namespace: kube-system
6+
annotations:
7+
kubernetes.io/tls-acme: "true"
8+
cert-manager.io/cluster-issuer: "letsencrypt-production"
9+
kubernetes.io/ingress.class: contour
10+
spec:
11+
tls:
12+
- secretName: headlamp
13+
hosts:
14+
- __URL__
15+
rules:
16+
-
17+
host: __URL__
18+
http:
19+
paths:
20+
-
21+
path: /
22+
backend:
23+
serviceName: headlamp
24+
servicePort: 80

0 commit comments

Comments
 (0)