Skip to content

Commit 29ca7ac

Browse files
committed
Add *.kubeconfig to .gitignore.
1 parent 18bc577 commit 29ca7ac

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)