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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ Welcome to the Helm repositories index! Explore the available charts below:
|------------------|---------------------------------------------------|-------------------------------|
| **klogs-viewer** | [View Docs](./charts/klogs-viewer/README.md) | KLogs Viewer is a lightweight, web-based application that allows you to view and download Kubernetes pod logs directly in your browser. Designed for developers and operators who need quick access to container logs without using the command line. |
| **kpods-monitor** | [View Docs](./charts/kpods-monitor/README.md) | KPods Monitor is a real-time monitoring tool for Kubernetes pods. It provides a user-friendly interface to view pod status, resource usage, and events. |

| **release-tracker** | [View Docs](./charts/release-tracker/README.md) | Release Tracker is a comprehensive Kubernetes application that tracks container image deployments across namespaces, providing a modern web interface to monitor and visualize release history with real-time updates. |

**Stay tuned for more charts!**
2 changes: 1 addition & 1 deletion charts/klogs-viewer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.12
version: 0.1.13

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
8 changes: 4 additions & 4 deletions charts/klogs-viewer/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ default "klogs-viewer" .Values.rbac.clusterRole.name }}
name: {{ include "chart.fullname" . }}
labels:
{{- include "chart.labels" . | nindent 4 }}
rules:
Expand All @@ -14,15 +14,15 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: {{ default "klogs-viewer" .Values.rbac.clusterRole.name }}-{{ include "chart.namespace" . }}
name: {{ include "chart.fullname" . }}-{{ include "chart.namespace" . }}
labels:
{{- include "chart.labels" . | nindent 4 }}
subjects:
- kind: ServiceAccount
name: {{ default "klogs-viewer" .Values.serviceAccount.name }}
name: {{ include "chart.serviceAccountName" . }}
namespace: {{ include "chart.namespace" . }}
roleRef:
kind: ClusterRole
name: {{ default "klogs-viewer" .Values.rbac.clusterRole.name }}
name: {{ include "chart.fullname" . }}
apiGroup: rbac.authorization.k8s.io
{{- end }}
4 changes: 2 additions & 2 deletions charts/klogs-viewer/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: klogs-viewer
name: {{ include "chart.fullname" . }}
namespace: {{ include "chart.namespace" . }}
labels:
{{- include "chart.labels" . | nindent 4 }}
Expand Down Expand Up @@ -55,7 +55,7 @@ spec:
- name: TOKEN
valueFrom:
secretKeyRef:
name: klogs-viewer
name: {{ include "chart.fullname" . }}
key: token
{{- end }}
{{- if .Values.application.replaceLabel }}
Expand Down
8 changes: 5 additions & 3 deletions charts/klogs-viewer/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "chart.fullname" . -}}
{{- $svcPort := .Values.service.port -}}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: klogs-viewer
name: {{ $fullName }}
namespace: {{ include "chart.namespace" . }}
labels:
{{- include "chart.labels" . | nindent 4 }}
Expand Down Expand Up @@ -34,9 +36,9 @@ spec:
pathType: {{ .pathType }}
backend:
service:
name: {{ default "klogs-viewer" $.Values.service.name }}
name: {{ $fullName }}
port:
number: {{ $.Values.service.port }}
number: {{ $svcPort }}
{{- end }}
{{- end }}
{{- end }}
8 changes: 4 additions & 4 deletions charts/klogs-viewer/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: {{ default "klogs-viewer" .Values.rbac.role.name }}
name: {{ include "chart.fullname" . }}
namespace: {{ include "chart.namespace" . }}
labels:
{{- include "chart.labels" . | nindent 4 }}
Expand All @@ -15,16 +15,16 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: {{ default "klogs-viewer" .Values.rbac.role.name }}
name: {{ include "chart.fullname" . }}
namespace: {{ include "chart.namespace" . }}
labels:
{{- include "chart.labels" . | nindent 4 }}
subjects:
- kind: ServiceAccount
name: {{ default "klogs-viewer" .Values.serviceAccount.name }}
name: {{ include "chart.serviceAccountName" . }}
namespace: {{ include "chart.namespace" . }}
roleRef:
kind: Role
name: {{ default "klogs-viewer" .Values.rbac.role.name }}
name: {{ include "chart.fullname" . }}
apiGroup: rbac.authorization.k8s.io
{{- end }}
2 changes: 1 addition & 1 deletion charts/klogs-viewer/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v1
kind: Secret
metadata:
name: klogs-viewer
name: {{ include "chart.fullname" . }}
namespace: {{ include "chart.namespace" . }}
labels:
{{- include "chart.labels" . | nindent 4 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/klogs-viewer/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: {{ default "klogs-viewer" .Values.service.name }}
name: {{ include "chart.fullname" . }}
namespace: {{ include "chart.namespace" . }}
labels:
{{- include "chart.labels" . | nindent 4 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/klogs-viewer/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ default "klogs-viewer" .Values.serviceAccount.name }}
name: {{ include "chart.serviceAccountName" . }}
namespace: {{ include "chart.namespace" . }}
labels:
{{- include "chart.labels" . | nindent 4 }}
Expand Down
4 changes: 2 additions & 2 deletions charts/kpods-monitor/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: kpods-monitor
description: A Helm chart for Kubernetes Pod Monitor
type: application
version: 0.1.2
appVersion: "0.1.2"
version: 0.2.5
appVersion: "0.2.2"
keywords:
- kubernetes
- monitoring
Expand Down
3 changes: 1 addition & 2 deletions charts/kpods-monitor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ The following table lists the configurable parameters of the Kubernetes Pod Moni
| `imagePullSecrets` | Image pull secrets | `[]` |
| `nameOverride` | Override the name of the chart | `""` |
| `fullnameOverride` | Override the full name of the chart | `""` |
| `namespace` | Namespace for the application | `""` |
| `serviceAccount.create` | Create a service account | `true` |
| `serviceAccount.name` | The name of the service account | `""` |
| `podAnnotations` | Annotations for the pods | `{}` |
Expand All @@ -54,7 +55,6 @@ The following table lists the configurable parameters of the Kubernetes Pod Moni
| Parameter | Description | Default |
|--------------------------------------------|-------------------------------------------------|--------------------------------|
| `config.general.name` | Dashboard name | `"Kubernetes Pod Monitor"` |
| `config.general.refreshInterval` | Data refresh interval in seconds | `30` |
| `config.general.port` | Application port | `8080` |
| `config.general.debug` | Enable debug logging | `false` |
| `config.general.basePath` | Base path for serving the application | `""` |
Expand All @@ -67,7 +67,6 @@ The following table lists the configurable parameters of the Kubernetes Pod Moni
| `config.cluster.kubeConfigPath` | Path to kubeconfig file | `""` |
| `config.applications` | Applications to monitor | See `values.yaml` |


## Example: Monitoring Custom Applications

To monitor your own applications, modify the `config.applications` section in your `values.yaml`:
Expand Down
12 changes: 12 additions & 0 deletions charts/kpods-monitor/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,15 @@ Create the name of the service account to use
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}


{{/*
Get the namespace for resources
*/}}
{{- define "chart.namespace" -}}
{{- if .Values.namespace }}
{{- .Values.namespace }}
{{- else }}
{{- .Release.Namespace }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/kpods-monitor/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "kpods-monitor.fullname" . }}-config
namespace: {{ include "chart.namespace" . }}
labels:
{{- include "kpods-monitor.labels" . | nindent 4 }}
data:
config.yaml: |
general:
name: {{ .Values.config.general.name | quote }}
refreshInterval: {{ .Values.config.general.refreshInterval }}
port: {{ .Values.config.general.port }}
debug: {{ .Values.config.general.debug }}
basePath: {{ default "" .Values.config.general.basePath }}
Expand Down
1 change: 1 addition & 0 deletions charts/kpods-monitor/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "kpods-monitor.fullname" . }}
namespace: {{ include "chart.namespace" . }}
labels:
{{- include "kpods-monitor.labels" . | nindent 4 }}
spec:
Expand Down
3 changes: 3 additions & 0 deletions charts/kpods-monitor/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ $fullName }}
namespace: {{ include "chart.namespace" . }}
labels:
{{- include "kpods-monitor.labels" . | nindent 4 }}
{{- with .Values.ingress.annotations }}
Expand All @@ -22,7 +23,9 @@ spec:
{{- range .hosts }}
- {{ . | quote }}
{{- end }}
{{- if .secretName }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
{{- end }}
rules:
Expand Down
2 changes: 1 addition & 1 deletion charts/kpods-monitor/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ roleRef:
subjects:
- kind: ServiceAccount
name: {{ include "kpods-monitor.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
namespace: {{ include "chart.namespace" . }}
{{- end }}
1 change: 1 addition & 0 deletions charts/kpods-monitor/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ include "kpods-monitor.fullname" . }}
namespace: {{ include "chart.namespace" . }}
labels:
{{- include "kpods-monitor.labels" . | nindent 4 }}
spec:
Expand Down
1 change: 1 addition & 0 deletions charts/kpods-monitor/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "kpods-monitor.serviceAccountName" . }}
namespace: {{ include "chart.namespace" . }}
labels:
{{- include "kpods-monitor.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
Expand Down
2 changes: 1 addition & 1 deletion charts/kpods-monitor/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ image:
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
namespace: ""

serviceAccount:
# Specifies whether a service account should be created
Expand Down Expand Up @@ -76,7 +77,6 @@ affinity: {}
config:
general:
name: "Kubernetes Pod Monitor Dashboard"
refreshInterval: 30
port: 8080
debug: false
# Base path for serving the application (e.g., "/monitor")
Expand Down
21 changes: 21 additions & 0 deletions charts/release-tracker/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Exclude common VCS directories
.git/
.gitignore
.bzr/
.hg/
.svn/

# IDEs and editors
*.swp
*.tmp
*.bak
.idea/
.vscode/

# OS files
.DS_Store
Thumbs.db

# Other
*.tgz

19 changes: 19 additions & 0 deletions charts/release-tracker/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: v2
name: release-tracker
description: Helm chart for the Release Tracker application
home: https://github.com/your-org/release-tracker
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/helm/icon/color/helm-icon-color.png
type: application
version: 0.1.0
appVersion: "0.1.0"
keywords:
- kubernetes
- releases
- tracking
- dashboard
sources:
- https://github.com/your-org/release-tracker
maintainers:
- name: Maintainers
email: devnull@example.com

Loading