mirror of https://github.com/knative/docs.git
v1alpha1 -> v1 for Trigger (#2818)
This commit is contained in:
parent
e274ef04ae
commit
1ba98b3b61
|
@ -124,7 +124,7 @@ cd knative-docs/docs/eventing/samples/helloworld/helloworld-python
|
|||
targetPort: 8080
|
||||
---
|
||||
# Knative Eventing Trigger to trigger the helloworld-python service
|
||||
apiVersion: eventing.knative.dev/v1alpha1
|
||||
apiVersion: eventing.knative.dev/v1
|
||||
kind: Trigger
|
||||
metadata:
|
||||
name: helloworld-python
|
||||
|
@ -281,7 +281,7 @@ Helloworld-python app logs the context and the msg of the above event, and repli
|
|||
1. Create a trigger to deliver the event to the above service
|
||||
```shell
|
||||
kubectl --namespace knative-samples apply --filename - << END
|
||||
apiVersion: eventing.knative.dev/v1alpha1
|
||||
apiVersion: eventing.knative.dev/v1
|
||||
kind: Trigger
|
||||
metadata:
|
||||
name: event-display
|
||||
|
|
|
@ -42,7 +42,7 @@ spec:
|
|||
targetPort: 8080
|
||||
---
|
||||
# Knative Eventing Trigger to trigger the helloworld-go service
|
||||
apiVersion: eventing.knative.dev/v1alpha1
|
||||
apiVersion: eventing.knative.dev/v1
|
||||
kind: Trigger
|
||||
metadata:
|
||||
name: helloworld-python
|
||||
|
|
Loading…
Reference in New Issue