1
0
mirror of https://github.com/helm/chart-testing.git synced 2026-02-05 09:45:14 +01:00

(Breaking change) chore: change default target-branch to main (#510)

* chore: change default target-branch to main

closes #376

Signed-off-by: Marco Lecheler <marco@task.media>
Signed-off-by: Marco Lecheler <marco.lecheler@mercedes-benz.com>

* docs: change default target-branch to main

Signed-off-by: Marco Lecheler <marco@task.media>
Signed-off-by: Marco Lecheler <marco.lecheler@mercedes-benz.com>

* docs: update missing inclusive naming

Signed-off-by: Marco Lecheler <marco@task.media>
Signed-off-by: Marco Lecheler <marco.lecheler@mercedes-benz.com>

* chore: update kind readme to use inclusive naming

Co-authored-by: Carlos Tadeu Panato Junior <ctadeu@gmail.com>
Signed-off-by: Marco Lecheler <marco@task.media>

---------

Signed-off-by: Marco Lecheler <marco@task.media>
Signed-off-by: Marco Lecheler <marco.lecheler@mercedes-benz.com>
Co-authored-by: Carlos Tadeu Panato Junior <ctadeu@gmail.com>
This commit is contained in:
Marco Lecheler
2023-11-19 13:33:01 +01:00
committed by GitHub
parent d6d60308ad
commit 61b5438a48
7 changed files with 7 additions and 7 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -27,7 +27,7 @@ ct list-changed [flags]
expose sensitive data when helm-repo-extra-args contains passwords)
--remote string The name of the Git remote used to identify changed charts (default "origin")
--since string The Git reference used to identify changed charts (default "HEAD")
--target-branch string The name of the target branch used to identify changed charts (default "master")
--target-branch string The name of the target branch used to identify changed charts (default "main")
```
### SEE ALSO

View File

@@ -3,5 +3,5 @@
`kind` is a tool for running local Kubernetes clusters using Docker container "nodes".
This example shows how to lint and test charts using CircleCi and [kind](https://github.com/kubernetes-sigs/kind).
It creates a cluster with a single master node and one worker node.
It creates a cluster with a single control-plane node and one worker node.
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)