Skip to content

Commit 9a6284c

Browse files
authored
Initial commit
0 parents  commit 9a6284c

File tree

16 files changed

+483
-0
lines changed

16 files changed

+483
-0
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
version: 2
3+
updates:
4+
# Check for updates to GitHub Actions every week
5+
- package-ecosystem: "github-actions"
6+
directory: "/"
7+
schedule:
8+
interval: "weekly"

.github/linters/.checkov.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
compact: true
3+
directory:
4+
- .
5+
skip-path:
6+
- tests
7+
skip-check:
8+
- CKV_K8S_49 # Minimize wildcard use in Roles and ClusterRoles
9+
- CKV_K8S_155 # Minimize ClusterRoles that grant control over validating or mutating admission webhook configurations
10+
- CKV_K8S_156 # Minimize ClusterRoles that grant permissions to approve CertificateSigningRequests
11+
- CKV_K8S_157 # Minimize Roles and ClusterRoles that grant permissions to bind RoleBindings or ClusterRoleBindings
12+
- CKV_K8S_158 # Minimize Roles and ClusterRoles that grant permissions to escalate Roles or ClusterRoles

.github/linters/.jscpd.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"ignore": [
3+
"templates/plumbing/applications.yaml",
4+
"templates/imperative/_helpers.tpl",
5+
"templates/core/subscriptions.yaml",
6+
"templates/core/namespaces.yaml",
7+
"templates/core/nodes.yaml",
8+
"templates/_helpers.tpl"
9+
]
10+
}

.github/linters/.textlintrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"rules": {
3+
"terminology": {
4+
// Excludes terms
5+
"exclude": [
6+
"URL"
7+
]
8+
}
9+
}
10+
}

.github/workflows/helm-lint.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: Helm lint
3+
4+
on:
5+
push:
6+
branches: ["main"]
7+
tags: ["v*.*.*"]
8+
pull_request:
9+
branches: ["main"]
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
build:
16+
name: Run helm lint over the chart
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout Code
21+
uses: actions/checkout@v5
22+
with:
23+
persist-credentials: false
24+
25+
- name: Setup helm
26+
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
27+
with:
28+
version: "v3.14.0"
29+
30+
- name: Run make helmlint
31+
run: |
32+
make helm-lint
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Helm Unit Test
3+
4+
on:
5+
push:
6+
branches: ["main"]
7+
tags: ["v*.*.*"]
8+
pull_request:
9+
branches: ["main"]
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
build:
16+
name: Run helm lint over the chart
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout Code
21+
uses: actions/checkout@v5
22+
with:
23+
persist-credentials: false
24+
25+
- name: Run make helmlint
26+
run: |
27+
make helm-unittest

.github/workflows/superlinter.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Super linter
3+
4+
on:
5+
pull_request:
6+
branches: [main]
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
lint:
13+
uses: validatedpatterns/github-actions-library/.github/workflows/superlinter.yml@v1
14+
with:
15+
sl_env: |
16+
VALIDATE_BIOME_FORMAT=false
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# This invokes the workflow named 'publish-charts' in the umbrella repo
2+
# It expects to have a secret called CHARTS_REPOS_TOKEN which contains
3+
# the GitHub token that has permissions to invoke workflows and commit code
4+
# inside the umbrella-repo.
5+
# The following fine-grained permissions were used in testing and were limited
6+
# to the umbrella repo only:
7+
# - Actions: r/w
8+
# - Commit statuses: r/w
9+
# - Contents: r/w
10+
# - Deployments: r/w
11+
# - Pages: r/w
12+
#
13+
14+
name: vp-patterns/update-helm-repo
15+
16+
on:
17+
push:
18+
tags:
19+
- "v[0-9]+.[0-9]+.[0-9]+"
20+
21+
permissions:
22+
contents: read
23+
24+
jobs:
25+
helmlint:
26+
uses: validatedpatterns/helm-charts/.github/workflows/helmlint.yml@69fd10ef9199eecd093fca715ae9765c78750efc # October 6, 2025
27+
permissions:
28+
contents: read
29+
30+
update-helm-repo:
31+
needs: [helmlint]
32+
uses: validatedpatterns/helm-charts/.github/workflows/update-helm-repo.yml@69fd10ef9199eecd093fca715ae9765c78750efc # October 6, 2025
33+
permissions:
34+
contents: read
35+
secrets:
36+
CHARTS_REPOS_TOKEN: ${{ secrets.CHARTS_REPOS_TOKEN }}

.gitignore

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/helm,vim,linux
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=helm,vim,linux
3+
4+
### Helm ###
5+
# Chart dependencies
6+
**/charts/*.tgz
7+
8+
### Linux ###
9+
*~
10+
11+
# temporary files which can be created if a process still has a handle open of a deleted file
12+
.fuse_hidden*
13+
14+
# KDE directory preferences
15+
.directory
16+
17+
# Linux trash folder which might appear on any partition or disk
18+
.Trash-*
19+
20+
# .nfs files are created when an open file is removed but is still being accessed
21+
.nfs*
22+
23+
### Vim ###
24+
# Swap
25+
[._]*.s[a-v][a-z]
26+
!*.svg # comment out if you don't need vector files
27+
[._]*.sw[a-p]
28+
[._]s[a-rt-v][a-z]
29+
[._]ss[a-gi-z]
30+
[._]sw[a-p]
31+
32+
# Session
33+
Session.vim
34+
Sessionx.vim
35+
36+
# Temporary
37+
.netrwhist
38+
# Auto-generated tag files
39+
tags
40+
# Persistent undo
41+
[._]*.un~
42+
43+
# End of https://www.toptal.com/developers/gitignore/api/helm,vim,linux
44+
45+
.vscode/

Chart.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: v2
2+
description: A Helm chart to serve as the Validated Patterns Template
3+
keywords:
4+
- pattern
5+
name: vp-template
6+
version: 0.0.1

0 commit comments

Comments
 (0)