Skip to content

Commit d266399

Browse files
update chart to use 1.3.7 patchmon
1 parent fbe9b1a commit d266399

File tree

4 files changed

+46
-12
lines changed

4 files changed

+46
-12
lines changed

.github/workflows/release-chart.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,29 @@ jobs:
4141
exit 1
4242
fi
4343
44-
echo "Version verification passed"
44+
echo "Chart version verification passed"
45+
46+
- name: Verify appVersion matches image tags
47+
run: |
48+
APP_VERSION=$(grep '^appVersion:' Chart.yaml | awk '{print $2}' | tr -d '"v')
49+
BACKEND_TAG=$(grep -A 5 '^backend:' values.yaml | grep 'tag:' | awk '{print $2}' | tr -d '"')
50+
FRONTEND_TAG=$(grep -A 5 '^frontend:' values.yaml | grep 'tag:' | awk '{print $2}' | tr -d '"')
51+
52+
echo "Chart.yaml appVersion: $APP_VERSION"
53+
echo "Backend image tag: $BACKEND_TAG"
54+
echo "Frontend image tag: $FRONTEND_TAG"
55+
56+
if [ "$APP_VERSION" != "$BACKEND_TAG" ]; then
57+
echo "ERROR: appVersion ($APP_VERSION) does not match backend tag ($BACKEND_TAG)"
58+
exit 1
59+
fi
60+
61+
if [ "$APP_VERSION" != "$FRONTEND_TAG" ]; then
62+
echo "ERROR: appVersion ($APP_VERSION) does not match frontend tag ($FRONTEND_TAG)"
63+
exit 1
64+
fi
65+
66+
echo "appVersion verification passed"
4567
4668
- name: Set up Helm
4769
uses: azure/setup-helm@v4

Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: patchmon
33
description: A Helm chart for PatchMon - Linux Patch Monitoring and Management System
44
type: application
5-
version: 1.0.0
6-
appVersion: "v1.3.6"
5+
version: 1.1.0
6+
appVersion: "v1.3.7"
77
keywords:
88
- patchmon
99
- monitoring

README.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,30 @@ A production-ready Helm chart for deploying PatchMon, a comprehensive Linux patc
2828
### Quick Start
2929

3030
```bash
31-
# TODO
32-
# Add the repository (when published)
33-
# helm repo add patchmon https://your-repo-url
34-
# helm repo update
35-
36-
# Install with default values
37-
helm install patchmon ./patchmon -n patchmon --create-namespace
31+
# Install from OCI registry with default values (latest version)
32+
helm install patchmon oci://ghcr.io/ruthlessbeat200/charts/patchmon \
33+
--namespace patchmon \
34+
--create-namespace
3835

3936
# Install with custom values
37+
helm install patchmon oci://ghcr.io/ruthlessbeat200/charts/patchmon \
38+
--namespace patchmon \
39+
--create-namespace \
40+
--values custom-values.yaml
41+
42+
# Or install a specific version
43+
helm install patchmon oci://ghcr.io/ruthlessbeat200/charts/patchmon \
44+
--version 1.1.0 \
45+
--namespace patchmon \
46+
--create-namespace
47+
48+
# Pull the chart first, then install
49+
helm pull oci://ghcr.io/ruthlessbeat200/charts/patchmon --untar
4050
helm install patchmon ./patchmon -n patchmon --create-namespace -f custom-values.yaml
4151
```
4252

53+
**Note**: Browse available versions at https://github.com/RuTHlessBEat200/PatchMon-helm/releases
54+
4355
### Basic Configuration
4456

4557
Create a `values.yaml` file with your configuration:

values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ backend:
205205
image:
206206
registry: ghcr.io
207207
repository: patchmon/patchmon-backend
208-
tag: 1.3.6
208+
tag: 1.3.7
209209
pullPolicy: Always
210210

211211
# Deployment configuration
@@ -341,7 +341,7 @@ frontend:
341341
image:
342342
registry: ghcr.io
343343
repository: patchmon/patchmon-frontend
344-
tag: 1.3.6
344+
tag: 1.3.7
345345
pullPolicy: IfNotPresent
346346

347347
# Deployment configuration

0 commit comments

Comments
 (0)