Skip to content

Instantly share code, notes, and snippets.

@brendanmckenzie
Created May 18, 2020 05:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brendanmckenzie/0ec8664686bdd936147c7406610e821b to your computer and use it in GitHub Desktop.
Save brendanmckenzie/0ec8664686bdd936147c7406610e821b to your computer and use it in GitHub Desktop.
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: azureingressprohibitedtargets.appgw.ingress.k8s.io
labels:
app: ingress-azure
chart: ingress-azure-1.2.0-rc1
heritage: Helm
release: ingress-azure
spec:
group: appgw.ingress.k8s.io
version: v1
names:
kind: AzureIngressProhibitedTarget
plural: azureingressprohibitedtargets
scope: Namespaced
validation:
openAPIV3Schema:
properties:
spec:
properties:
hostname:
description: "(optional) Hostname of the prohibited target"
type: string
paths:
description: "(optional) A list of URL paths, for which the Ingress Controller is prohibited from mutating Application Gateway configuration; Must begin with a / and end with /*"
type: array
items:
type: string
pattern: '^\/(?:.+\/)?\*$'
---
apiVersion: appgw.ingress.k8s.io/v1
kind: AzureIngressProhibitedTarget
metadata:
name: prohibit-all-targets
spec:
paths:
- /*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment