Skip to content

Commit 61b5438

Browse files
fty4cpanato
andauthored
(Breaking change) chore: change default target-branch to main (#510)
* chore: change default target-branch to main closes #376 Signed-off-by: Marco Lecheler <[email protected]> Signed-off-by: Marco Lecheler <[email protected]> * docs: change default target-branch to main Signed-off-by: Marco Lecheler <[email protected]> Signed-off-by: Marco Lecheler <[email protected]> * docs: update missing inclusive naming Signed-off-by: Marco Lecheler <[email protected]> Signed-off-by: Marco Lecheler <[email protected]> * chore: update kind readme to use inclusive naming Co-authored-by: Carlos Tadeu Panato Junior <[email protected]> Signed-off-by: Marco Lecheler <[email protected]> --------- Signed-off-by: Marco Lecheler <[email protected]> Signed-off-by: Marco Lecheler <[email protected]> Co-authored-by: Carlos Tadeu Panato Junior <[email protected]>
1 parent d6d6030 commit 61b5438

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

code-of-conduct.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Community Code of Conduct
22

3-
Helm follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md).
3+
Helm follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md).

ct/cmd/root.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func Execute() {
6565
func addCommonFlags(flags *pflag.FlagSet) {
6666
flags.StringVar(&cfgFile, "config", "", "Config file")
6767
flags.String("remote", "origin", "The name of the Git remote used to identify changed charts")
68-
flags.String("target-branch", "master", "The name of the target branch used to identify changed charts")
68+
flags.String("target-branch", "main", "The name of the target branch used to identify changed charts")
6969
flags.String("since", "HEAD", "The Git reference used to identify changed charts")
7070
flags.StringSlice("chart-dirs", []string{"charts"}, heredoc.Doc(`
7171
Directories containing Helm charts. May be specified multiple times

doc/ct_install.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ ct install [flags]
7474
--skip-missing-values When --upgrade has been passed, this flag will skip testing CI values files from the
7575
previous chart revision if they have been deleted or renamed at the current chart
7676
revision
77-
--target-branch string The name of the target branch used to identify changed charts (default "master")
77+
--target-branch string The name of the target branch used to identify changed charts (default "main")
7878
--upgrade Whether to test an in-place upgrade of each chart from its previous revision if the
7979
current version should not introduce a breaking change according to the SemVer spec
8080
```

doc/ct_lint-and-install.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ ct lint-and-install [flags]
6969
--skip-missing-values When --upgrade has been passed, this flag will skip testing CI values files from the
7070
previous chart revision if they have been deleted or renamed at the current chart
7171
revision
72-
--target-branch string The name of the target branch used to identify changed charts (default "master")
72+
--target-branch string The name of the target branch used to identify changed charts (default "main")
7373
--upgrade Whether to test an in-place upgrade of each chart from its previous revision if the
7474
current version should not introduce a breaking change according to the SemVer spec
7575
--validate-chart-schema Enable schema validation of 'Chart.yaml' using Yamale (default true)

doc/ct_lint.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ ct lint [flags]
6969
expose sensitive data when helm-repo-extra-args contains passwords)
7070
--remote string The name of the Git remote used to identify changed charts (default "origin")
7171
--since string The Git reference used to identify changed charts (default "HEAD")
72-
--target-branch string The name of the target branch used to identify changed charts (default "master")
72+
--target-branch string The name of the target branch used to identify changed charts (default "main")
7373
--validate-chart-schema Enable schema validation of 'Chart.yaml' using Yamale (default true)
7474
--validate-maintainers Enable validation of maintainer account names in chart.yml.
7575
Works for GitHub, GitLab, and Bitbucket (default true)

doc/ct_list-changed.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ct list-changed [flags]
2727
expose sensitive data when helm-repo-extra-args contains passwords)
2828
--remote string The name of the Git remote used to identify changed charts (default "origin")
2929
--since string The Git reference used to identify changed charts (default "HEAD")
30-
--target-branch string The name of the target branch used to identify changed charts (default "master")
30+
--target-branch string The name of the target branch used to identify changed charts (default "main")
3131
```
3232

3333
### SEE ALSO

examples/kind/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
`kind` is a tool for running local Kubernetes clusters using Docker container "nodes".
44

55
This example shows how to lint and test charts using CircleCi and [kind](https://github.com/kubernetes-sigs/kind).
6-
It creates a cluster with a single master node and one worker node.
6+
It creates a cluster with a single control-plane node and one worker node.
77
The cluster configuration can be adjusted in [kind-config.yaml](test/kind-config.yaml). You can check for available configuration options in `kind` [docs](https://kind.sigs.k8s.io/docs/user/quick-start#configuring-your-kind-cluster)

0 commit comments

Comments
 (0)