Files
higress/pkg/ingress/kube/gateway/istio/testdata/backend-tls-policy.status.yaml.golden
2025-11-20 14:43:30 +08:00

141 lines
3.2 KiB
Plaintext

apiVersion: gateway.networking.k8s.io/v1alpha3
kind: BackendTLSPolicy
metadata:
creationTimestamp: null
name: bad-configmap-type
namespace: default
spec: null
status:
ancestors:
- ancestorRef:
group: ""
kind: Service
name: foo-svc
conditions:
- lastTransitionTime: fake
message: 'Certificate reference invalid: unsupported kind UnknownKind'
reason: Invalid
status: "False"
type: Accepted
controllerName: istio.io/gateway-controller
---
apiVersion: gateway.networking.k8s.io/v1alpha3
kind: BackendTLSPolicy
metadata:
creationTimestamp: null
name: bad-service
namespace: default
spec: null
status:
ancestors:
- ancestorRef:
group: ""
kind: Service
name: does-not-exist
conditions:
- lastTransitionTime: fake
message: 'targetRefs invalid: reference default/does-not-exist (of kind Service)
not found'
reason: TargetNotFound
status: "False"
type: Accepted
controllerName: istio.io/gateway-controller
---
apiVersion: gateway.networking.k8s.io/v1alpha3
kind: BackendTLSPolicy
metadata:
creationTimestamp: null
name: existing-status
namespace: default
spec: null
status:
ancestors:
- ancestorRef:
group: ""
kind: Service
name: httpbin
conditions:
- lastTransitionTime: fake
message: hello
reason: Accepted
status: "True"
type: Accepted
controllerName: example.com/some-other-controller
- ancestorRef:
group: ""
kind: Service
name: httpbin
conditions:
- lastTransitionTime: fake
message: Configuration is valid
reason: Accepted
status: "True"
type: Accepted
controllerName: istio.io/gateway-controller
---
apiVersion: gateway.networking.k8s.io/v1alpha3
kind: BackendTLSPolicy
metadata:
creationTimestamp: null
name: malformed-configmap
namespace: default
spec: null
status:
ancestors:
- ancestorRef:
group: ""
kind: Service
name: httpbin-other
conditions:
- lastTransitionTime: fake
message: 'Certificate reference invalid: found secret, but didn''t have expected
keys cacert or ca.crt; found: not-ca.crt'
reason: Invalid
status: "False"
type: Accepted
controllerName: istio.io/gateway-controller
---
apiVersion: gateway.networking.k8s.io/v1alpha3
kind: BackendTLSPolicy
metadata:
creationTimestamp: null
name: tls-upstream-echo
namespace: default
spec: null
status:
ancestors:
- ancestorRef:
group: ""
kind: Service
name: echo
conditions:
- lastTransitionTime: fake
message: Configuration is valid
reason: Accepted
status: "True"
type: Accepted
controllerName: istio.io/gateway-controller
---
apiVersion: gateway.networking.k8s.io/v1alpha3
kind: BackendTLSPolicy
metadata:
creationTimestamp: null
name: unknown-configmap
namespace: default
spec: null
status:
ancestors:
- ancestorRef:
group: ""
kind: Service
name: httpbin-second
conditions:
- lastTransitionTime: fake
message: 'Certificate reference invalid: reference default/does-not-exist (of
kind ConfigMap) not found'
reason: Invalid
status: "False"
type: Accepted
controllerName: istio.io/gateway-controller
---