Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eb935e8

Browse files
authored
Merge pull request #5111 from guettli/add-kubeconfig-to-gitignore
✨: Add *.kubeconfig to .gitignore.
2 parents 9dc0030 + 29ca7ac commit eb935e8

File tree

7 files changed

+21
-0
lines changed

7 files changed

+21
-0
lines changed

docs/book/src/cronjob-tutorial/testdata/project/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@ go.work
2525
*.swp
2626
*.swo
2727
*~
28+
29+
# Kubeconfig might contain secrets
30+
*.kubeconfig

docs/book/src/getting-started/testdata/project/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@ go.work
2525
*.swp
2626
*.swo
2727
*~
28+
29+
# Kubeconfig might contain secrets
30+
*.kubeconfig

docs/book/src/multiversion-tutorial/testdata/project/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@ go.work
2525
*.swp
2626
*.swo
2727
*~
28+
29+
# Kubeconfig might contain secrets
30+
*.kubeconfig

pkg/plugins/golang/v4/scaffolds/internal/templates/gitignore.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,7 @@ go.work
6565
*.swp
6666
*.swo
6767
*~
68+
69+
# Kubeconfig might contain secrets
70+
*.kubeconfig
6871
`

testdata/project-v4-multigroup/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@ go.work
2525
*.swp
2626
*.swo
2727
*~
28+
29+
# Kubeconfig might contain secrets
30+
*.kubeconfig

testdata/project-v4-with-plugins/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@ go.work
2525
*.swp
2626
*.swo
2727
*~
28+
29+
# Kubeconfig might contain secrets
30+
*.kubeconfig

testdata/project-v4/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@ go.work
2525
*.swp
2626
*.swo
2727
*~
28+
29+
# Kubeconfig might contain secrets
30+
*.kubeconfig

0 commit comments

Comments
 (0)