Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/linters/.jscpd.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"ignore": [
"templates/plumbing/applications.yaml",
"templates/imperative/_helpers.tpl",
"templates/core/subscriptions.yaml",
"templates/core/namespaces.yaml",
"templates/core/nodes.yaml",
"templates/_helpers.tpl"
]
"ignore": [
"templates/plumbing/applications.yaml",
"templates/imperative/_helpers.tpl",
"templates/core/subscriptions.yaml",
"templates/core/namespaces.yaml",
"templates/core/nodes.yaml",
"templates/_helpers.tpl"
]
}
21 changes: 12 additions & 9 deletions .github/workflows/helm-lint.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
name: Helm lint

#
# Documentation:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
#
on:
push:
branches: ["main"]
tags: ["v*.*.*"]
pull_request:
branches: ["main"]

permissions: read-all

on: [push, pull_request]
permissions:
contents: read

jobs:
build:
Expand All @@ -18,11 +19,13 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v5
with:
persist-credentials: false

- name: Setup helm
uses: azure/setup-helm@v4
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
with:
version: 'v3.14.0'
version: "v3.14.0"

- name: Run make helmlint
run: |
Expand Down
20 changes: 11 additions & 9 deletions .github/workflows/helm-unittest.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
---
name: Helm Unit Test

#
# Documentation:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
#
on:
push:
branches: ["main"]
tags: ["v*.*.*"]
pull_request:
branches: ["main"]

permissions: read-all

on: [push, pull_request]
permissions:
contents: read

jobs:
build:
name: Run helm lint over the chart
# It has to be 24.04 because -latest has a podman version that is too old
runs-on: ubuntu-24.04
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v5
with:
persist-credentials: false

- name: Run make helmlint
run: |
Expand Down
44 changes: 11 additions & 33 deletions .github/workflows/superlinter.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,16 @@
---
name: Super linter

on: [push, pull_request]
permissions: read-all
on:
pull_request:
branches: [main]

jobs:
build:
# Name the Job
name: Super linter
# Set the agent to run on
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v5
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
permissions:
contents: read

################################
# Run Linter against code base #
################################
- name: Lint Code Base
uses: super-linter/super-linter/slim@v7
env:
VALIDATE_ALL_CODEBASE: true
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# These are the validation we disable atm
# Temporarily
VALIDATE_CHECKOV: false
VALIDATE_JSON_PRETTIER: false
VALIDATE_KUBERNETES_KUBECONFORM: false
VALIDATE_MARKDOWN: false
VALIDATE_MARKDOWN_PRETTIER: false
VALIDATE_YAML: false
VALIDATE_YAML_PRETTIER: false
jobs:
lint:
uses: validatedpatterns/github-actions-library/.github/workflows/superlinter.yml@v1
with:
sl_env: |
VALIDATE_BIOME_FORMAT=false
16 changes: 11 additions & 5 deletions .github/workflows/update-helm-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,25 @@
#

name: vp-patterns/update-helm-repo

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- "v[0-9]+.[0-9]+.[0-9]+"

permissions:
contents: read

jobs:
helmlint:
uses: validatedpatterns/helm-charts/.github/workflows/helmlint.yml@workflow-stable
uses: validatedpatterns/helm-charts/.github/workflows/helmlint.yml@69fd10ef9199eecd093fca715ae9765c78750efc # October 6, 2025
permissions:
contents: read

update-helm-repo:
needs: [helmlint]
uses: validatedpatterns/helm-charts/.github/workflows/update-helm-repo.yml@workflow-stable
permissions: read-all
secrets: inherit
uses: validatedpatterns/helm-charts/.github/workflows/update-helm-repo.yml@69fd10ef9199eecd093fca715ae9765c78750efc # October 6, 2025
permissions:
contents: read
secrets:
CHARTS_REPOS_TOKEN: ${{ secrets.CHARTS_REPOS_TOKEN }}
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
description: A Helm chart to serve as the Validated Patterns Template
keywords:
- pattern
- pattern
name: vp-template
version: 0.0.1
9 changes: 2 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,7 @@ test: helm-lint helm-unittest ## Runs helm lint and unit tests
super-linter: ## Runs super linter locally
rm -rf .mypy_cache
podman run -e RUN_LOCAL=true -e USE_FIND_ALGORITHM=true \
-e VALIDATE_JSON_PRETTIER=false \
-e VALIDATE_KUBERNETES_KUBECONFORM=false \
-e VALIDATE_MARKDOWN=false \
-e VALIDATE_MARKDOWN_PRETTIER=false \
-e VALIDATE_YAML_PRETTIER=false \
-e VALIDATE_YAML=false \
-e VALIDATE_BIOME_FORMAT=false \
-v $(PWD):/tmp/lint:rw,z \
-w /tmp/lint \
ghcr.io/super-linter/super-linter:slim-v7
ghcr.io/super-linter/super-linter:slim-v8
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ A Helm chart to serve as the Validated Patterns Template

This chart is used to serve as the template for Validated Patterns Charts

### Notable changes
## Notable changes

---

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
2 changes: 1 addition & 1 deletion README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

This chart is used to serve as the template for Validated Patterns Charts

### Notable changes
## Notable changes

{{ template "chart.homepageLine" . }}

Expand Down