Skip to content

Commit

Permalink
feat: Added ConfigMap generator
Browse files Browse the repository at this point in the history
  • Loading branch information
igorhrcek committed May 14, 2023
1 parent 58ac026 commit 305e2dd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
- id: pre-commit-generate-manifests
name: Generate Configmap Manifests
entry: ops/generate-grafana-manifests
language: python
description: Generates ConfigMap manifests from source files
always_run: true
stages: [commit-msg]
3 changes: 3 additions & 0 deletions ops/generate-grafana-manifests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

python parser.py

0 comments on commit 305e2dd

Please sign in to comment.