Skip to content

Commit

Permalink
fix(example): update default branch name in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
l-qing committed Jul 7, 2024
1 parent 0cb3886 commit 1972134
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ of Triggers resources. Many of the sub-folders also contain their own READMEs wi
## Pre-Requisites
To run the examples, you need the following pre-requisites:

1. Ensure you have Tekton Pipelines [installed](https://github.com/tektoncd/pipeline/blob/master/docs/install.md)
1. Ensure you have Tekton Pipelines [installed](https://github.com/tektoncd/pipeline/blob/main/docs/install.md)

2. Create the service account and all associated roles and bindings by running `kubectl apply -f rbac.yaml`.

Expand Down
2 changes: 1 addition & 1 deletion examples/v1alpha1/cron/triggerbinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ metadata:
spec:
params:
- name: gitrevision
value: master
value: main
- name: gitrepositoryurl
value: https://github.com/tektoncd/triggers
2 changes: 1 addition & 1 deletion examples/v1alpha1/label-selector/triggers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ spec:
params:
- name: gitrevision
description: The git revision
default: master
default: main
- name: gitrepositoryurl
description: The git repository url
- name: message
Expand Down
2 changes: 1 addition & 1 deletion examples/v1alpha1/namespace-selector/03_trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
params:
- name: gitrevision
description: The git revision
default: master
default: main
- name: gitrepositoryurl
description: The git repository url
- name: message
Expand Down
2 changes: 1 addition & 1 deletion examples/v1beta1/cron/triggerbinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ metadata:
spec:
params:
- name: gitrevision
value: master
value: main
- name: gitrepositoryurl
value: https://github.com/tektoncd/triggers
2 changes: 1 addition & 1 deletion examples/v1beta1/label-selector/triggers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
params:
- name: gitrevision
description: The git revision
default: master
default: main
- name: gitrepositoryurl
description: The git repository url
- name: message
Expand Down
2 changes: 1 addition & 1 deletion examples/v1beta1/namespace-selector/03_trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
params:
- name: gitrevision
description: The git revision
default: master
default: main
- name: gitrepositoryurl
description: The git repository url
- name: message
Expand Down
1 change: 1 addition & 0 deletions examples/v1beta1/triggertemplates/triggertemplate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ spec:
default: This is the default message
- name: contenttype
description: The Content-Type of the event
default: text/plain
resourcetemplates:
- apiVersion: tekton.dev/v1beta1
kind: PipelineRun
Expand Down

0 comments on commit 1972134

Please sign in to comment.