ingress: Add documentation on resource backends
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
This commit is contained in:
committed by
Rob Scott
parent
51f6e23f35
commit
248ecd10bf
@@ -0,0 +1,20 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: ingress-resource-backend
|
||||
spec:
|
||||
defaultBackend:
|
||||
resource:
|
||||
apiGroup: k8s.example.com
|
||||
kind: StorageBucket
|
||||
name: static-assets
|
||||
rules:
|
||||
- http:
|
||||
paths:
|
||||
- path: /icons
|
||||
pathType: ImplementationSpecific
|
||||
backend:
|
||||
resource:
|
||||
apiGroup: k8s.example.com
|
||||
kind: StorageBucket
|
||||
name: icon-assets
|
||||
Reference in New Issue
Block a user