Skip to content

Commit

Permalink
ingress-examle/headlamp: Fix ingress example file
Browse files Browse the repository at this point in the history
* Adapt apiVersion to latest supported version for kubernetes
* Add missing properties
* Use new service declaration
  • Loading branch information
alexandersperling committed Jul 12, 2023
1 parent b452b08 commit 36d444c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions kubernetes-headlamp-ingress-sample.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kind: Ingress
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
metadata:
name: headlamp
namespace: kube-system
Expand All @@ -17,6 +17,9 @@ spec:
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
serviceName: headlamp
servicePort: 80
service:
name: headlamp
port:
number: 80

0 comments on commit 36d444c

Please sign in to comment.