华为云UCS-k8sblockwildcardingress:策略实例示例

时间:2024-09-12 15:06:02

策略实例示例

示例展示了该策略定义的生效类型。

apiVersion: constraints.gatekeeper.sh/v1beta1
kind: K8sBlockWildcardIngress
metadata:
  name: block-wildcard-ingress
spec:
  match:
    kinds:
      - apiGroups: ["extensions", "networking.k8s.io"]
        kinds: ["Ingress"]
support.huaweicloud.com/usermanual-ucs/ucs_01_0244.html