caddy-ingess/kubernetes/sample/example-ingress.yaml
Marco Vito Moscaritolo 20b498f76c
Helm chart refactoring & automation (#31)
* remove test data

* Create helm chart using the suggested structure from helm3

* Fix minor naming consistency in Dockerfile

* Move skaffold to use helm chart

* improve skaffold configuration

* Update chart name to use the naming convenction

* update sample path

* Update contribution guideline

* Add helm chart validation rules

* Add chart home since is a required field

* Add linting action for helm charts

* Add fixes to chart definition

* fix timeout duration

* Update kind cluster

* test CI with minikube

* Add MetalLB to test load balancer feature

* Publish chart when merged on master

* test publishing chart with fake tag

* move charts dir

* finalize charts publishing CI

* reformat skaffold
2020-06-20 21:37:46 +02:00

35 lines
770 B
YAML

apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: example
annotations:
kubernetes.io/ingress.class: caddy
spec:
rules:
- host: example1.kubernetes.localhost
http:
paths:
- path: /hello1
backend:
serviceName: example1
servicePort: 8080
- path: /hello2
backend:
serviceName: example2
servicePort: 8080
- host: example2.kubernetes.localhost
http:
paths:
- path: /hello1
backend:
serviceName: example1
servicePort: 8080
- path: /hello2
backend:
serviceName: example2
servicePort: 8080
# tls:
# - secretName: ssl-example2.kubernetes.localhost
# hosts:
# - example2.caddy.dev