Skip to content

Commit

Permalink
fix lint + e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
dibyom committed Mar 24, 2020
1 parent 5dbbe53 commit 32488a5
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/create-ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: triggers.tekton.dev/v1alpha1
apiVersion: tekton.dev/v1alpha1
kind: Task
metadata:
name: create-ingress
Expand Down
2 changes: 1 addition & 1 deletion docs/create-webhook.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: triggers.tekton.dev/v1alpha1
apiVersion: tekton.dev/v1alpha1
kind: Task
metadata:
name: create-webhook
Expand Down
4 changes: 2 additions & 2 deletions docs/eventlisteners.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ metadata:
name: tekton-triggers-example-minimal
rules:
# Permissions for every EventListener deployment to function
- apiGroups: ["tekton.dev"]
- apiGroups: ["triggers.tekton.dev"]
resources: ["eventlisteners", "triggerbindings", "triggertemplates"]
verbs: ["get"]
- apiGroups: [""]
resources: ["configmaps", "secrets"] # secrets are only needed for Github/Gitlab interceptors
resources: ["configmaps", "secrets"] # secrets are only needed for Github/Gitlab interceptors
verbs: ["get", "list", "watch"]
# Permissions to create resources in associated TriggerTemplates
- apiGroups: ["tekton.dev"]
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/triggers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
type: image
params:
- name: url
value: DOCKERREPO-REPLACEME # docker-repo-location.com/repo:getting-started
value: DOCKERREPO-REPLACEME # docker-repo-location.com/repo:getting-started
- name: event-to-sink
resourceSpec:
type: cloudEvent
Expand Down
2 changes: 1 addition & 1 deletion examples/gitlab/gitlab-push-listener.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
secretName: gitlab-secret
secretKey: gitlabToken
eventTypes:
- Push Hook # Only push events
- Push Hook # Only push events
bindings:
- name: gitlab-push-binding
template:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ rules:
resources: ["clustertriggerbindings", "eventlisteners", "triggerbindings", "triggertemplates"]
verbs: ["get"]
- apiGroups: [""]
resources: ["configmaps", "secrets"] # secrets are only needed for Github/Gitlab interceptors
resources: ["configmaps", "secrets"] # secrets are only needed for Github/Gitlab interceptors
verbs: ["get", "list", "watch"]
# Permissions to create resources in associated TriggerTemplates
- apiGroups: ["tekton.dev"]
Expand Down
2 changes: 1 addition & 1 deletion examples/role-resources/triggerbinding-roles/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ rules:
resources: ["eventlisteners", "triggerbindings", "triggertemplates"]
verbs: ["get"]
- apiGroups: [""]
resources: ["configmaps", "secrets"] # secrets are only needed for Github/Gitlab interceptors
resources: ["configmaps", "secrets"] # secrets are only needed for Github/Gitlab interceptors
verbs: ["get", "list", "watch"]
# Permissions to create resources in associated TriggerTemplates
- apiGroups: ["tekton.dev"]
Expand Down
2 changes: 1 addition & 1 deletion test/e2e-tests-ingress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ EVENTLISTENER_NAME="ingress-test-eventlistener"

# Create EventListener
cat << DONE | kubectl apply -f -
apiVersion: tekton.dev/v1alpha1
apiVersion: triggers.tekton.dev/v1alpha1
kind: EventListener
metadata:
name: ${EVENTLISTENER_NAME}
Expand Down

0 comments on commit 32488a5

Please sign in to comment.